/* ============================================================
   ResumeDock 设计系统
   主色:靛紫 #5b4fe0 · 墨色文字 · 浅灰紫背景 · 卡片式布局
   ============================================================ */

:root {
  --ink:      #17171f;
  --ink-2:    #55555f;
  --ink-3:    #90909b;
  --line:     #e9e9f1;
  --bg:       #f6f6fa;
  --card:     #ffffff;
  --primary:      #5b4fe0;
  --primary-600:  #4a3ed0;
  --primary-100:  #efedfd;
  --primary-border: #d9d4f8;
  --success:  #16a34a;
  --danger:   #d92d20;
  --radius:    14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(23,23,40,.05), 0 2px 8px rgba(23,23,40,.04);
  --shadow-md: 0 2px 6px rgba(23,23,40,.05), 0 16px 40px -12px rgba(23,23,40,.12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
          "HarmonyOS Sans SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }  /* hidden 属性优先级高于组件 display 样式,防头像占位等场景失效 */

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.container { flex: 1; width: 100%; }

h1, h2, h3, h4 { line-height: 1.3; letter-spacing: -0.01em; }

a { color: var(--primary); }

code {
  font-family: var(--mono);
  font-size: .88em;
  background: var(--primary-100);
  color: var(--primary-600);
  padding: 2px 7px;
  border-radius: 6px;
}

/* ---------- 导航 ---------- */
.nav {
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
/* 品牌资产(Round 4 定稿):手写体简历湾 + Harbor D 锁up */
.logo-lockup { height: 34px; width: auto; flex: none; display: block; }
.logo-icon { height: 32px; width: auto; flex: none; display: block; }
.logo-icon.sm { height: 22px; }
.logo-word { height: 24px; width: auto; display: block; }
.auth-logo { height: 52px; margin-bottom: 14px; }
.empty-brand-icon { height: 56px; width: auto; margin-bottom: 8px; }
.language-switcher { position: relative; }
.language-switcher summary {
  list-style: none;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:hover,
.language-switcher[open] summary { color: var(--primary); border-color: var(--primary-border); background: var(--primary-100); }
.language-chevron { font-size: 15px; line-height: 1; transform: translateY(-1px); }
.language-menu {
  position: absolute; z-index: 60; right: 0; top: calc(100% + 8px);
  min-width: 132px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.language-menu a {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--ink-2); text-decoration: none; font-size: 13px; white-space: nowrap;
}
.language-menu a:hover, .language-menu a.active { color: var(--primary-600); background: var(--primary-100); }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.footer-brand em { font-style: normal; color: var(--primary); font-weight: 600; }
.nav-link {
  font-size: 14px;
  color: var(--ink-2);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  transition: all .18s ease;
}
.nav-link:hover { color: var(--primary); border-color: var(--primary-border); background: var(--primary-100); }
.nav-pricing-link { margin-right: 2px; }

.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮体系 ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: .01em;
  box-shadow: 0 1px 2px rgba(74,62,208,.4), 0 6px 16px -6px rgba(91,79,224,.55);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-primary:hover { background: var(--primary-600); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(74,62,208,.4), 0 10px 22px -8px rgba(91,79,224,.6); }
.btn-primary:active { transform: translateY(0); }
.btn-primary.full { width: 100%; }

.btn-lg { padding: 14px 34px; font-size: 16px; border-radius: 12px; }

.btn-invert {
  background: #fff;
  color: var(--primary-600);
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.btn-invert:hover { background: #f3f1ff; }

.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary-100);
  color: var(--primary-600);
  border: 1px solid transparent;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}
.btn-secondary:hover { background: #e4dffb; border-color: var(--primary-border); }

.btn-ghost {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all .18s ease;
}
.btn-ghost:hover { color: var(--danger); border-color: #f2c4c0; background: #fef3f2; }

.btn-danger-ghost {
  background: transparent;
  color: var(--danger);
  border: 1px solid #f2c4c0;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s ease;
}
.btn-danger-ghost:hover { background: #fef3f2; border-color: #eaa8a2; }

/* ---------- 首页 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0 64px;
  background-image: radial-gradient(circle, rgba(91,79,224,.10) 1px, transparent 1px);
  background-size: 24px 24px;
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-600);
  background: var(--primary-100);
  border: 1px solid var(--primary-border);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.22;
  margin-bottom: 18px;
}
.hero .sub { color: var(--ink-2); font-size: 17px; margin-bottom: 32px; }
.cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
/* 首页 CTA 组:两按钮同宽(按较宽者),灰字相对整组居中 */
.cta-group { display: flex; flex-direction: column; gap: 12px; width: 434px; max-width: 100%; }
.cta-group .btn-outline, .cta-group .btn-primary { width: 100%; justify-content: center; }
.cta-note { display: block; margin-top: 4px; font-size: 13px; color: var(--ink-3); letter-spacing: .02em; text-align: center; }

/* 首页 CTA 次按钮:白底主色描边,与实心主按钮形成层级差异 */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: #fff;
  color: var(--primary-600);
  border: 1.5px solid var(--primary-border);
  padding: 13px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-outline:hover { background: var(--primary-100); border-color: var(--primary); transform: translateY(-1px); box-shadow: 0 6px 14px -8px rgba(91,79,224,.5); }
.btn-outline:active { transform: translateY(0); }

/* 浏览器骨架屏 mockup */
.mockup {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --card-lift: 0px;
  --shine-x: 50%;
  --shine-y: 50%;
  --shine-opacity: 0;
  position: relative;
  isolation: isolate;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  overflow: hidden;
  transform: perspective(1100px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y))
    rotateZ(.6deg)
    translateY(var(--card-lift));
  transform-style: preserve-3d;
  will-change: transform;
}
.mockup::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--shine-x) var(--shine-y),
    rgba(255,255,255,.48) 0,
    rgba(255,255,255,.18) 18%,
    transparent 44%
  );
  mix-blend-mode: screen;
  opacity: var(--shine-opacity);
  transition: opacity .18s ease;
}
.mockup:hover { --card-lift: -3px; }
.mockup { touch-action: pan-y; }
.mockup-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  background: #fbfbfd;
  border-bottom: 1px solid var(--line);
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.mockup-url {
  flex: 1;
  margin-left: 8px;
  background: #f0f0f5;
  border-radius: 7px;
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-2);
  padding: 5px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mockup-body { padding: 32px 28px 36px; text-align: center; }
.mock-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #c9c1f7, #8f83ea);
}
.mock-name {
  width: 130px; height: 15px; border-radius: 7px;
  margin: 0 auto 14px;
  background: #e3e1ee;
}
.mock-line {
  height: 9px; border-radius: 5px;
  background: #efedf6;
  margin: 0 auto 9px;
}
.mock-line.w80 { width: 80%; } .mock-line.w60 { width: 60%; margin-bottom: 18px; }
.mock-tags { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; }
.mock-tags span {
  width: 52px; height: 20px; border-radius: 999px;
  background: var(--primary-100);
  border: 1px solid var(--primary-border);
}
.mock-btn {
  width: 140px; height: 34px; border-radius: 10px;
  margin: 0 auto;
  background: linear-gradient(135deg, #6d5ef0, #4a3ed0);
  box-shadow: 0 6px 14px -4px rgba(91,79,224,.5);
}

/* 区块 */
.section { padding: 56px 0 8px; }
.section-title { font-size: 28px; font-weight: 700; text-align: center; letter-spacing: -0.02em; }
.section-sub { text-align: center; color: var(--ink-2); margin-top: 10px; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.step b {
  background: linear-gradient(135deg, #6d5ef0, #4a3ed0);
  color: #fff;
  width: 34px; height: 34px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex: none;
  box-shadow: 0 3px 8px -2px rgba(91,79,224,.5);
}
.step h4 { font-size: 15px; margin-bottom: 4px; }
.step p { font-size: 13px; color: var(--ink-3); line-height: 1.6; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--primary-100);
  border: 1px solid var(--primary-border);
  border-radius: 12px;
  margin-bottom: 14px;
}
.feature h4 { font-size: 15px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }

/* ---------- 会员方案 ---------- */
.pricing-section { scroll-margin-top: 76px; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 36px auto 0;
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}
.pricing-card-featured {
  border-color: var(--primary-border);
  box-shadow: 0 12px 32px -18px rgba(91,79,224,.55);
}
.pricing-card-featured .pricing-card-head { padding-top: 22px; }
.pricing-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 4px 10px;
  color: var(--primary-600);
  background: var(--primary-100);
  border: 1px solid var(--primary-border);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.pricing-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 92px; padding-top: 22px; }
.pricing-kicker { color: var(--ink-3); font-size: 12px; }
.pricing-card h3 { margin-top: 3px; font-size: 23px; }
.pricing-price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.pricing-price strong { color: var(--primary-600); font-size: 29px; line-height: 1.1; letter-spacing: -.03em; }
.pricing-price span { color: var(--ink-3); font-size: 12px; margin-top: 3px; }
.pricing-description { min-height: 54px; margin-top: 13px; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.pricing-token-box { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 20px 0 18px; }
.pricing-token-box { min-height: 78px; }
.pricing-token-box div { padding: 11px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; }
.pricing-token-box span, .pricing-token-box strong { display: block; }
.pricing-token-box span { color: var(--ink-3); font-size: 11px; }
.pricing-token-box strong { margin-top: 2px; color: var(--ink); font-size: 17px; font-family: var(--mono); letter-spacing: -.03em; }
.pricing-features { display: flex; flex-direction: column; gap: 9px; min-height: 94px; padding: 0; margin: 0 0 22px; list-style: none; }
.pricing-features li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 13px; line-height: 1.55; }
.pricing-features li::before { content: "✓"; position: absolute; left: 0; color: var(--success); font-weight: 700; }
.pricing-action { width: 100%; height: 52px; min-height: 52px; margin-top: auto; padding-top: 0; padding-bottom: 0; display: inline-flex; align-items: center; justify-content: center; }
.pricing-note { display: flex; flex-direction: column; gap: 3px; max-width: 820px; margin: 18px auto 0; padding: 14px 16px; color: var(--ink-3); background: rgba(255,255,255,.68); border: 1px solid var(--line); border-radius: 12px; font-size: 12px; line-height: 1.7; }
.pricing-note strong { color: var(--ink-2); font-size: 13px; }

/* 底部 CTA */
.final-cta {
  margin: 64px 0 24px;
  padding: 52px 32px;
  text-align: center;
  background: linear-gradient(135deg, #5548d8, #3d32b8);
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 20px 48px -16px rgba(74,62,208,.55);
}
.final-cta h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 26px; }

/* ---------- 卡片通用 ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.meta { color: var(--ink-3); font-size: 13px; margin-top: 6px; }
.meta a { text-decoration: none; font-weight: 500; }
.meta a:hover { text-decoration: underline; }

/* ---------- 登录页 ---------- */
.auth-wrap { width: 460px; max-width: 100%; margin: 56px auto 32px; }
.auth-card { padding: 34px 32px 28px; box-shadow: var(--shadow-md); }
.auth-head { text-align: center; margin-bottom: 26px; }
.auth-head h1 { font-size: 22px; font-weight: 700; }
.auth-foot { text-align: center; font-size: 13px; color: var(--ink-3); }

.auth-text-link {
  display: inline-block;
  margin-top: 6px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink-3);
  font-size: 12.5px;
  text-align: left;
  cursor: pointer;
  transition: color .15s ease;
}
.auth-text-link:hover { color: var(--primary); }

.auth-tabs {
  display: flex;
  gap: 4px;
  background: #f0f0f5;
  border-radius: 11px;
  padding: 4px;
  margin-bottom: 24px;
}
.tab {
  flex: 1 1 0;
  min-width: 0;
  padding: 9px 2px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  text-align: center;
  cursor: pointer;
  transition: all .18s ease;
}
/* 三个面板统一高度,切换时卡片不跳动(注册面板最高,以其为基准) */
#pane-pwd, #pane-code, #pane-reg { min-height: 300px; }
.tab.active { background: #fff; color: var(--primary-600); font-weight: 600; box-shadow: 0 1px 3px rgba(23,23,40,.10); }

.field-label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.form-row { margin-bottom: 16px; }
.code-row { display: flex; gap: 10px; align-items: flex-end; }
.code-row .grow { flex: 1; min-width: 0; }
.code-btn { margin-bottom: 1px; }

input[type="tel"], input[type="text"], input[type="email"], input[type="password"], textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fbfbfd;
  outline: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
input::placeholder, textarea::placeholder { color: #b4b4bf; }
input:focus, textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(91,79,224,.14);
}
.form-hint { font-size: 12px; color: var(--ink-3); text-align: center; margin-top: 12px; }
.link-accent { color: var(--primary); font-weight: 600; text-decoration: none; cursor: pointer; }
.link-accent:hover { text-decoration: underline; }

.suffix { color: var(--ink-3); white-space: nowrap; font-size: 14px; font-family: var(--mono); }

.msg { margin-top: 14px; font-size: 14px; color: var(--danger); min-height: 18px; text-align: center; }
.msg.ok { color: var(--success); }

/* ---------- 控制台 ---------- */
.empty-card { text-align: center; padding: 44px 32px; }
.empty-card h3 { font-size: 19px; margin-bottom: 6px; }
.empty-card .code-row { max-width: 420px; margin: 22px auto 18px; }

.site-title-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.site-domain {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.domain-suffix { color: var(--ink-3); font-weight: 500; font-size: 15px; }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.status-pill i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-pill.on { color: var(--success); background: #ecfdf3; border: 1px solid #bbe7cd; }
.status-pill.on i { background: var(--success); box-shadow: 0 0 0 3px rgba(22,163,74,.16); }
.status-pill.off { color: var(--ink-3); background: #f3f3f6; border: 1px solid var(--line); }
.status-pill.off i { background: var(--ink-3); }

.site-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.file-btn { position: relative; overflow: hidden; display: inline-flex; cursor: pointer; }

.create-card { padding: 20px 26px; }
.create-card h3 { font-size: 15px; margin-bottom: 14px; color: var(--ink-2); }
.create-card .code-row { margin-bottom: 0; align-items: center; }
/* input 默认 width:100% 会挤扁行内按钮,改为 flex 占位 */
.create-card .code-row input { flex: 1 1 auto; min-width: 0; width: auto; }
.create-card .code-row .btn-primary { flex: none; white-space: nowrap; }

/* details 折叠卡 */
.paste-card { padding: 0; overflow: hidden; }
.paste-card summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  display: flex; align-items: center; gap: 8px;
  transition: background .18s ease, color .18s ease;
  user-select: none;
}
.paste-card summary::-webkit-details-marker { display: none; }
.paste-card summary::before {
  content: "▸";
  color: var(--primary);
  font-size: 12px;
  transition: transform .18s ease;
}
.paste-card[open] summary::before { transform: rotate(90deg); }
.paste-card summary:hover { background: #fafafe; color: var(--primary-600); }
.paste-card[open] summary { border-bottom: 1px solid var(--line); }
.paste-card > *:not(summary) { margin-left: 26px; margin-right: 26px; }
.paste-card textarea {
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  margin-bottom: 16px;
  display: block;
  width: calc(100% - 52px);
  resize: vertical;
}
.paste-card .btn-primary, .paste-card .meta { margin-bottom: 20px; margin-top: 0; }

.zip-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.zip-row:last-of-type { border-bottom: none; }
.zip-domain { font-family: var(--mono); font-size: 13px; color: var(--ink-2); overflow-wrap: anywhere; }
.paste-card .meta { margin-top: 14px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 56px; background: #fff; }
.footer-inner { max-width: 1040px; margin: 0 auto; padding: 36px 24px; text-align: center; }
.footer-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  margin-bottom: 6px;
}
.footer-tag { font-size: 13px; color: var(--ink-2); }
.footer-copy { font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 40px; text-align: center; }
  .hero .sub br { display: none; }
  .cta-row { justify-content: center; }
  .mockup { max-width: 460px; margin: 0 auto; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  .container { padding: 0 16px; }
  .nav-inner { padding: 11px 16px; }

  .hero { padding: 36px 0 32px; }
  .hero h1 { font-size: 30px; }
  .hero .sub { font-size: 15px; }
  .tab { font-size: 13px; padding: 9px 0; }
  #pane-pwd, #pane-code, #pane-reg { min-height: 320px; }
  .btn-lg { width: 100%; }
  .cta-row { flex-direction: column; align-items: stretch; text-align: center; }

  .section { padding-top: 40px; }
  .section-title { font-size: 22px; }
  .features { grid-template-columns: 1fr; }
  .nav-pricing-link { display: none; }
  .pricing-card { padding: 22px 20px; }
  .pricing-card h3 { font-size: 21px; }
  .final-cta { padding: 40px 20px; margin-top: 44px; }
  .final-cta h2 { font-size: 20px; }

  .card { padding: 20px; border-radius: 12px; }
  .auth-wrap { margin-top: 32px; }
  .auth-card { padding: 26px 20px 22px; }

  .site-domain { font-size: 16px; }
  .site-actions { width: 100%; }
  .site-actions .file-btn, .site-actions .btn-danger-ghost { flex: 1; }

  .code-row { flex-wrap: wrap; }
  .code-row .suffix { width: 100%; order: 3; }
  .empty-card .code-row { margin-bottom: 14px; }
  .create-card .btn-primary { width: 100%; }
  .paste-card > *:not(summary) { margin-left: 16px; margin-right: 16px; }
  .paste-card textarea { width: calc(100% - 32px); }
  .zip-row { flex-wrap: wrap; }
}

/* ---------- 管理员面板 ---------- */
.admin-panel { margin-top: 28px; }
.admin-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.admin-head h3 { margin-bottom: 0; }
.admin-stats { display: flex; gap: 8px; }
.admin-stat { display: inline-flex; align-items: baseline; gap: 5px; padding: 5px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); }
.admin-stat b { color: var(--primary); font-size: 15px; }

.admin-users { display: flex; flex-direction: column; gap: 12px; }
.admin-user {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: #fdfdff;
  transition: border-color var(--tt) ease, box-shadow var(--tt) ease;
}
.admin-user:hover { border-color: var(--primary-border); box-shadow: var(--shadow-sm); }
.admin-user-head { display: flex; align-items: center; gap: 12px; }
.admin-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; flex: none; }
.admin-user-id { display: flex; flex-direction: column; min-width: 0; }
.admin-username { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.admin-badge { font-size: 11px; font-weight: 600; color: var(--primary); background: var(--primary-100); border: 1px solid var(--primary-border); padding: 1px 7px; border-radius: 999px; }
.admin-user-meta { font-size: 12.5px; color: var(--ink-3); }
.admin-user-status { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.admin-user-status.ok { color: var(--success); }

.admin-sites { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.admin-site {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--tt) ease, transform var(--tt) ease;
}
.admin-site:hover { border-color: var(--primary-border); transform: translateX(2px); }
.admin-site-icon { width: 20px; height: 20px; flex: none; }
.admin-site-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.admin-site-domain { font-weight: 600; font-size: 14px; text-decoration: none; }
.admin-site-domain:hover { text-decoration: underline; }
.admin-site-meta { font-size: 12.5px; color: var(--ink-3); }
.admin-empty { margin: 10px 0 2px; padding-left: 50px; font-size: 13px; color: var(--ink-3); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.admin-user-ops { display: flex; gap: 8px; margin-left: 12px; }

/* ---------- 账号设置 ---------- */
.settings-card .settings-row { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 16px; }
.settings-avatar { display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 120px; }
/* 头像 hover 出现"更换"遮罩暗示 */
.settings-avatar-media {
  position: relative;
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  flex: none;
}
.settings-avatar-media img,
.settings-avatar-media .settings-avatar-empty { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); display: flex; }
.settings-avatar-empty { align-items: center; justify-content: center; background: var(--bg); color: var(--ink-3); font-size: 13px; }
.admin-avatar-img { object-fit: cover; }
.settings-avatar-veil {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(23,23,31,.48);
  color: #fff;
  opacity: 0;
  transition: opacity var(--tt) ease;
  pointer-events: none;
}
.settings-avatar-veil svg { width: 24px; height: 24px; }
.settings-avatar-media:hover .settings-avatar-veil { opacity: 1; }
.settings-pwd { flex: 1; min-width: 260px; max-width: 380px; }
.settings-pwd .field-label { font-weight: 600; color: var(--ink); }
.settings-pwd .form-row { margin-bottom: 18px; }
.settings-email-block { margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.settings-email-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.settings-email-status { color: var(--ink-3); font-size: 12px; }
.settings-email-status.ok { color: var(--success); }
.settings-email-current, .settings-email-pending { margin-bottom: 10px; color: var(--ink-3); font-size: 13px; }
.settings-email-pending { color: var(--primary-600); }
.settings-email-form { display: flex; flex-direction: column; gap: 10px; }
.settings-email-form input { width: 100%; }
.settings-email-form .btn-primary { align-self: flex-start; }

/* ---------- 控制台布局(应用式侧栏,视觉打磨版) ----------
   过渡/动画钩子:统一时长变量 --tt,侧栏宽 --sidebar-w,顶栏高 --topbar-h。
   布局骨架类:.console / .console-sidebar / .console-topbar / .console-content
   内容分栏类:.console-section(#section-{sites|settings|admin},.active 切换)
   站点卡片类:.site-tile / .site-thumb(iframe 0.25 缩放预览)
   ------------------------------------------------------------------ */
:root {
  --tt: .18s;
  --sidebar-w: 236px;
  --topbar-h: 58px;
}

/* 控制台页撑满整宽(base.html 的 main 通过 block mainclass 追加此类) */
.container--console { max-width: none; padding: 0; }

/* 控制台页隐藏全局导航与页脚,形成完整应用感 */
body.console-page .nav,
body.console-page .footer { display: none; }

/* 外壳:侧栏 + 主区 */
body.console-page { overflow: hidden; }
.console { display: flex; align-items: stretch; height: 100vh; min-height: 100vh; }

/* ---- 左侧菜单栏 ---- */
.console-sidebar {
  width: var(--sidebar-w);
  flex: none;
  background: var(--card);
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sidebar-brand {
  display: flex; align-items: center; gap: 11px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--tt) ease;
}
.sidebar-brand:hover { background: var(--bg); }
.sidebar-brand-icon {
  height: 30px; width: auto; flex: none; display: block;
  filter: drop-shadow(0 2px 4px rgba(91,79,224,.25));
}
.sidebar-brand-texts { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.sidebar-brand-text {
  font-size: 16.5px; font-weight: 700; letter-spacing: -0.01em;
  transition: opacity var(--tt) ease;
}
.sidebar-brand-sub {
  font-size: 11px; font-weight: 500;
  color: var(--ink-3); letter-spacing: .04em;
  transition: opacity var(--tt) ease;
}

.console-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav-item {
  position: relative;
  display: flex; align-items: center; gap: 11px;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--tt) ease, color var(--tt) ease;
}
.side-nav-icon {
  width: 20px; height: 20px; flex: none; display: block;
  color: var(--ink-3);
  transition: color var(--tt) ease;
}
.side-nav-item:hover { background: var(--bg); color: var(--ink); }
.side-nav-item:hover .side-nav-icon { color: var(--ink-2); }
.side-nav-item.active {
  background: var(--primary-100);
  color: var(--primary-600);
  font-weight: 600;
}
.side-nav-item.active .side-nav-icon { color: var(--primary); }
.side-nav-item.active:hover { background: #e9e5fc; }
/* 选中项左侧 3px 主色指示条(贴侧栏左缘) */
.side-nav-item::before {
  content: "";
  position: absolute;
  left: -14px; top: 50%;
  width: 3px; height: 22px;
  border-radius: 0 3px 3px 0;
  background: var(--primary);
  transform: translateY(-50%) scaleY(0);
  transition: transform var(--tt) ease;
}
.side-nav-item.active::before { transform: translateY(-50%) scaleY(1); }

/* ---- 主区:顶栏 + 内容 ---- */
.console-main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }

.console-topbar {
  height: var(--topbar-h);
  flex: none;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(23,23,40,.04);
  position: relative;
  z-index: 10;
}
.topbar-crumb { display: flex; align-items: center; gap: 9px; min-width: 0; }
.topbar-crumb-root { font-size: 13px; color: var(--ink-3); }
.topbar-crumb-sep { color: #d4d4e2; font-weight: 300; }
.topbar-crumb-current {
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  animation: crumb-in var(--tt) ease;
}
.design-topbar-context { display: none; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.console.design-mode .topbar-crumb { display: none; }
.console.design-mode .design-topbar-context { display: flex; }
.design-topbar-orb { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 11px; color: #fff; background: linear-gradient(135deg, #8e84ff, #5244db); box-shadow: 0 7px 17px rgba(91,79,224,.22); font-size: 18px; }
.design-topbar-copy { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.design-topbar-copy strong { font-size: 15px; letter-spacing: -.01em; }
.design-topbar-copy span { margin-top: 3px; color: var(--ink-3); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.design-topbar-context .design-quota { margin-left: auto; }
@keyframes crumb-in {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: none; }
}

.topbar-user { position: relative; flex: none; }
.topbar-avatar-btn {
  border: none; background: none; padding: 3px;
  border-radius: 50%; cursor: pointer;
  display: inline-flex;
}
.topbar-avatar-btn .admin-avatar {
  width: 34px; height: 34px; font-size: 14px;
  transition: box-shadow var(--tt) ease, transform var(--tt) ease;
}
.topbar-avatar-btn:hover .admin-avatar,
.topbar-avatar-btn[aria-expanded="true"] .admin-avatar {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4.5px var(--primary-border);
  transform: scale(1.04);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 192px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  z-index: 60;
  transform-origin: top right;
  animation: dropdown-in var(--tt) ease;
}
@keyframes dropdown-in {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.dropdown-username {
  padding: 9px 12px 8px;
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px;
}
.dropdown-item {
  display: flex; align-items: center; gap: 8px;
  width: 100%;
  padding: 9px 12px;
  border: none; background: none;
  font-family: inherit; font-size: 14px;
  color: var(--ink-2);
  text-align: left;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--tt) ease, color var(--tt) ease;
}
.dropdown-item:hover { background: var(--bg); color: var(--ink); }
.dropdown-item-danger {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  color: var(--danger);
}
.dropdown-item-danger:hover { background: #fef3f2; color: var(--danger); }

.console-content { flex: 1; min-height: 0; padding: 24px; min-width: 0; overflow-y: auto; overflow-x: hidden; }
.console.design-mode .console-content { overflow: hidden; }
.console.design-mode #section-design.active { height: 100%; min-height: 0; }

/* ---- 内容分栏(section 切换钩子:.console-section.active) ---- */
.console-section { display: none; }
.console-section.active { display: block; animation: section-in var(--tt) ease; }
@keyframes section-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: none; }
}

/* ---- 数据看板 ---- */
.analytics-heading {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 20px; margin-bottom: 20px;
}
.analytics-heading h2 { margin: 0 0 5px; font-size: 23px; letter-spacing: -.02em; }
.analytics-heading p { margin: 0; }
.analytics-range-label {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-3); font-size: 12px; white-space: nowrap;
}
.analytics-range {
  padding: 8px 28px 8px 11px;
  color: var(--ink-2); background: var(--card);
  border: 1px solid var(--line); border-radius: 9px;
  font: inherit; outline: none; cursor: pointer;
}
.analytics-range:focus { border-color: var(--primary); }
.analytics-summary {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  margin-bottom: 16px;
}
.analytics-stat { padding: 18px 20px; min-height: 120px; display: flex; flex-direction: column; }
.analytics-stat-label { color: var(--ink-3); font-size: 13px; }
.analytics-stat strong {
  margin: 12px 0 5px; color: var(--ink); font-size: 28px;
  line-height: 1; letter-spacing: -.03em;
}
.analytics-stat-note { color: var(--ink-3); font-size: 12px; }
.analytics-chart-card, .analytics-detail-card { padding: 20px; margin-bottom: 16px; }
.analytics-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.analytics-card-heading h3, .analytics-detail-card h3 { margin: 0 0 4px; font-size: 16px; }
.analytics-card-heading p { margin: 0; }
.analytics-legend { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12px; }
.analytics-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.analytics-chart {
  height: 250px; display: grid; grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 10px; margin-top: 18px;
}
.analytics-y-axis {
  display: grid; grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: center; padding-bottom: 29px;
  color: var(--ink-3); font-size: 10px; line-height: 1; text-align: right;
}
.analytics-plot { position: relative; min-width: 0; padding-bottom: 29px; }
.analytics-grid-lines {
  position: absolute; inset: 0 0 29px;
  display: grid; grid-template-rows: repeat(2, minmax(0, 1fr));
}
.analytics-grid-line { border-top: 1px dashed rgba(91,79,224,.13); }
.analytics-grid-line:last-child { border-bottom: 1px solid var(--line); }
.analytics-bars {
  position: absolute; inset: 0 0 29px;
  display: grid; grid-template-columns: repeat(30, minmax(0, 1fr));
  align-items: stretch; gap: 7px;
}
.analytics-chart-column {
  position: relative; height: 100%; min-width: 0; cursor: default;
}
.analytics-chart-bar {
  position: absolute; left: 50%; bottom: 0; width: min(20px, 70%);
  transform: translateX(-50%); min-height: 0; border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #7b70ed, var(--primary));
  box-shadow: 0 4px 8px -5px rgba(91,79,224,.8);
  transition: height .35s ease, opacity var(--tt) ease, transform var(--tt) ease;
}
.analytics-chart-column:hover .analytics-chart-bar { opacity: .72; transform: translateX(-50%) scaleX(1.12); }
.analytics-chart-column small {
  position: absolute; top: calc(100% + 9px); left: 50%; transform: translateX(-50%);
  height: 14px; color: var(--ink-3); font-size: 10px; white-space: nowrap;
}
.analytics-chart-tooltip {
  position: absolute; left: 50%; bottom: calc(var(--bar-height) + 8px);
  z-index: 2; padding: 5px 8px; border-radius: 7px;
  color: #fff; background: rgba(30,29,55,.92); box-shadow: 0 4px 12px rgba(23,23,40,.16);
  font-size: 11px; line-height: 1; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 4px); transition: opacity var(--tt) ease, transform var(--tt) ease;
}
.analytics-chart-column:hover .analytics-chart-tooltip,
.analytics-chart-column:focus-visible .analytics-chart-tooltip {
  opacity: 1; transform: translate(-50%, 0);
}
.analytics-chart-column:focus-visible { outline: 2px solid var(--primary-border); outline-offset: 3px; border-radius: 5px; }
.analytics-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.analytics-detail-item {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 14px; border-radius: 10px; background: var(--bg);
  color: var(--ink-2); font-size: 13px;
}
.analytics-detail-item strong { color: var(--ink); font-size: 14px; white-space: nowrap; }
.analytics-empty {
  max-width: 580px; padding: 42px 30px; margin: 9vh auto 0; text-align: center;
}
.analytics-empty-icon, .design-placeholder-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 16px; border-radius: 18px;
  color: var(--primary); background: var(--primary-100); font-size: 27px; font-weight: 700;
}
.analytics-empty h3 { margin: 0 0 8px; font-size: 19px; }
.analytics-empty p { margin: 0 auto 20px; max-width: 420px; }
.analytics-empty .btn-primary { margin: 0; }
/* ---------- 主页设计:AI 对话工作台 ---------- */
.design-chat-page { width: min(940px, 100%); height: 100%; min-height: 0; margin: 0 auto; padding: 18px 0 12px; display: flex; flex-direction: column; }
.design-chat-heading { display: flex; align-items: center; gap: 13px; flex: none; margin-bottom: 20px; }
.design-chat-heading h2 { margin: 0 0 5px; font-size: 25px; }
.design-chat-heading p { margin: 0; }
.design-chat-orb { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 15px; color: #fff; background: linear-gradient(135deg, #8e84ff, #5244db); box-shadow: 0 10px 24px rgba(91,79,224,.25); font-size: 22px; }
.design-quota { margin-left: auto; padding: 8px 13px; color: var(--primary); background: var(--primary-100); border: 1px solid var(--primary-border); border-radius: 999px; font-size: 13px; white-space: nowrap; }
.design-chat-scroll { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 0 4px 18px 2px; scrollbar-width: thin; scrollbar-color: var(--primary-border) transparent; }
.design-chat-scroll::-webkit-scrollbar { width: 7px; }
.design-chat-scroll::-webkit-scrollbar-thumb { background: var(--primary-border); border-radius: 8px; }
.design-conversation { display: flex; flex-direction: column; gap: 13px; min-height: 74px; }
.design-message { max-width: 76%; padding: 12px 15px; border-radius: 16px; font-size: 13px; line-height: 1.65; animation: design-message-in .3s ease both; }
.design-message strong { display: block; margin-bottom: 2px; font-size: 12px; }
.design-message p { margin: 0; }
.design-message-ai { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-2); background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: 0 8px 24px rgba(36,32,80,.05); }
.design-message-user { align-self: flex-end; color: #fff; background: linear-gradient(135deg, #7368ee, #5548d9); box-shadow: 0 8px 20px rgba(91,79,224,.18); }
.design-message-avatar { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 8px; color: #fff; background: var(--primary); font-size: 13px; }
.design-message-thinking { display: flex; align-items: flex-start; gap: 9px; color: var(--ink-2); background: rgba(255,255,255,.8); border: 1px solid var(--primary-border); box-shadow: 0 8px 24px rgba(36,32,80,.05); }
.design-thinking-line { display: flex; align-items: center; gap: 7px; min-height: 22px; color: var(--ink-2); }
.design-thinking-dots { display: inline-flex; gap: 3px; }
.design-thinking-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--primary); animation: design-thinking-pulse 1.1s infinite ease-in-out; }
.design-thinking-dots i:nth-child(2) { animation-delay: .14s; }
.design-thinking-dots i:nth-child(3) { animation-delay: .28s; }
@keyframes design-thinking-pulse { 0%, 70%, 100% { opacity: .25; transform: translateY(0); } 35% { opacity: 1; transform: translateY(-3px); } }
@keyframes design-message-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.design-result { padding: 17px; margin: 22px 0; border: 1px solid rgba(255,255,255,.75); background: rgba(255,255,255,.66); box-shadow: 0 18px 50px rgba(45,39,109,.11); backdrop-filter: blur(18px); }
.design-result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 3px 13px; }
.design-result-head strong, .design-result-head span { display: block; }
.design-result-head strong { font-size: 15px; }
.design-result-head span { margin-top: 3px; color: var(--ink-3); font-size: 12px; }
.design-result-status { padding: 5px 9px; margin: 0 !important; color: #198754 !important; background: #e8f8ef; border-radius: 999px; white-space: nowrap; }
.design-glass-preview { position: relative; display: block; width: 100%; height: 390px; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.85); border-radius: 17px; background: linear-gradient(135deg, #f4f2ff, #fff); cursor: pointer; }
.design-glass-preview iframe { display: block; width: 100%; height: 100%; border: 0; background: #fff; opacity: .7; pointer-events: none; filter: blur(7px); transform: scale(1.035); transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
.design-glass-preview:hover iframe, .design-glass-preview:focus-visible iframe { opacity: .86; filter: blur(3px); transform: scale(1.02); }
.design-glass-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: linear-gradient(180deg, rgba(25,22,55,.05), rgba(25,22,55,.3)); text-shadow: 0 2px 9px rgba(25,22,55,.28); }
.design-glass-overlay b { font-size: 22px; letter-spacing: .04em; }
.design-glass-overlay small { margin-top: 5px; font-size: 12px; opacity: .9; }
.design-result-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.design-result-actions .btn-primary, .design-result-actions .btn-secondary { padding: 8px 14px; font-size: 13px; }
.design-composer { display: flex; align-items: center; gap: 9px; flex: none; max-width: 790px; width: 100%; margin: 10px auto 0; padding: 9px; border: 1px solid var(--primary-border); border-radius: 19px; background: rgba(255,255,255,.9); box-shadow: 0 12px 32px rgba(67,58,160,.12); }
.design-composer textarea { min-width: 0; min-height: 23px; max-height: 144px; flex: 1; overflow-y: auto; padding: 8px 5px; border: 0; outline: none; resize: none; background: transparent; color: var(--ink); font: inherit; line-height: 1.5; }
.design-composer textarea::placeholder { color: var(--ink-3); }
.design-attach, .design-send { display: grid; place-items: center; width: 39px; height: 39px; flex: none; padding: 0; border: 0; border-radius: 13px; font-size: 23px; font-weight: 700; line-height: 1; font-family: inherit; cursor: pointer; }
.design-attach { color: var(--primary); background: var(--primary-100); }
.design-attach:hover { background: var(--primary-border); }
.design-send { color: #fff; background: var(--primary); font-size: 22px; box-shadow: 0 6px 15px rgba(91,79,224,.25); }
.design-send:hover { background: var(--primary-600); }
.design-send:disabled { opacity: .6; cursor: wait; }
.design-composer-hint { display: flex; justify-content: space-between; gap: 12px; flex: none; max-width: 790px; width: 100%; margin: 7px auto 0; color: var(--ink-3); font-size: 11px; }
.design-composer-hint span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.design-chat-msg { max-width: 790px; margin: 10px auto; }

/* ---------- AI 主页部署弹窗 ---------- */
.deploy-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(23,23,40,.38); backdrop-filter: blur(8px); }
.deploy-dialog { position: relative; width: min(460px, 100%); padding: 28px; border: 1px solid rgba(255,255,255,.75); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: 0 24px 70px rgba(31,27,80,.25); animation: deploy-dialog-in .2s ease; }
@keyframes deploy-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.deploy-dialog-close { position: absolute; top: 14px; right: 16px; width: 28px; height: 28px; border: 0; border-radius: 50%; color: var(--ink-3); background: transparent; font-size: 23px; line-height: 1; cursor: pointer; }
.deploy-dialog-close:hover { color: var(--ink); background: var(--bg); }
.deploy-dialog-kicker { color: var(--primary); font-family: var(--mono); font-size: 10px; letter-spacing: .16em; }
.deploy-dialog h2 { margin: 6px 0 4px; font-size: 22px; }
.deploy-dialog > .meta { margin-bottom: 20px; font-size: 13px; }
.deploy-dialog .field-label { display: block; margin: 14px 0 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); }
.deploy-select, .deploy-subdomain-input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: #fff; color: var(--ink); font: inherit; }
.deploy-select:focus, .deploy-subdomain-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-100); }
.deploy-subdomain-row { display: flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 13px; }
.deploy-subdomain-row .deploy-subdomain-input { min-width: 0; }
.deploy-dialog .msg { min-height: 24px; margin: 12px 0 0; font-size: 12px; }
.deploy-dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 8px; }

/* ---------- 主页预览与编辑 ---------- */
.container--design-preview { max-width: none; padding: 0; }
body.design-preview-page { background: #f7f6fb; }
body.design-preview-page .nav, body.design-preview-page .footer { display: none; }
.design-preview-shell { min-height: 100vh; }
.design-preview-toolbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px clamp(18px, 4vw, 54px); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.86); backdrop-filter: blur(18px); }
.design-preview-leading { display: flex; align-items: center; gap: 18px; min-width: 0; }
.design-preview-back { display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; color: var(--ink-2); font-size: 13px; text-decoration: none; white-space: nowrap; }
.design-preview-back:hover { color: var(--primary-600); border-color: var(--primary-border); background: var(--primary-100); }
.design-preview-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; text-decoration: none; }
.design-preview-brand img { width: 27px; height: 27px; }
.design-preview-actions { display: flex; align-items: center; gap: 10px; }
.design-preview-actions .btn-primary, .design-preview-actions .btn-secondary { padding: 8px 13px; font-size: 13px; }
.design-preview-status { color: var(--ink-3); font-size: 12px; }
.design-preview-canvas-wrap { width: min(1180px, calc(100% - 32px)); margin: 24px auto 50px; }
.design-preview-canvas { display: block; }
.design-preview-frame { width: 100%; height: max(760px, calc(100vh - 120px)); overflow: auto; border: 1px solid var(--line); border-radius: 22px; outline: none; background: #fff; box-shadow: 0 18px 54px rgba(40,35,95,.1); }
.design-preview-frame.is-editing { outline: 3px solid var(--primary-border); outline-offset: 4px; }
.design-preview-canvas-wrap > .msg { margin: 14px 0; text-align: center; }
/* ---------- 管理员分栏与 AI 服务中心 ---------- */
.admin-tabs { display: flex; gap: 5px; margin: 0 -4px 18px; padding: 4px; border-bottom: 1px solid var(--line); }
.admin-tab { padding: 8px 14px; border: 0; border-radius: 8px; color: var(--ink-3); background: transparent; font: inherit; font-size: 13px; cursor: pointer; }
.admin-tab:hover, .admin-tab.active { color: var(--primary); background: var(--primary-100); }
.ai-admin-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); gap: 24px; }
.ai-settings-card h4, .ai-quota-card h4 { margin: 0 0 6px; font-size: 16px; }
.ai-settings-card > .meta, .ai-quota-card > .meta { margin: 0 0 16px; }
.ai-settings-card .form-row { margin-bottom: 12px; }
.ai-settings-card textarea { width: 100%; resize: vertical; }
.check-row { display: flex; align-items: center; gap: 8px; margin: 12px 0 16px; color: var(--ink-2); font-size: 13px; cursor: pointer; }
.ai-quota-list { display: flex; flex-direction: column; gap: 9px; }
.ai-quota-row { display: grid; grid-template-columns: minmax(0, 1fr) 78px 66px 48px; align-items: center; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; }
.ai-quota-user { display: flex; flex-direction: column; min-width: 0; }
.ai-quota-user strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.ai-quota-user span { color: var(--ink-3); font-size: 11px; }
.ai-quota-row input { width: 100%; padding: 6px 7px; }
.ai-quota-used { color: var(--ink-3); font-size: 12px; text-align: center; }
.ai-quota-save { padding: 6px 8px; font-size: 12px; }
/* ---- 站点卡片(iframe 缩放预览) ---- */
.sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-bottom: 20px;
}
.site-tile {
  padding: 0; overflow: hidden; margin-bottom: 0;
  transition: transform var(--tt) ease, box-shadow var(--tt) ease, border-color var(--tt) ease;
}
.site-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

/* 预览缩略图:iframe 放大 4 倍再 scale(0.25) 收进 4:3 容器,禁止卡内交互 */
.site-thumb {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.site-thumb-frame {
  position: absolute;
  top: 0; left: 0;
  width: 400%; height: 400%;
  transform: scale(.25);
  transform-origin: 0 0;
  pointer-events: none;
  transition: transform .35s ease;
}
.site-thumb:hover .site-thumb-frame,
.site-thumb:focus-visible .site-thumb-frame { transform: scale(.262); }
.site-thumb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.site-thumb::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(23,23,40,.02);
  pointer-events: none;
}
.site-thumb-hint {
  position: absolute;
  right: 10px; bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(23,23,31,.72);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--tt) ease, transform var(--tt) ease;
  pointer-events: none;
}
.site-thumb:hover .site-thumb-hint,
.site-thumb:focus-visible .site-thumb-hint { opacity: 1; transform: none; }

.site-tile-body { padding: 16px 20px 18px; }
.site-tile-body .site-title-row { margin-bottom: 2px; }
.site-tile-body .site-domain { font-size: 17px; }
.site-tile-body .meta { margin-top: 0; }
.site-tile .site-actions {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 6px;
}
/* 工具行:主操作保持实心,次要操作弱化为描边,危险操作保持红色 */
.site-tile .site-actions .btn-primary { padding: 7px 14px; font-size: 13px; }
.site-tile .site-actions .btn-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 7px 12px;
  font-size: 13px;
}
.site-tile .site-actions .btn-secondary:hover {
  background: var(--primary-100);
  border-color: var(--primary-border);
  color: var(--primary-600);
}
.site-tile .site-actions .btn-danger-ghost { padding: 7px 12px; font-size: 13px; }

/* 空状态引导卡 */
.empty-card { max-width: 520px; margin: 8vh auto 24px; }
.empty-card .empty-brand-icon {
  height: 64px; width: auto;
  padding: 16px;
  margin-bottom: 16px;
  background: var(--primary-100);
  border: 1px solid var(--primary-border);
  border-radius: 22px;
  box-sizing: content-box;
}
.empty-card h3 { font-size: 20px; letter-spacing: -0.01em; }

/* ---- 粘贴发布面板补充(目标站点选择) ---- */
.paste-actions { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.paste-target {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--mono);
  color: var(--ink);
  background: #fbfbfd;
  outline: none;
  max-width: 100%;
  transition: border-color var(--tt) ease, background var(--tt) ease;
}
.paste-target:focus { border-color: var(--primary); background: #fff; }
.paste-card .paste-actions .btn-primary { margin-bottom: 0; }

/* ---- 密码可见性切换(眼睛图标) ---- */
.pwd-wrap { position: relative; }
.pwd-wrap input { padding-right: 44px; }
.pwd-eye {
  position: absolute;
  top: 50%; right: 6px;
  transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  transition: color var(--tt) ease, background var(--tt) ease;
}
.pwd-eye:hover { color: var(--primary); background: var(--primary-100); }
.pwd-eye svg { width: 18px; height: 18px; display: block; }
.pwd-eye .eye-off-icon { display: none; }
.pwd-eye.on .eye-off-icon { display: block; }
.pwd-eye.on .eye-on-icon { display: none; }

/* ---- 控制台移动端(<900px):侧栏折叠为顶部横向滚动条 ---- */
@media (max-width: 900px) {
  body.console-page { overflow: auto; }
  .console { flex-direction: column; height: auto; min-height: 0; }
  .console-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-right: none;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    flex: none;
    /* 细滚动条,弱化存在感 */
    scrollbar-width: thin;
    scrollbar-color: var(--line) transparent;
  }
  .console-sidebar::-webkit-scrollbar { height: 4px; }
  .console-sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
  .console-sidebar::-webkit-scrollbar-track { background: transparent; }
  .sidebar-brand { padding: 2px 6px; flex: none; }
  .sidebar-brand-icon { height: 26px; }
  .sidebar-brand-texts { display: none; }
  .console-nav {
    flex-direction: row;
    gap: 6px;
    /* 窄屏下菜单可整体滑动,避免单项被挤压换行 */
    overflow-x: auto;
    scrollbar-width: none;
  }
  .console-nav::-webkit-scrollbar { display: none; }
  .side-nav-item { width: auto; padding: 8px 14px; }
  /* 横向折叠态下隐藏左缘指示条,靠 active 底色区分 */
  .side-nav-item::before { display: none; }
  .console-content { padding: 16px; }
  .console-main { min-height: 0; overflow: visible; }
  .console-content { overflow: visible; }
  .console-topbar { padding: 0 16px; }
  .empty-card { margin-top: 4vh; }
  .analytics-heading { flex-direction: column; gap: 12px; }
  .analytics-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .analytics-bars { gap: 3px; }
  .ai-admin-grid { grid-template-columns: 1fr; }
  .console.design-mode .console-content { overflow: visible; }
  .design-chat-page { height: auto; min-height: calc(100vh - 150px); padding-top: 4vh; }
  .design-chat-heading { align-items: flex-start; }
  .design-topbar-copy span { display: none; }
  .design-topbar-context .design-quota { padding: 6px 9px; font-size: 11px; }
}

@media (max-width: 480px) {
  .sites-grid { grid-template-columns: 1fr; }
  .site-tile .site-actions .file-btn,
  .site-tile .site-actions button { flex: 1 1 40%; }
  .settings-row { flex-direction: column; align-items: stretch; }
  .settings-avatar { flex-direction: row; justify-content: flex-start; gap: 16px; flex-wrap: wrap; }
  .analytics-summary { grid-template-columns: 1fr; }
  .analytics-detail-grid { grid-template-columns: 1fr; }
  .analytics-stat { min-height: 0; }
  .design-chat-heading { align-items: flex-start; flex-wrap: wrap; }
  .design-quota { margin-left: 55px; }
  .design-message { max-width: 90%; }
  .design-composer-hint { flex-direction: column; gap: 4px; }
  .design-result-head { align-items: flex-start; }
  .design-result-actions { justify-content: stretch; }
  .design-result-actions > * { flex: 1; }
  .design-glass-preview { height: 270px; }
  .design-preview-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .design-preview-leading { width: 100%; justify-content: space-between; }
  .design-preview-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .design-preview-canvas-wrap { width: calc(100% - 20px); margin-top: 12px; }
  .ai-quota-row { grid-template-columns: minmax(0, 1fr) 70px 52px; }
  .ai-quota-save { grid-column: 3; }
}

/* ---------- 动效降级:尊重 prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .site-thumb:hover .site-thumb-frame,
  .site-thumb:focus-visible .site-thumb-frame { transform: scale(.25); }
  .site-tile:hover { transform: none; }
  .admin-site:hover { transform: none; }
  .mockup {
    transform: rotate(.6deg);
    will-change: auto;
  }
  .mockup::after { display: none; }
}

/* ---------- 头像裁切弹窗 ---------- */
.cropper-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(23,23,40,.45);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.cropper-dialog {
  background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 22px 24px 20px; width: 460px; max-width: 100%;
  animation: cropper-in .18s ease;
}
@keyframes cropper-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.cropper-title { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.cropper-stage { display: flex; gap: 20px; align-items: center; }
.cropper-viewport {
  position: relative; width: 280px; height: 280px; flex: none;
  overflow: hidden; border-radius: var(--radius-sm);
  background: #0f0f16; cursor: grab; touch-action: none;
}
.cropper-viewport:active { cursor: grabbing; }
.cropper-viewport img { position: absolute; top: 0; left: 0; transform-origin: 0 0; max-width: none; user-select: none; -webkit-user-drag: none; }
.cropper-side { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cropper-preview-ring {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--primary-border); background: #0f0f16; position: relative;
}
.cropper-preview-ring img { position: absolute; top: 0; left: 0; transform-origin: 0 0; max-width: none; }
.cropper-preview-label { font-size: 12px; color: var(--ink-3); }
.cropper-zoom-row { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.cropper-zoom-row input[type="range"] { flex: 1; accent-color: var(--primary); }
.cropper-zoom-ico { color: var(--ink-3); font-size: 15px; width: 16px; text-align: center; }
.cropper-hint { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.cropper-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; }
@media (max-width: 520px) {
  .cropper-stage { flex-direction: column; }
  .cropper-dialog { width: 340px; }
  .cropper-viewport { width: 280px; height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .cropper-dialog { animation: none; }
}
.cropper-overlay[hidden] { display: none; }

/* ---------- 首页设计 Demo（throwaway prototype） ---------- */
body.prototype-page { display: block; min-height: 100vh; background: #f8f8fc; color: #171827; overflow-x: clip; }
body.prototype-page .nav, body.prototype-page .footer { display: none; }
body.prototype-page main.container { max-width: none; padding: 0; }
.proto-app { position: relative; min-height: 100vh; overflow-x: clip; overflow-y: visible; background: #f8f8fc; }
.proto-app::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 11%, rgba(157,142,255,.19), transparent 24%), radial-gradient(circle at 12% 49%, rgba(225,221,255,.52), transparent 25%); }
.proto-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: 100%; height: 76px; padding: 0 max(32px, calc((100% - 1180px) / 2)); margin: 0; box-sizing: border-box; background: rgba(248,248,252,.84); border-bottom: 1px solid rgba(221,220,238,.72); box-shadow: 0 9px 24px rgba(69,58,150,.05); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.proto-brand { display: inline-flex; align-items: center; gap: 10px; color: #171827; font-size: 17px; font-weight: 750; letter-spacing: -.03em; text-decoration: none; }
.proto-brand-lockup { display: block; width: auto; height: 43px; filter: drop-shadow(0 4px 9px rgba(91,79,224,.12)); }
.proto-nav-links { display: flex; align-items: center; gap: 26px; }
.proto-nav-links a { color: #727487; font-size: 13px; text-decoration: none; transition: color .2s ease; }
.proto-nav-links a:hover { color: #5b4fe0; }
.proto-nav-links .proto-nav-cta { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; color: #4c3fd0; background: rgba(239,237,255,.72); border: 1px solid #ddd9ff; border-radius: 999px; font-weight: 650; }
.proto-nav-cta span { font-size: 15px; line-height: 1; }
.proto-language-switcher { position: relative; }
.proto-language-switcher summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 9px 0; color: #727487; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .1em; cursor: pointer; user-select: none; }
.proto-language-switcher summary::-webkit-details-marker { display: none; }
.proto-language-switcher summary:hover, .proto-language-switcher[open] summary { color: #5b4fe0; }
.proto-language-switcher summary span { font-family: sans-serif; font-size: 13px; line-height: 1; transform: translateY(-1px); }
.proto-language-menu { position: absolute; z-index: 60; top: calc(100% + 7px); right: 0; min-width: 112px; padding: 6px; background: rgba(255,255,255,.96); border: 1px solid #e1dff1; border-radius: 11px; box-shadow: 0 16px 34px rgba(57,47,142,.16); backdrop-filter: blur(14px); }
.proto-language-menu a { display: block; padding: 8px 9px; color: #6f7180; border-radius: 7px; font-size: 11px; white-space: nowrap; }
.proto-language-menu a:hover, .proto-language-menu a.active { color: #5346cf; background: #f0eeff; }
.proto-overline { display: inline-flex; align-items: center; gap: 9px; color: #7165dd; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .17em; }
.proto-overline span { width: 7px; height: 7px; border-radius: 50%; background: #7569eb; box-shadow: 0 0 0 4px rgba(117,105,235,.12); }
.proto-actions { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.proto-primary, .proto-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.proto-primary { padding: 15px 19px; color: #fff; background: linear-gradient(135deg, #7569ed, #4e42d1); border-radius: 13px; box-shadow: 0 13px 24px -13px rgba(77,65,210,.78); font-size: 14px; font-weight: 650; }
.proto-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -13px rgba(77,65,210,.8); }
.proto-primary span { font-size: 18px; line-height: .8; }
.proto-deploy-choice, .proto-create-choice { width: min(100%, 286px); }
.proto-deploy-trigger-wrap { position: relative; }
.proto-deploy-trigger-wrap::after { content: ""; position: absolute; z-index: 4; top: 0; left: 100%; width: 10px; height: 100%; }
.proto-deploy-trigger { width: 100%; height: 48px; min-height: 48px; box-sizing: border-box; }
.proto-deploy-trigger .proto-action-label { font-size: 14px; line-height: 1.3; }
.proto-deploy-trigger .proto-action-arrow { font-size: 18px; line-height: .8; transition: transform .22s ease; }
.proto-deploy-trigger-wrap:hover .proto-action-arrow, .proto-deploy-trigger-wrap:focus-within .proto-action-arrow { transform: translateX(4px); }
.proto-agent-popover { position: absolute; z-index: 5; top: 50%; left: calc(100% + 10px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; width: 286px; height: 48px; min-height: 48px; box-sizing: border-box; padding: 0 38px 0 17px; color: #fff; background: linear-gradient(135deg, #887cf5 0%, #6556dd 54%, #4e42d1 100%); border: 1px solid rgba(255,255,255,.28); border-radius: 14px 17px 17px 14px; box-shadow: 0 16px 30px -15px rgba(65,53,187,.72), 0 0 0 1px rgba(101,88,223,.18); opacity: 0; pointer-events: none; text-decoration: none; transform: translate(-8px, -50%) scale(.96); transform-origin: left center; transition: opacity .2s ease, transform .22s ease; }
.proto-agent-popover::before { content: ""; position: absolute; z-index: -1; left: -7px; top: 50%; width: 14px; height: 14px; background: #7569ed; border-radius: 3px; transform: translateY(-50%) rotate(45deg); }
.proto-deploy-trigger-wrap:hover .proto-agent-popover, .proto-deploy-trigger-wrap:focus-within .proto-agent-popover, .proto-deploy-trigger-wrap.is-open .proto-agent-popover { opacity: 1; pointer-events: auto; transform: translate(0, -50%) scale(1); }
.proto-deploy-trigger-wrap.is-returning .proto-agent-popover { opacity: 0; pointer-events: none; transform: translate(-8px, -50%) scale(.96); }
.proto-agent-popover strong { color: #fff; font-size: 12px; font-weight: 650; line-height: 1; letter-spacing: -.025em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
.proto-agent-arrow { position: absolute; top: 50%; right: 16px; color: rgba(255,255,255,.9); font-size: 19px; transform: translateY(-50%); transition: transform .22s ease; }
.proto-agent-popover:hover .proto-agent-arrow { transform: translate(3px, -50%); }
.proto-create-choice { display: flex; flex-direction: column; gap: 8px; }
.proto-create-kicker { color: #9295a4; font-size: 11px; line-height: 1.4; }
.proto-create-choice .proto-action-create { width: 100%; padding: 14px 19px; color: #5749cf; background: rgba(255,255,255,.72); border: 1px solid #cbc6f6; border-radius: 13px; box-shadow: 0 8px 20px -17px rgba(77,65,210,.65); font-size: 14px; font-weight: 650; }
.proto-create-choice .proto-action-create:hover { color: #4436c7; background: #f2efff; border-color: #a9a0f1; box-shadow: 0 12px 25px -16px rgba(77,65,210,.78); }
.proto-secondary { padding: 14px 3px; color: #5f6172; font-size: 13px; }
.proto-secondary:hover { color: #4e42d1; }

/* A — 光晕 Hero：把“输入→生成→发布”放进同一视觉焦点 */
.proto-a-hero { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(380px, .86fr) minmax(520px, 1.14fr); align-items: center; gap: 50px; width: min(1180px, calc(100% - 64px)); min-height: 574px; margin: 0 auto; padding: 28px 0 46px; }
.proto-a-copy { position: relative; z-index: 3; padding-bottom: 20px; }
.proto-a-copy h1 { margin: 23px 0 22px; color: #171827; font-size: clamp(42px, 5vw, 70px); font-weight: 760; letter-spacing: -.075em; line-height: 1.08; }
.proto-a-copy h1 em, .proto-b-intro h1 em, .proto-c-hero h1 em { color: #6558df; font-style: normal; }
.proto-a-copy h1 .proto-keyword { display: inline-block; white-space: nowrap; color: #4436c7; font-weight: 860; }
.proto-lead { max-width: 500px; margin-bottom: 27px; color: #6d7080; font-size: 14px; line-height: 1.8; }
.proto-lead > span { display: block; }
.proto-lead span + span { margin-top: 3px; }
.proto-lead strong { color: #5b4fd8; font-weight: 700; background: linear-gradient(transparent 64%, rgba(240, 231, 208, .95) 64%, rgba(240, 231, 208, .95) 92%, transparent 92%); border-radius: 2px; }
.proto-lead-bullet { display: inline; margin-right: 8px; color: #5b4fd8; font-style: normal; font-weight: 700; }
.proto-trust { display: flex; align-items: center; gap: 9px; margin-top: 23px; color: #9295a4; font-size: 11px; }
.proto-trust i { width: 3px; height: 3px; border-radius: 50%; background: #cbcbd7; }
.proto-trust-mark { display: grid; place-items: center; width: 20px; height: 20px; color: #fff; background: #7569ed; border-radius: 7px; font-size: 11px; }
.proto-a-stage { position: relative; min-height: 500px; perspective: 1300px; }
.proto-a-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.proto-a-glow-one { width: 490px; height: 490px; top: 11px; left: 8%; background: radial-gradient(circle, rgba(152,138,255,.3) 0, rgba(153,140,255,.13) 34%, rgba(153,140,255,0) 70%); }
.proto-a-glow-two { width: 330px; height: 330px; top: 91px; left: 22%; border: 1px solid rgba(114,100,230,.15); box-shadow: 0 0 0 28px rgba(114,100,230,.025), 0 0 0 56px rgba(114,100,230,.018); }
.proto-browser { --proto-tilt-x: 3deg; --proto-tilt-y: -7deg; --proto-tilt-z: 3.6deg; --proto-lift: 0px; --proto-glow-x: 50%; --proto-glow-y: 50%; --proto-glow-opacity: 0; position: absolute; z-index: 2; top: 58px; left: 5%; width: 86%; min-height: 410px; overflow: hidden; border: 1px solid rgba(210,208,236,.92); border-radius: 18px; background: #fff; box-shadow: 0 36px 70px -32px rgba(66,54,170,.45), 0 17px 34px rgba(55,45,130,.1); transform: perspective(1300px) rotateX(var(--proto-tilt-x)) rotateY(var(--proto-tilt-y)) rotateZ(var(--proto-tilt-z)) translateY(var(--proto-lift)); will-change: transform; touch-action: pan-y; }
.proto-browser::after { content: ""; position: absolute; z-index: 6; inset: -25%; pointer-events: none; background: radial-gradient(circle at var(--proto-glow-x) var(--proto-glow-y), rgba(255,255,255,.72), rgba(198,190,255,.2) 19%, transparent 48%); mix-blend-mode: screen; opacity: var(--proto-glow-opacity); transition: opacity .18s ease; }
.proto-browser-bar { display: flex; align-items: center; gap: 12px; height: 41px; padding: 0 14px; border-bottom: 1px solid #ececf3; background: #fcfcfe; }
.proto-window-dots { display: inline-flex; gap: 5px; }
.proto-window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #d6d6e0; }
.proto-window-dots i:first-child { background: #f2a0a2; }.proto-window-dots i:nth-child(2) { background: #f1d48d; }.proto-window-dots i:nth-child(3) { background: #a3dcbe; }
.proto-url { display: inline-flex; align-items: center; gap: 5px; flex: 1; height: 24px; padding: 0 10px; color: #7d7f8d; background: #f2f2f7; border-radius: 6px; font-family: var(--mono); font-size: 10px; }
.proto-url b { color: #55af82; font-size: 12px; }
.proto-browser-more { color: #a4a5b2; font-size: 15px; letter-spacing: 2px; }
.proto-profile-page { position: relative; min-height: 370px; padding: 22px 29px 26px; overflow: hidden; background: linear-gradient(135deg, #fff 12%, #faf9ff 100%); }
.proto-pulse-canvas { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: .9; }
.proto-profile-page > :not(.proto-pulse-canvas) { position: relative; z-index: 2; }
.proto-profile-top, .proto-profile-bottom { display: flex; align-items: center; justify-content: space-between; color: #a0a1ae; font-family: var(--mono); font-size: 8px; letter-spacing: .09em; }
.proto-mini-action { color: #6256d7; }
.proto-profile-main { display: flex; align-items: center; gap: 22px; margin: 34px 0 30px 9%; }
.proto-profile-avatar { display: grid; place-items: center; width: 83px; height: 83px; color: #fff; background: linear-gradient(135deg, #b4aaff, #6659df); border-radius: 50%; box-shadow: 0 0 0 9px #f2f0ff, 0 14px 24px rgba(100,86,214,.22); font-size: 34px; font-weight: 700; }
.proto-profile-main p { margin: 0 0 7px; color: #7367dc; font-family: var(--mono); font-size: 8px; letter-spacing: .14em; }
.proto-profile-main h2 { margin: 0; color: #202031; font-size: 38px; letter-spacing: -.08em; line-height: .92; }
.proto-profile-main h2 span { color: #7469e0; }
.proto-profile-line { width: 70px; height: 1px; margin: 13px 0 8px; background: #c8c4ef; }
.proto-profile-main small { color: #8d8f9b; font-size: 9px; line-height: 1.5; }
.proto-profile-bottom { padding-top: 15px; border-top: 1px solid #ededf4; }
.proto-profile-projects { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 9px; margin-top: 12px; }
.proto-project { display: flex; flex-direction: column; justify-content: space-between; height: 94px; padding: 11px; border-radius: 10px; }
.proto-project span { color: rgba(255,255,255,.65); font-family: var(--mono); font-size: 8px; }.proto-project b { color: #fff; font-size: 12px; letter-spacing: -.03em; line-height: 1.1; }.proto-project-purple { background: linear-gradient(135deg, #7568e8, #4d42c5); }.proto-project-cream { background: #f2e6cd; }.proto-project-cream span, .proto-project-cream b { color: #705c43; }.proto-project-lilac { background: #dfdcfb; }.proto-project-lilac span, .proto-project-lilac b { color: #675cc8; }
.proto-a-note { --proto-note-x: 0px; --proto-note-y: 0px; position: absolute; z-index: 4; display: flex; align-items: center; gap: 9px; padding: 11px 13px; color: #636676; background: rgba(255,255,255,.89); border: 1px solid rgba(222,220,245,.96); border-radius: 12px; box-shadow: 0 12px 25px rgba(63,53,151,.12); font-size: 10px; backdrop-filter: blur(12px); transform: translate3d(var(--proto-note-x), var(--proto-note-y), 0); will-change: transform; }
.proto-a-note b { color: #786ce9; font-family: var(--mono); font-size: 9px; }.proto-a-note i { display: grid; place-items: center; width: 17px; height: 17px; color: #47aa76; background: #eaf8ef; border-radius: 50%; font-size: 10px; font-style: normal; }.proto-a-note-bottom i { color: #fff; background: #7669e5; }.proto-a-note-top { top: 36px; right: 0; }.proto-a-note-bottom { bottom: -26px; left: 0; }
.proto-a-proof { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 27px 0 58px; border-top: 1px solid #e5e4ef; }
.proto-a-proof div { display: grid; grid-template-columns: 34px 1fr; column-gap: 11px; }.proto-a-proof span { grid-row: span 2; color: #7a6de4; font-family: var(--mono); font-size: 10px; }.proto-a-proof strong { color: #2a2a38; font-size: 13px; }.proto-a-proof p { margin-top: 5px; color: #9698a6; font-size: 11px; line-height: 1.6; }

/* A — 完整首页内容：沿用 Hero 的轻盈紫白层次，把原首页信息收拢到同一条叙事里 */
.proto-a-full-section { position: relative; z-index: 1; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 100px 0; }
.proto-a-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 38px; }
.proto-a-section-heading.centered { display: flex; flex-direction: column; align-items: center; gap: 0; text-align: center; }
.proto-a-section-heading h2 { margin: 15px 0 0; color: #222234; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.075em; line-height: 1.05; }
.proto-ai-shimmer { display: inline-block; color: transparent; font-weight: 800; white-space: nowrap; background: linear-gradient(90deg, #4f42cf 0%, #6957e5 10%, #8d7cf2 20%, #c18be9 31%, #7462e8 40%, #4f42cf 50%, #6957e5 60%, #8d7cf2 70%, #c18be9 81%, #7462e8 90%, #4f42cf 100%); background-size: 200% 100%; background-position: 0 0; background-clip: text; -webkit-background-clip: text; will-change: background-position; animation: proto-ai-shimmer-flow 10.8s linear infinite; }
@keyframes proto-ai-shimmer-flow { 0% { background-position: 0 0; } 100% { background-position: 100% 0; } }
.proto-a-section-heading:has(.proto-ai-shimmer) { position: relative; }
.proto-ai-spark { position: absolute; z-index: 3; width: 10px; height: 10px; pointer-events: none; background: radial-gradient(circle at 35% 30%, #fff 0 9%, #b9aaff 30%, #7054f2 100%); clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%); filter: drop-shadow(0 0 10px rgba(112,84,242,.95)) saturate(1.3); transform: translate(-50%, -50%) rotate(0deg) scale(.35); animation: proto-ai-spark-rise 1080ms cubic-bezier(.2,.7,.35,1) var(--spark-delay) forwards; }
.proto-ai-spark:nth-of-type(3n) { width: 9px; height: 9px; background: radial-gradient(circle at 35% 30%, #fff 0 9%, #ff91df 30%, #eb4fc2 100%); filter: drop-shadow(0 0 10px rgba(235,79,194,.92)) saturate(1.3); }
.proto-ai-spark:nth-of-type(4n) { width: 9px; height: 9px; background: radial-gradient(circle at 35% 30%, #fff 0 9%, #8befff 30%, #20c7e7 100%); filter: drop-shadow(0 0 10px rgba(32,199,231,.9)) saturate(1.3); }
.proto-ai-spark:nth-of-type(5n) { width: 11px; height: 11px; background: radial-gradient(circle at 35% 30%, #fff 0 9%, #c8b9ff 30%, #8b65ff 100%); filter: drop-shadow(0 0 11px rgba(139,101,255,.98)) saturate(1.3); }
@keyframes proto-ai-spark-rise { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--spark-rotate)) scale(.14); } 14% { opacity: 1; transform: translate(-50%, -50%) rotate(var(--spark-rotate)) scale(.95); } 68% { opacity: .82; } 100% { opacity: 0; transform: translate(calc(-50% + var(--spark-x)), calc(-50% + var(--spark-y) + 18px)) rotate(calc(var(--spark-rotate) + 110deg)) scale(.02); } }
.proto-a-section-heading > p { max-width: 370px; margin: 0 0 4px; color: #858795; font-size: 13px; line-height: 1.8; }
.proto-a-section-heading > .proto-steps-sub { max-width: 415px; color: #858795; line-height: 1.9; }
.proto-steps-sub strong { color: #5b4fd8; font-weight: 760; background: linear-gradient(transparent 65%, rgba(231,227,255,.95) 65%, rgba(231,227,255,.95) 92%, transparent 92%); }
.proto-steps-sub em { color: #2d2d42; font-style: normal; font-weight: 700; }
.proto-a-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.proto-a-step-grid article { position: relative; min-height: 218px; padding: 25px 25px 23px; border: 1px solid #e6e4f2; border-radius: 17px; background: rgba(255,255,255,.64); box-shadow: 0 18px 42px -34px rgba(71,58,172,.38); }
.proto-a-step-grid article::after { content: ""; position: absolute; right: 22px; bottom: 22px; width: 42px; height: 1px; background: linear-gradient(90deg, #cfcaf9, transparent); }
.proto-a-step-grid article > b { color: #7568e4; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; }
.proto-a-step-icon { display: grid; place-items: center; width: 37px; height: 37px; margin: 42px 0 22px; color: #6558df; background: #eeecff; border-radius: 11px; font-size: 17px; }
.proto-a-step-grid h3, .proto-a-feature-grid h3 { margin: 0 0 8px; color: #29293a; font-size: 16px; letter-spacing: -.035em; }
.proto-a-step-grid p, .proto-a-feature-grid p { max-width: 255px; margin: 0; color: #898b99; font-size: 12px; line-height: 1.75; }
.proto-a-step-grid p strong { color: #6558df; font-weight: 700; }
.proto-a-features { padding-top: 25px; }
.proto-a-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 38px; }
.proto-a-feature-grid article { min-height: 176px; padding: 25px 21px; border-top: 1px solid #dedcf1; }
.proto-a-feature-grid article > span { display: grid; place-items: center; width: 29px; height: 29px; margin-bottom: 25px; color: #6659d9; background: #f0eeff; border-radius: 9px; font-size: 14px; }
.proto-a-possibility-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-top: 24px; padding: 22px 24px; border: 1px solid #ddd9f4; border-radius: 18px; background: linear-gradient(105deg, rgba(239,236,255,.82), rgba(255,255,255,.78) 72%); box-shadow: 0 18px 40px -32px rgba(71,58,172,.42); }
.proto-a-possibility-mark { display: grid; place-items: center; width: 40px; height: 40px; color: #6558df; background: #e9e5ff; border: 1px solid #d9d2ff; border-radius: 12px; font-size: 17px; }
.proto-a-possibility-kicker { color: #6558df; font-family: var(--mono); font-size: 13px; font-weight: 760; letter-spacing: .04em; }
.proto-a-possibility-copy h3 { margin: 7px 0 5px; color: #2a2a3a; font-size: 18px; letter-spacing: -.045em; }
.proto-a-possibility-copy p { max-width: 620px; margin: 0; color: #858795; font-size: 12px; line-height: 1.8; }
.proto-a-possibility-copy strong { color: #6558df; font-weight: 700; }
.proto-a-possibility-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 260px; }
.proto-a-possibility-tags span { padding: 7px 10px; color: #675bd1; background: rgba(255,255,255,.7); border: 1px solid #ddd8ff; border-radius: 999px; font-size: 10px; white-space: nowrap; }
.proto-a-pricing { padding-top: 76px; }
.proto-a-section-heading.centered > p { max-width: 600px; margin: 15px auto 0; color: #858795; font-size: 13px; line-height: 1.75; }
.proto-a-price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 41px; }
.proto-a-price-card { position: relative; display: flex; flex-direction: column; min-height: 465px; padding: 31px; border: 1px solid #e2e0ed; border-radius: 22px; background: rgba(255,255,255,.85); box-shadow: 0 22px 48px -38px rgba(66,54,166,.34); }
.proto-a-price-card.is-featured { border-color: #cfc9ff; background: linear-gradient(145deg, #fff 14%, #f4f1ff 100%); box-shadow: 0 27px 60px -37px rgba(80,65,201,.48); }
.proto-a-price-badge { position: absolute; top: 20px; right: 22px; padding: 7px 11px; color: #5f52d2; background: #eeebff; border: 1px solid #dad5ff; border-radius: 999px; font-size: 10px; font-weight: 650; }
.proto-a-price-head { display: flex; align-items: flex-start; justify-content: space-between; min-height: 65px; padding-right: 64px; }
.proto-a-price-head span { color: #9698a6; font-size: 11px; }.proto-a-price-head h3 { margin: 9px 0 0; color: #29293a; font-size: 25px; letter-spacing: -.06em; }.proto-a-price-head > strong { color: #5649d2; font-size: 37px; letter-spacing: -.08em; }.proto-a-price-head > strong small { display: block; margin-top: 2px; color: #999aa7; font-size: 11px; font-weight: 400; letter-spacing: 0; text-align: right; }
.proto-a-price-description { min-height: 42px; margin: 19px 0 20px; color: #787a89; font-size: 12px; line-height: 1.7; }
.proto-a-token-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }.proto-a-token-grid div { padding: 14px; border: 1px solid #e9e8f2; border-radius: 11px; background: #f8f8fb; }.proto-a-token-grid span { display: block; margin-bottom: 8px; color: #999ba8; font-size: 10px; }.proto-a-token-grid b { color: #2b2b3a; font-size: 20px; letter-spacing: -.04em; }
.proto-a-price-card ul { display: grid; gap: 10px; margin: 22px 0 25px; padding: 0; list-style: none; color: #676979; font-size: 12px; }.proto-a-price-card li::before { content: "✓"; display: inline-block; width: 21px; color: #29a968; font-weight: 700; }
.proto-a-price-action { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; margin-top: auto; color: #fff; background: linear-gradient(135deg, #7669ea, #5144ce); border-radius: 11px; text-decoration: none; font-size: 13px; font-weight: 650; box-shadow: 0 14px 25px -19px rgba(71,57,190,.82); }.proto-a-price-action span { font-size: 16px; }.proto-a-price-action.is-outline { color: #5c50d3; background: #fff; border: 1px solid #d7d2ff; box-shadow: none; }
.proto-a-pricing-note { display: flex; justify-content: center; gap: 11px; margin-top: 20px; color: #989aa8; font-size: 10px; }.proto-a-pricing-note b { color: #696b7b; }
.proto-a-final-cta { position: relative; z-index: 1; margin-top: 10px; padding: 105px 24px 145px; overflow: hidden; text-align: center; background: linear-gradient(145deg, #e9e6ff, #f7f6ff 66%, #fff); }.proto-a-final-cta::before { content: ""; position: absolute; top: -180px; left: 50%; width: 570px; height: 360px; border-radius: 50%; background: radial-gradient(ellipse, rgba(130,112,236,.25), transparent 68%); transform: translateX(-50%); }.proto-a-final-cta h2 { position: relative; max-width: 720px; margin: 20px auto 29px; color: #252536; font-size: clamp(34px, 5vw, 62px); letter-spacing: -.08em; line-height: 1.05; }.proto-a-final-cta .proto-primary { position: relative; }

/* B — 提示词工作台：让 AI 入口成为首页主角 */
.proto-b-main { position: relative; z-index: 1; width: min(1080px, calc(100% - 64px)); margin: 0 auto; padding: 86px 0 90px; }.proto-b-intro { max-width: 620px; }.proto-b-intro h1 { margin: 24px 0 18px; font-size: clamp(50px, 6vw, 78px); letter-spacing: -.08em; line-height: 1.02; }.proto-b-intro p { max-width: 430px; color: #777987; font-size: 15px; line-height: 1.8; }.proto-b-workspace { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; margin-top: 62px; padding: 10px; background: #e8e5fb; border: 1px solid #d7d2f6; border-radius: 25px; box-shadow: 0 30px 70px -36px rgba(68,56,171,.42); }.proto-prompt-panel { padding: 42px 36px; border-radius: 17px; background: linear-gradient(145deg, #675be0, #4a3fc1); color: #fff; }.proto-panel-label { color: rgba(255,255,255,.62); font-family: var(--mono); font-size: 9px; letter-spacing: .16em; }.proto-prompt-panel h2 { margin: 46px 0 14px; font-size: 31px; letter-spacing: -.06em; line-height: 1.16; }.proto-prompt-panel h2 em { color: #cfc9ff; font-style: normal; }.proto-prompt-panel p { color: rgba(255,255,255,.69); font-size: 12px; line-height: 1.75; }.proto-prompt-input { display: flex; align-items: center; gap: 8px; margin-top: 29px; padding: 12px 13px; color: #5045bf; background: #fff; border-radius: 11px; font-size: 11px; }.proto-prompt-input span { flex: 1; }.proto-prompt-input b { font-size: 17px; }.proto-prompt-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 15px; }.proto-prompt-hints span { width: 100%; color: rgba(255,255,255,.56); font-size: 10px; }.proto-prompt-hints button { padding: 6px 9px; color: rgba(255,255,255,.76); background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; font: inherit; font-size: 10px; }.proto-workspace-preview { padding: 25px 27px 27px; border-radius: 17px; background: #fff; }.proto-preview-label { display: flex; align-items: center; gap: 7px; color: #9a9caa; font-family: var(--mono); font-size: 9px; letter-spacing: .13em; }.proto-preview-label span { width: 6px; height: 6px; border-radius: 50%; background: #55b27d; box-shadow: 0 0 0 3px rgba(85,178,125,.14); }.proto-b-page { min-height: 340px; margin-top: 19px; padding: 21px; overflow: hidden; background: #f9f9fc; border: 1px solid #ededf4; border-radius: 12px; }.proto-b-page-nav { display: flex; align-items: center; gap: 19px; color: #888b9b; font-family: var(--mono); font-size: 8px; }.proto-b-page-nav b { margin-right: auto; color: #6357d5; font-size: 13px; }.proto-b-page-hero { margin: 74px 0 50px 9%; }.proto-b-page-hero small { color: #7468dd; font-family: var(--mono); font-size: 8px; letter-spacing: .1em; }.proto-b-page-hero h2 { margin: 14px 0 21px; color: #252535; font-size: 34px; letter-spacing: -.07em; line-height: 1.03; }.proto-b-page-hero h2 em { color: #7468dd; font-style: normal; }.proto-b-page-hero a { color: #5d51cf; font-size: 10px; }.proto-b-page-card { display: flex; align-items: flex-end; justify-content: space-between; padding: 14px 16px; color: #fff; background: linear-gradient(135deg, #7b70e9, #5347cc); border-radius: 9px; }.proto-b-page-card span { align-self: flex-start; color: rgba(255,255,255,.63); font-family: var(--mono); font-size: 8px; }.proto-b-page-card strong { font-size: 14px; letter-spacing: -.04em; line-height: 1.05; }.proto-b-page-card i { font-size: 18px; font-style: normal; }

/* C — 编辑感长页：更安静、更像个人品牌首页 */
.proto-c-main { position: relative; z-index: 1; width: min(1080px, calc(100% - 64px)); margin: 0 auto; padding: 100px 0 90px; }.proto-c-hero { max-width: 730px; }.proto-c-hero h1 { margin: 25px 0 20px; font-size: clamp(54px, 7vw, 92px); letter-spacing: -.095em; line-height: .98; }.proto-c-hero p { max-width: 475px; margin-bottom: 28px; color: #747685; font-size: 15px; line-height: 1.85; }.proto-c-board { margin-top: 96px; padding: 17px; border: 1px solid #e0deef; border-radius: 21px; background: rgba(255,255,255,.72); box-shadow: 0 32px 68px -40px rgba(68,57,161,.38); }.proto-c-board-head { display: flex; justify-content: space-between; padding: 4px 7px 15px; color: #9c9daa; font-family: var(--mono); font-size: 9px; letter-spacing: .14em; }.proto-c-board-body { position: relative; min-height: 370px; overflow: hidden; padding: 34px 39px; border-radius: 13px; background: #f2f0ff; }.proto-c-index { display: flex; flex-direction: column; gap: 15px; color: #a19dbd; font-family: var(--mono); font-size: 9px; }.proto-c-index span:first-child { color: #5c50d3; }.proto-c-card { position: absolute; top: 48px; left: 25%; width: 49%; min-height: 275px; padding: 29px 32px; background: #fff; border-radius: 10px; box-shadow: 0 22px 40px -23px rgba(74,61,170,.3); transform: rotate(-2deg); }.proto-c-card small { color: #8076df; font-family: var(--mono); font-size: 8px; letter-spacing: .12em; }.proto-c-card h2 { margin: 62px 0 58px; color: #242436; font-size: 37px; letter-spacing: -.08em; line-height: .99; }.proto-c-card h2 em { color: #776be3; font-style: normal; }.proto-c-card-meta { display: flex; justify-content: space-between; color: #9fa0ad; font-family: var(--mono); font-size: 8px; }.proto-c-side-note { position: absolute; right: 9%; bottom: 42px; color: #7468db; font-size: 12px; font-weight: 650; line-height: 1.6; }

.proto-switcher { position: fixed; z-index: 30; bottom: 22px; left: 50%; display: flex; align-items: center; gap: 13px; min-width: 228px; padding: 9px 11px; color: #fff; background: rgba(30,28,63,.92); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; box-shadow: 0 13px 32px rgba(35,29,91,.25); transform: translateX(-50%); backdrop-filter: blur(14px); }.proto-switcher button { display: grid; place-items: center; width: 27px; height: 27px; padding: 0; color: #fff; background: rgba(255,255,255,.1); border: 0; border-radius: 50%; font-size: 16px; cursor: pointer; }.proto-switcher button:hover { background: rgba(255,255,255,.2); }.proto-switcher span { display: flex; flex: 1; flex-direction: column; gap: 1px; text-align: center; }.proto-switcher b { font-size: 11px; font-weight: 650; }.proto-switcher small { color: rgba(255,255,255,.56); font-size: 9px; }

@media (max-width: 900px) {
  .proto-nav { width: 100%; padding-left: 18px; padding-right: 18px; }
  .proto-a-hero, .proto-a-proof, .proto-b-main, .proto-c-main, .proto-a-full-section { width: min(100% - 36px, 680px); }
  .proto-nav { height: 68px; }.proto-nav-links a:not(.proto-nav-cta) { display: none; }.proto-nav-links { gap: 0; }.proto-nav-links .proto-nav-cta { padding: 8px 11px; font-size: 11px; }
  .proto-a-hero { display: flex; flex-direction: column; align-items: stretch; gap: 26px; min-height: 0; padding: 70px 0 60px; }.proto-a-copy h1 { font-size: clamp(42px, 10vw, 67px); }.proto-actions { flex-direction: column; align-items: stretch; gap: 8px; }.proto-a-stage { min-height: 440px; }.proto-browser { left: 3%; width: 90%; }.proto-a-proof { grid-template-columns: 1fr; gap: 19px; }.proto-a-proof div { max-width: 440px; }
  .proto-a-full-section { padding: 72px 0; }.proto-a-section-heading { display: block; }.proto-a-section-heading > p { margin-top: 19px; }.proto-a-step-grid { grid-template-columns: 1fr; }.proto-a-step-grid article { min-height: 170px; }.proto-a-step-icon { margin-top: 27px; }.proto-a-feature-grid { grid-template-columns: repeat(2, 1fr); }.proto-a-possibility-card { grid-template-columns: auto minmax(0, 1fr); }.proto-a-possibility-tags { grid-column: 2; justify-content: flex-start; max-width: none; }.proto-a-price-grid { grid-template-columns: 1fr; }.proto-a-price-card { min-height: 0; }.proto-a-pricing-note { flex-direction: column; align-items: center; text-align: center; }
  .proto-b-main, .proto-c-main { padding-top: 70px; }.proto-b-workspace { grid-template-columns: 1fr; }.proto-prompt-panel { padding: 31px 27px; }.proto-prompt-panel h2 { margin-top: 30px; }.proto-c-board { margin-top: 64px; }.proto-c-card { left: 15%; width: 66%; }
}
@media (max-width: 520px) {
  .proto-nav { padding-left: 14px; padding-right: 14px; }.proto-brand { font-size: 15px; }.proto-brand-lockup { height: 32px; }.proto-nav-cta span { display: none; }.proto-a-hero, .proto-b-main, .proto-c-main, .proto-a-full-section { width: calc(100% - 28px); }.proto-a-hero { padding-top: 50px; }.proto-a-copy h1 { font-size: 43px; }.proto-lead { font-size: 14px; }.proto-actions { align-items: stretch; flex-direction: column; gap: 5px; }.proto-primary, .proto-secondary { width: 100%; }.proto-trust { flex-wrap: wrap; line-height: 1.6; }.proto-a-stage { min-height: 320px; transform: scale(.95); transform-origin: top center; margin-bottom: -26px; }.proto-browser { top: 38px; left: 0; width: 100%; }.proto-profile-page { padding: 18px 18px 20px; }.proto-profile-main { margin-left: 3%; }.proto-profile-avatar { width: 65px; height: 65px; font-size: 26px; }.proto-profile-main h2 { font-size: 28px; }.proto-profile-projects { gap: 5px; }.proto-project { height: 70px; padding: 8px; }.proto-project b { font-size: 9px; }.proto-a-note { padding: 8px 9px; font-size: 8px; }.proto-a-note-top { right: -3px; }.proto-a-note-bottom { left: -3px; }.proto-switcher { bottom: 12px; }.proto-a-section-heading h2 { font-size: 37px; }.proto-a-feature-grid { gap: 7px; }.proto-a-feature-grid article { min-height: 190px; padding: 20px 15px; }.proto-a-feature-grid p { font-size: 11px; }.proto-a-price-card { padding: 23px 19px; }.proto-a-price-head > strong { font-size: 31px; }.proto-a-price-description { min-height: 0; }.proto-b-intro h1, .proto-c-hero h1 { font-size: 53px; }.proto-b-workspace { margin-top: 42px; }.proto-workspace-preview { padding: 18px; }.proto-b-page { min-height: 300px; padding: 16px; }.proto-b-page-hero { margin-top: 57px; }.proto-b-page-hero h2 { font-size: 29px; }.proto-c-board-body { min-height: 320px; padding: 24px; }.proto-c-card { top: 41px; left: 11%; width: 75%; min-height: 235px; padding: 24px; }.proto-c-card h2 { margin: 50px 0 44px; font-size: 29px; }.proto-c-side-note { right: 6%; bottom: 25px; font-size: 10px; }
  .proto-a-possibility-card { grid-template-columns: auto minmax(0, 1fr); gap: 13px; padding: 18px; }.proto-a-possibility-mark { width: 34px; height: 34px; }.proto-a-possibility-kicker { font-size: 11px; }.proto-a-possibility-copy h3 { font-size: 16px; }.proto-a-possibility-copy p { font-size: 11px; }.proto-a-possibility-tags { grid-column: 1 / -1; }
  .proto-deploy-trigger-wrap::after { display: none; }
  .proto-agent-popover { position: relative; top: auto; left: auto; width: 100%; height: 48px; min-height: 48px; margin-top: 7px; padding-right: 38px; border-radius: 13px; opacity: 1; pointer-events: auto; transform: none; }
  .proto-agent-popover::before { left: 27px; top: -7px; transform: rotate(45deg); }
  .proto-deploy-trigger-wrap:hover .proto-agent-popover, .proto-deploy-trigger-wrap:focus-within .proto-agent-popover, .proto-deploy-trigger-wrap.is-open .proto-agent-popover { transform: none; }
  .proto-deploy-trigger-wrap.is-returning .proto-agent-popover { opacity: 0; pointer-events: none; transform: none; }
}
