:root {
  --text: #fffaf2;
  --text-strong: #ffffff;
  --text-soft: rgba(255, 250, 242, 0.78);
  --ink: #22150f;
  --glass: rgba(255, 255, 255, 0.16);
  --glass-strong: rgba(255, 255, 255, 0.24);
  --glass-line: rgba(255, 255, 255, 0.42);
  --glass-shadow: 0 24px 80px rgba(26, 18, 12, 0.22);
  --accent: #9c8cff;
  --accent-pink: #ff88c4;
  --accent-gold: #ffd05f;
  --accent-blue: #7bc8ff;
  --focus: rgba(255, 255, 255, 0.88);
  --ambient-color: #b89b7b;
  --ambient-rgb: 184 155 123;
  --ambient-image: url("/background/peiban-mobile.webp?v=20260611-bg-clarity-1");
  --max: 1840px;
}

html[data-active-panel="companion"] {
  --ambient-color: #b99677;
  --ambient-rgb: 185 150 119;
  --ambient-image: url("/background/peiban-mobile.webp?v=20260611-bg-clarity-1");
}

html[data-active-panel="cute"] {
  --ambient-color: #604d72;
  --ambient-rgb: 96 77 114;
  --ambient-image: url("/background/keai-mobile.webp?v=20260611-bg-clarity-1");
}

html[data-active-panel="create"] {
  --ambient-color: #b98556;
  --ambient-rgb: 185 133 86;
  --ambient-image: url("/background/chuangzao-mobile.webp?v=20260611-chuangzao-2");
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--ambient-color);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -12%, rgb(var(--ambient-rgb) / 0.6), transparent 46%),
    linear-gradient(180deg, rgb(var(--ambient-rgb) / 0.94), var(--ambient-color));
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, sans-serif;
  line-height: 1.5;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

img,
video,
svg {
  display: block;
}

img,
video {
  max-width: 100%;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgb(var(--ambient-rgb) / 0.26), transparent 52%),
    #17120f;
}

.site-header {
  position: fixed;
  top: clamp(18px, 2.5vw, 42px);
  left: clamp(18px, 3vw, 54px);
  right: clamp(18px, 3vw, 54px);
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) auto minmax(178px, 0.9fr);
  align-items: center;
  gap: 24px;
  pointer-events: none;
}

.glass-nav,
.download-pill,
.pet-status-glass,
.floating-chat,
.role-strip span,
.method-card,
.creator-toolkit-card,
.toast {
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.09)),
    rgba(255, 255, 255, 0.09);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
}

.brand {
  pointer-events: auto;
  justify-self: start;
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.brand-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.08;
}

.brand-copy strong {
  color: var(--text-strong);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.brand-copy span {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.glass-nav {
  pointer-events: auto;
  justify-self: center;
  display: grid;
  grid-template-columns: repeat(4, minmax(96px, 1fr));
  gap: 4px;
  min-height: 60px;
  padding: 5px;
  border-radius: 999px;
}

.nav-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 92px;
  padding: 0 18px 7px;
  border: 0;
  border-radius: 999px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease, background 180ms ease;
}

.nav-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: translateX(-50%) scale(0.45);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-tab:hover,
.nav-tab.is-active {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.13);
}

.nav-tab.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.download-pill {
  pointer-events: auto;
  justify-self: end;
  min-width: 190px;
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 24px;
  border-radius: 999px;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 850;
  transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.download-pill:hover,
.primary-button:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.13)),
    rgba(255, 255, 255, 0.12);
}

.nav-tab:active,
.download-pill:active,
.primary-button:active {
  transform: scale(0.98);
}

.brand:focus-visible,
.nav-tab:focus-visible,
.download-pill:focus-visible,
.primary-button:focus-visible,
.scene-footer a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.experience-stage {
  position: relative;
  min-height: 100dvh;
  isolation: isolate;
}

.scene-panel {
  position: absolute;
  inset: 0;
  min-height: 100dvh;
  padding: clamp(150px, 15vh, 230px) clamp(48px, 6.6vw, 132px) clamp(120px, 14vh, 180px);
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 420ms ease, transform 600ms ease;
}

.scene-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.scene-panel[hidden] {
  display: none;
}

.scene-video,
.scene-fallback {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scene-video + .scene-fallback {
  z-index: -4;
}

.scene-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 11, 9, 0.42) 0%, rgba(14, 11, 9, 0.18) 35%, rgba(14, 11, 9, 0.04) 68%, rgba(14, 11, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(14, 11, 9, 0.28) 0%, rgba(14, 11, 9, 0) 42%, rgba(14, 11, 9, 0.08) 100%);
}

.cute-scene .scene-shade {
  background:
    linear-gradient(90deg, rgba(17, 18, 34, 0.38) 0%, rgba(42, 32, 55, 0.14) 44%, rgba(44, 28, 44, 0.04) 72%, rgba(24, 18, 26, 0.08) 100%),
    linear-gradient(0deg, rgba(17, 18, 34, 0.24) 0%, rgba(17, 18, 34, 0) 48%, rgba(17, 18, 34, 0.06) 100%);
}

.create-bg {
  object-position: center right;
}

.create-scene .scene-shade {
  background:
    linear-gradient(90deg, rgba(31, 22, 15, 0.42) 0%, rgba(31, 22, 15, 0.16) 38%, rgba(68, 49, 28, 0.08) 100%),
    linear-gradient(0deg, rgba(31, 22, 15, 0.28) 0%, rgba(31, 22, 15, 0.02) 48%, rgba(31, 22, 15, 0.08) 100%);
}

.hero-copy {
  width: min(640px, 52vw);
  animation: copy-in 560ms ease both;
}

.compact-copy {
  width: min(620px, 48vw);
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(44px, 4.5vw, 86px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.hero-copy h1 span {
  color: #aaa0ff;
}

.cute-scene .hero-copy h1 span {
  color: #ff97cf;
}

.create-scene .hero-copy h1 span {
  color: #ffd66f;
}

.hero-lede {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: clamp(17px, 1.25vw, 22px);
  line-height: 1.82;
  font-weight: 650;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

.primary-button {
  width: min(480px, 100%);
  min-height: 84px;
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  color: var(--text-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.11)),
    rgba(255, 255, 255, 0.12);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  font-size: 28px;
  font-weight: 900;
  transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.icon-download {
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-note {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.trust-line {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 750;
}

.trust-avatar-stack {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  margin-right: clamp(10px, 1.2vw, 18px);
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.trust-avatar {
  width: clamp(38px, 3vw, 54px);
  aspect-ratio: 1;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
  object-fit: cover;
}

.trust-avatar + .trust-avatar {
  margin-left: clamp(-18px, -1vw, -10px);
}

.trust-copy {
  min-width: 0;
}

.trust-copy [data-trust-count] {
  color: #aaa0ff;
  font-weight: 900;
}

.floating-chat {
  position: absolute;
  right: clamp(220px, 22vw, 520px);
  top: 38%;
  z-index: 2;
  padding: 18px 28px;
  border-radius: 24px 24px 24px 6px;
  color: var(--text-strong);
  font-size: 17px;
  font-weight: 800;
  animation: float-soft 4.8s ease-in-out infinite;
}

.floating-heart {
  position: absolute;
  right: clamp(420px, 31vw, 710px);
  top: 24%;
  width: 70px;
  height: 70px;
  border: 1px solid var(--glass-line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1)),
    rgba(255, 255, 255, 0.12);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  animation: float-soft 5.2s ease-in-out infinite reverse;
}

.floating-heart::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #8c80ff, #d6d1ff);
  clip-path: path("M15 27 C7 20 3 16 3 10 C3 6 6 3 10 3 C12 3 14 4 15 6 C16 4 18 3 20 3 C24 3 27 6 27 10 C27 16 23 20 15 27 Z");
}

.floating-heart::before {
  margin: 20px auto 0;
  filter: drop-shadow(0 10px 18px rgba(158, 143, 255, 0.48));
}

.pet-status-glass {
  position: absolute;
  right: clamp(58px, 8vw, 160px);
  top: 37%;
  z-index: 2;
  width: min(360px, 32vw);
  padding: 22px 24px;
  border-radius: 28px;
}

.pet-status-glass strong {
  display: block;
  color: var(--text-strong);
  font-size: 28px;
  font-weight: 950;
}

.pet-status-glass span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 700;
}

.role-strip {
  position: absolute;
  right: clamp(48px, 7vw, 132px);
  top: 43%;
  display: grid;
  gap: 14px;
}

.role-strip span {
  min-width: 190px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--text-strong);
  font-size: 18px;
  font-weight: 850;
}

.creation-stack {
  position: absolute;
  right: clamp(48px, 6.6vw, 132px);
  top: 50%;
  width: min(660px, 45vw);
  display: grid;
  gap: 14px;
  transform: translateY(-42%);
}

.creation-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.method-card {
  --method-number-row: 26px;
  --method-copy-row: 92px;
  min-height: 250px;
  padding: 26px 24px 28px;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(var(--method-number-row), auto) 1fr var(--method-copy-row);
  gap: 0;
}

.method-number {
  display: inline-flex;
  align-self: start;
  min-height: 26px;
  align-items: center;
  color: rgba(255, 242, 216, 0.76);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.method-card h2 {
  align-self: end;
  min-width: 0;
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(24px, 1.65vw, 28px);
  line-height: 1.08;
  font-weight: 950;
  white-space: nowrap;
  overflow-wrap: normal;
  text-wrap: normal;
}

.method-card p {
  align-self: start;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1vw, 16px);
  line-height: 1.72;
  font-weight: 700;
  text-wrap: pretty;
}

.method-card-link {
  color: var(--text-strong);
  cursor: pointer;
  transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.method-card-link:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.13)),
    rgba(255, 255, 255, 0.13);
}

.method-card-link:active {
  transform: translateY(-1px) scale(0.99);
}

.method-card-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.creator-toolkit-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 16px;
  padding: 18px 22px;
  border-radius: 24px;
  color: var(--text-strong);
  transition: transform 170ms ease, background 170ms ease, box-shadow 170ms ease;
}

.creator-toolkit-card span {
  grid-row: 1 / span 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffd66f;
  background: rgba(255, 214, 111, 0.16);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.creator-toolkit-card strong {
  min-width: 0;
  font-size: clamp(20px, 1.35vw, 24px);
  line-height: 1.12;
  font-weight: 950;
}

.creator-toolkit-card em {
  min-width: 0;
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
  font-size: 14px;
  line-height: 1.42;
  font-weight: 750;
}

.creator-toolkit-card:hover {
  transform: translateY(-3px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.13)),
    rgba(255, 255, 255, 0.13);
}

.creator-toolkit-card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.scene-footer {
  position: fixed;
  right: clamp(24px, 4.5vw, 88px);
  bottom: 18px;
  z-index: 26;
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  box-shadow: none;
  text-shadow: 0 2px 10px rgba(26, 18, 12, 0.28);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 13px;
  font-weight: 750;
}

.scene-footer a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 2px;
  opacity: 0.86;
  transition: opacity 160ms ease, transform 160ms ease;
}

.scene-footer a:hover {
  opacity: 1;
}

.scene-footer a,
.scene-footer span {
  white-space: nowrap;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  max-width: min(440px, calc(100vw - 32px));
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--text-strong);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 14px;
  font-weight: 800;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.legacy-entry {
  width: min(calc(100% - 40px), 680px);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  color: #2b211a;
}

.legacy-entry h1,
.legacy-entry p {
  margin: 0;
}

.legacy-entry a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: #2b211a;
  font-weight: 850;
}

.vibe-page {
  min-height: 100dvh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(32, 22, 15, 0.62), rgba(32, 22, 15, 0.9)),
    url("/background/chuangzao-2048.webp?v=20260611-chuangzao-2") center / cover fixed,
    #17120f;
}

.vibe-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(20, 13, 9, 0.64) 0%, rgba(66, 44, 25, 0.34) 48%, rgba(20, 13, 9, 0.56) 100%),
    linear-gradient(180deg, rgba(255, 208, 95, 0.13), rgba(34, 21, 15, 0.5));
}

.vibe-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), 1180px);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 96px);
}

.vibe-hero {
  min-height: min(720px, 84dvh);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.vibe-hero-copy {
  min-width: 0;
}

.vibe-brand {
  margin-bottom: clamp(42px, 8vh, 96px);
}

.vibe-kicker,
.vibe-section-kicker {
  margin: 0 0 12px;
  color: #ffd66f;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vibe-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text-strong);
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow: 0 20px 54px rgba(0, 0, 0, 0.32);
}

.vibe-lede {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.72;
  font-weight: 700;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.vibe-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.vibe-anchor-nav a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: var(--text-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(18px) saturate(1.18);
  -webkit-backdrop-filter: blur(18px) saturate(1.18);
  font-size: 15px;
  font-weight: 850;
  transition: transform 170ms ease, background 170ms ease;
}

.vibe-anchor-nav a:hover {
  transform: translateY(-2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.12);
}

.vibe-anchor-nav a:focus-visible,
.vibe-code-block:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.vibe-preview-card,
.vibe-section,
.vibe-step-card,
.vibe-prepare-card,
.vibe-safety-card {
  border: 1px solid var(--glass-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--glass-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
}

.vibe-preview-card {
  align-self: center;
  min-height: 420px;
  display: grid;
  grid-template-rows: auto minmax(118px, 1fr) auto;
  align-content: stretch;
  gap: 24px;
  padding: clamp(24px, 3.6vw, 38px);
  border-radius: 28px;
}

.vibe-preview-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.vibe-preview-topline strong {
  color: #ffd66f;
}

.vibe-preview-summary {
  align-self: center;
  display: grid;
  gap: 10px;
}

.vibe-preview-summary div {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(72px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.vibe-preview-summary span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 850;
}

.vibe-preview-summary strong {
  min-width: 0;
  color: var(--text-strong);
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.vibe-mini-flow {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  counter-reset: vibe-flow;
}

.vibe-mini-flow li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  font-weight: 800;
}

.vibe-mini-flow li::before {
  counter-increment: vibe-flow;
  content: counter(vibe-flow);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #2b1b10;
  background: #ffd66f;
  font-size: 13px;
  font-weight: 950;
}

.vibe-section {
  scroll-margin-top: 24px;
  margin-top: 22px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
}

.vibe-wide-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
}

.vibe-section-copy h2,
.vibe-step-card h3,
.vibe-safety-card h3 {
  margin: 0;
  color: var(--text-strong);
  font-weight: 950;
  letter-spacing: 0;
}

.vibe-section-copy h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.12;
}

.vibe-section-copy p,
.vibe-step-card p,
.vibe-safety-card p,
.vibe-api-list {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 700;
}

.vibe-section-copy p {
  max-width: 58ch;
  margin: 14px 0 0;
}

.vibe-code-block {
  max-width: 100%;
  margin: 0;
  overflow-x: auto;
  white-space: pre;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  color: #fff7e6;
  background: rgba(24, 15, 10, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.62;
}

.vibe-code-block code {
  display: block;
  width: max-content;
  min-width: 100%;
  padding: 20px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

.vibe-small-code {
  font-size: 13px;
}

.vibe-step-grid,
.vibe-prepare-list,
.vibe-api-grid,
.vibe-command-grid {
  display: grid;
  gap: 16px;
}

.vibe-prepare-list,
.vibe-step-grid {
  margin-top: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vibe-prepare-list {
  align-items: stretch;
}

.vibe-prepare-card,
.vibe-step-card {
  min-height: 198px;
  padding: 22px;
  border-radius: 22px;
}

.vibe-prepare-card span,
.vibe-step-card span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  color: rgba(255, 214, 111, 0.9);
  font-size: 12px;
  font-weight: 950;
}

.vibe-prepare-card h3,
.vibe-step-card h3 {
  margin-top: 22px;
  font-size: 24px;
  line-height: 1.16;
}

.vibe-prepare-card p,
.vibe-step-card p {
  margin: 12px 0 0;
  font-size: 15px;
}

.vibe-prepare-card a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 0 16px;
  border-radius: 999px;
  color: #24170f;
  background: #ffd66f;
  font-size: 14px;
  font-weight: 900;
}

.vibe-api-grid,
.vibe-command-grid {
  margin-top: 24px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.vibe-api-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.vibe-api-list li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.vibe-api-list strong {
  color: #ffd66f;
}

.vibe-safety-card {
  padding: 22px;
  border-radius: 22px;
}

.vibe-safety-card h3 {
  font-size: 24px;
}

.vibe-safety-card p {
  margin: 12px 0 16px;
}

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

@keyframes float-soft {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: minmax(180px, 0.7fr) auto minmax(160px, 0.7fr);
    gap: 16px;
  }

  .brand {
    min-height: 64px;
    padding-right: 14px;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 21px;
  }

  .glass-nav {
    grid-template-columns: repeat(4, minmax(82px, 1fr));
  }

  .nav-tab {
    min-width: 78px;
    font-size: 16px;
  }

  .download-pill {
    min-width: 166px;
    font-size: 16px;
  }

  .creation-stack {
    width: min(600px, 48vw);
  }
}

@media (max-height: 760px) and (min-width: 981px) {
  .site-header {
    top: 26px;
  }

  .scene-panel {
    padding-top: 108px;
    padding-bottom: 176px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 3.6vw, 52px);
    line-height: 1.06;
  }

  .hero-lede {
    max-width: 470px;
    margin-top: 12px;
    font-size: 16px;
    line-height: 1.55;
  }

  .primary-button {
    width: min(340px, 100%);
    min-height: 56px;
    margin-top: 16px;
    font-size: 20px;
  }

  .cta-note {
    margin-top: 8px;
    font-size: 13px;
  }

  .trust-line {
    margin-top: 10px;
    font-size: 12px;
  }
}

html.is-scaled-desktop .site-header {
  top: clamp(18px, 2vh, 30px);
  left: clamp(28px, 3.4vw, 58px);
  right: clamp(28px, 3.4vw, 58px);
  grid-template-columns: minmax(170px, 0.72fr) auto minmax(140px, 0.72fr);
  gap: 16px;
}

html.is-scaled-desktop .brand {
  min-height: 54px;
  gap: 10px;
}

html.is-scaled-desktop .brand-logo {
  width: 42px;
  height: 42px;
}

html.is-scaled-desktop .brand-copy strong {
  font-size: 20px;
}

html.is-scaled-desktop .brand-copy span {
  font-size: 12px;
}

html.is-scaled-desktop .glass-nav {
  min-height: 48px;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  padding: 2px 4px;
  border-radius: 22px;
}

html.is-scaled-desktop .nav-tab {
  min-width: 72px;
  min-height: 44px;
  padding: 0 14px 5px;
  border-radius: 18px;
  font-size: 15px;
}

html.is-scaled-desktop .nav-tab::after {
  bottom: 6px;
  width: 4px;
  height: 4px;
}

html.is-scaled-desktop .download-pill {
  min-width: 144px;
  min-height: 52px;
  padding: 0 22px;
  gap: 10px;
  border-radius: 24px;
  font-size: 15px;
}

html.is-scaled-desktop .download-pill .icon-download {
  width: 19px;
  height: 19px;
}

html.is-scaled-desktop .scene-panel {
  padding: clamp(98px, 12vh, 138px) clamp(44px, 6vw, 120px) clamp(92px, 13vh, 150px);
}

html.is-scaled-desktop .hero-copy {
  width: min(500px, 44vw);
}

html.is-scaled-desktop .compact-copy {
  width: min(480px, 42vw);
}

html.is-scaled-desktop .eyebrow {
  margin-bottom: 10px;
  font-size: 12px;
}

html.is-scaled-desktop .hero-copy h1 {
  font-size: clamp(34px, min(3.2vw, 7.2vh), 58px);
  line-height: 1.06;
}

html.is-scaled-desktop .hero-lede {
  max-width: 460px;
  margin-top: 12px;
  font-size: clamp(13px, min(1.05vw, 2.4vh), 16px);
  line-height: 1.58;
}

html.is-scaled-desktop .primary-button {
  width: min(344px, 100%);
  min-height: 52px;
  margin-top: 16px;
  gap: 10px;
  font-size: 20px;
}

html.is-scaled-desktop .primary-button .icon-download {
  width: 20px;
  height: 20px;
}

html.is-scaled-desktop .cta-note {
  margin-top: 8px;
  font-size: 13px;
}

html.is-scaled-desktop .trust-line {
  margin-top: 10px;
  font-size: 12px;
}

html.is-scaled-desktop .floating-chat {
  right: clamp(170px, 20vw, 430px);
  top: 37%;
  padding: 11px 18px;
  border-radius: 18px 18px 18px 6px;
  font-size: 13px;
}

html.is-scaled-desktop .floating-heart {
  right: clamp(310px, 29vw, 600px);
  top: 25%;
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

html.is-scaled-desktop .floating-heart::before {
  margin-top: 14px;
  width: 26px;
  height: 26px;
}

html.is-scaled-desktop .pet-status-glass {
  width: min(280px, 28vw);
  padding: 16px 18px;
  border-radius: 22px;
}

html.is-scaled-desktop .pet-status-glass strong {
  font-size: 21px;
}

html.is-scaled-desktop .pet-status-glass span {
  font-size: 12px;
}

html.is-scaled-desktop .role-strip {
  right: clamp(36px, 5.5vw, 98px);
  gap: 9px;
}

html.is-scaled-desktop .role-strip span {
  min-width: 138px;
  min-height: 40px;
  font-size: 14px;
}

html.is-scaled-desktop .creation-stack {
  right: clamp(40px, 5vw, 100px);
  width: min(500px, 40vw);
  gap: 10px;
  transform: translateY(-38%);
}

html.is-scaled-desktop .method-card {
  --method-number-row: 24px;
  --method-copy-row: 68px;
  min-height: 188px;
  padding: 18px 16px 20px;
  border-radius: 20px;
}

html.is-scaled-desktop .method-number {
  min-height: 24px;
  font-size: 11px;
}

html.is-scaled-desktop .method-card h2 {
  font-size: clamp(18px, 1.65vw, 23px);
}

html.is-scaled-desktop .method-card p {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.58;
}

html.is-scaled-desktop .scene-footer {
  right: clamp(18px, 3.4vw, 64px);
  bottom: 12px;
  max-width: calc(100vw - 36px);
  gap: 8px;
  font-size: 11px;
}

@media (pointer: fine) and (min-width: 981px) and (max-width: 1180px) {
  html.is-scaled-desktop .floating-chat,
  html.is-scaled-desktop .floating-heart {
    display: none;
  }

  html.is-scaled-desktop .scene-footer {
    left: 18px;
    right: 18px;
    justify-content: center;
    flex-wrap: wrap;
    line-height: 1.1;
  }
}

@media (max-width: 980px) {
  .vibe-shell {
    width: min(calc(100% - 36px), 720px);
    padding-top: max(24px, calc(env(safe-area-inset-top) + 24px));
  }

  .vibe-hero,
  .vibe-wide-section,
  .vibe-api-grid,
  .vibe-command-grid {
    grid-template-columns: 1fr;
  }

  .vibe-hero {
    min-height: 0;
    align-items: start;
    gap: 22px;
  }

  .vibe-brand {
    margin-bottom: 46px;
  }

  .vibe-preview-card {
    min-height: 0;
  }

  .vibe-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-shell {
    min-height: 100dvh;
    overflow-y: auto;
  }

  .site-header {
    position: fixed;
    top: max(14px, calc(env(safe-area-inset-top) + 14px));
    left: max(14px, calc(env(safe-area-inset-left) + 14px));
    right: auto;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
    grid-template-columns: minmax(0, 1fr) 58px;
    align-items: start;
  }

  .site-header > * {
    min-width: 0;
  }

  .brand {
    min-height: 58px;
    border-radius: 22px;
  }

  .glass-nav {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-height: 52px;
    order: 3;
    justify-self: stretch;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 22px;
  }

  .nav-tab {
    min-width: 0;
    min-height: 44px;
    padding-right: 8px;
    padding-left: 8px;
    font-size: 15px;
  }

  .nav-tab::after {
    bottom: 6px;
    width: 4px;
    height: 4px;
  }

  .download-pill {
    width: 58px;
    min-width: 58px;
    min-height: 58px;
    padding: 0;
    border-radius: 22px;
  }

  .download-pill span {
    display: none;
  }

  .scene-panel {
    position: relative;
    min-height: 100dvh;
    padding: calc(184px + env(safe-area-inset-top)) 24px calc(96px + env(safe-area-inset-bottom));
  }

  .hero-copy,
  .compact-copy,
  .create-copy {
    width: min(640px, 100%);
  }

  .floating-chat,
  .floating-heart,
  .pet-status-glass,
  .role-strip {
    display: none;
  }

  .creation-stack {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: 34px;
    transform: none;
  }

  .creation-methods {
    grid-template-columns: 1fr;
  }

  .method-card {
    min-height: 182px;
    padding: 24px;
    gap: 22px;
  }

  .method-card h2 {
    font-size: 30px;
  }

  .method-card p {
    max-width: 18em;
    margin-top: 12px;
    font-size: 15px;
  }

  .scene-footer {
    left: 14px;
    right: 14px;
    bottom: 12px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 10px;
    min-height: 38px;
    overflow: visible;
    line-height: 1.12;
  }

  .scene-footer > span {
    display: none;
  }
}

@media (max-width: 620px) {
  .vibe-page {
    background:
      linear-gradient(180deg, rgba(32, 22, 15, 0.54), rgba(32, 22, 15, 0.92)),
      url("/background/chuangzao-mobile.webp?v=20260611-chuangzao-2") center / cover fixed,
      #17120f;
  }

  .vibe-shell {
    width: min(calc(100% - 28px), 420px);
    padding-bottom: calc(44px + env(safe-area-inset-bottom));
  }

  .vibe-brand {
    margin-bottom: 34px;
  }

  .vibe-brand .brand-logo {
    width: 44px;
    height: 44px;
  }

  .vibe-brand .brand-copy strong {
    font-size: 20px;
  }

  .vibe-hero h1 {
    font-size: 36px;
    line-height: 1.12;
  }

  .vibe-lede {
    font-size: 16px;
    line-height: 1.65;
  }

  .vibe-anchor-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vibe-anchor-nav a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 14px;
  }

  .vibe-preview-card,
  .vibe-section {
    border-radius: 22px;
  }

  .vibe-preview-card,
  .vibe-section,
  .vibe-step-card,
  .vibe-safety-card {
    padding: 18px;
  }

  .vibe-section-copy h2 {
    font-size: 28px;
  }

  .vibe-section-copy p,
  .vibe-api-list,
  .vibe-safety-card p {
    font-size: 15px;
  }

  .vibe-prepare-list,
  .vibe-step-grid {
    grid-template-columns: 1fr;
  }

  .vibe-prepare-card,
  .vibe-step-card {
    min-height: 0;
  }

  .vibe-prepare-card h3,
  .vibe-step-card h3,
  .vibe-safety-card h3 {
    margin-top: 10px;
    font-size: 22px;
  }

  .vibe-code-block code {
    padding: 16px;
  }

  html,
  body {
    min-height: 100%;
    background-color: var(--ambient-color);
  }

  body::before {
    content: "";
    position: fixed;
    inset: -14svh -14vw;
    z-index: 0;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgb(var(--ambient-rgb) / 0.72), rgb(var(--ambient-rgb) / 0.5)),
      var(--ambient-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    filter: blur(34px) saturate(1.16);
    transform: scale(1.06);
  }

  .app-shell {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: var(--ambient-color);
  }

  .app-shell:has(#home-panel.is-active) {
    background-image:
      linear-gradient(0deg, rgba(31, 22, 15, 0.16), rgba(31, 22, 15, 0.16)),
      url("/background/peiban-mobile.webp?v=20260611-bg-clarity-1");
  }

  .app-shell:has(#companion-panel.is-active) {
    background-image:
      linear-gradient(0deg, rgba(31, 22, 15, 0.16), rgba(31, 22, 15, 0.16)),
      url("/background/peiban-mobile.webp?v=20260611-bg-clarity-1");
  }

  .app-shell:has(#cute-panel.is-active) {
    background-image:
      linear-gradient(0deg, rgba(17, 18, 34, 0.14), rgba(17, 18, 34, 0.14)),
      url("/background/keai-mobile.webp?v=20260611-bg-clarity-1");
  }

  .app-shell:has(#create-panel.is-active) {
    background-image:
      linear-gradient(0deg, rgba(31, 22, 15, 0.16), rgba(31, 22, 15, 0.16)),
      url("/background/chuangzao-mobile.webp?v=20260611-chuangzao-2");
  }

  .site-header {
    gap: 10px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .scene-panel {
    padding: calc(154px + env(safe-area-inset-top)) max(18px, calc(env(safe-area-inset-right) + 18px)) calc(28px + env(safe-area-inset-bottom)) max(18px, calc(env(safe-area-inset-left) + 18px));
  }

  .scene-shade {
    background:
      linear-gradient(90deg, rgba(14, 11, 9, 0.34) 0%, rgba(14, 11, 9, 0.14) 48%, rgba(14, 11, 9, 0.04) 100%),
      linear-gradient(0deg, rgba(14, 11, 9, 0.02) 0%, rgba(14, 11, 9, 0) 30%, rgba(14, 11, 9, 0.05) 100%);
  }

  .cute-scene .scene-shade {
    background:
      linear-gradient(90deg, rgba(17, 18, 34, 0.32) 0%, rgba(42, 32, 55, 0.12) 52%, rgba(44, 28, 44, 0.04) 100%),
      linear-gradient(0deg, rgba(17, 18, 34, 0.02) 0%, rgba(17, 18, 34, 0) 30%, rgba(17, 18, 34, 0.04) 100%);
  }

  .create-scene .scene-shade {
    background:
      linear-gradient(90deg, rgba(31, 22, 15, 0.34) 0%, rgba(31, 22, 15, 0.13) 52%, rgba(68, 49, 28, 0.05) 100%),
      linear-gradient(0deg, rgba(31, 22, 15, 0.02) 0%, rgba(31, 22, 15, 0) 30%, rgba(31, 22, 15, 0.04) 100%);
  }

  .hero-copy h1 {
    font-size: 36px;
  }

  .hero-lede {
    font-size: 16px;
    line-height: 1.72;
  }

  .primary-button {
    min-height: 62px;
    margin-top: 24px;
    font-size: 20px;
  }

  .cta-note {
    margin-top: 8px;
    font-size: 13px;
  }

  .trust-line {
    margin-top: 10px;
    font-size: 12px;
  }

  .create-scene .eyebrow {
    margin-bottom: 10px;
  }

  .create-scene .hero-copy h1 {
    font-size: 34px;
  }

  .create-scene .hero-lede {
    max-width: 24em;
    margin-top: 14px;
  }

  .create-scene .creation-stack {
    margin-top: 0;
    gap: 8px;
  }

  .create-scene .creation-methods {
    margin-top: 22px;
    gap: 8px;
  }

  .create-scene .method-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 12px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .create-scene .creator-toolkit-card {
    min-height: 0;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 2px 12px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .create-scene .method-number {
    grid-row: 1 / span 2;
    width: 34px;
    padding: 0;
    min-height: 34px;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 214, 111, 0.18);
    font-size: 11px;
    letter-spacing: 0;
  }

  .create-scene .creator-toolkit-card span {
    grid-row: 1 / span 2;
    width: 34px;
    min-height: 34px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 214, 111, 0.18);
    font-size: 9px;
    letter-spacing: 0;
    text-align: center;
  }

  .create-scene .method-card h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.14;
  }

  .create-scene .creator-toolkit-card strong {
    margin: 0;
    font-size: 18px;
    line-height: 1.14;
  }

  .create-scene .method-card p {
    grid-column: 2;
    max-width: none;
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .create-scene .creator-toolkit-card em {
    grid-column: 2;
    max-width: none;
    margin: 4px 0 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .scene-footer {
    display: none;
  }
}

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

  .scene-video {
    display: none;
  }
}
