:root {
  /* === Japanese Trust Studio palette (新) === */
  --color-bg-deep: #07131F;
  --color-bg-navy: #0B1B2B;
  --color-card: #102033;
  --color-card-soft: #152A3E;
  --color-primary: #F6C945;
  --color-primary-hover: #FFD96A;
  --color-sakura: #F7B7C8;
  --color-sakura-soft: #FFE8EF;
  --color-cyan: #5ED3F3;
  --color-text-main: #F8FAFC;
  --color-text-muted: #AAB7C4;
  --color-trust-bg: #F7F9FB;
  --color-trust-text: #1D2939;
  --color-border: rgba(255, 255, 255, 0.12);

  /* === Legacy tokens(保留,旧页面继续兼容) === */
  --bg: #07131F;
  --bg-2: #0B1B2B;
  --panel: rgba(9, 18, 32, 0.72);
  --panel-soft: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 210, 31, 0.22);
  --text: #F8FAFC;
  --muted: #c8d6e6;
  --dim: #AAB7C4;
  --gold: #F6C945;
  --cream: #fff5b0;
  --cyan: #5ED3F3;
  --blue: #2f82ff;
  --orange: #ff7b54;
  --green: #66f1ad;
  --red: #ff8b99;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", "PingFang SC", "Microsoft YaHei", "Source Han Sans CN", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* "palt" = プロポーショナルメトリクス。日本語の文字間が均等に詰まり、句読点の前後の白も自然になる */
  font-feature-settings: "palt", "kern", "liga", "calt";
  text-rendering: optimizeLegibility;
  /* 日本語は letter-spacing 0.02-0.03em で見やすくなる */
  letter-spacing: 0.02em;
  /* 行間は 1.7 が日本語の golden ratio */
  line-height: 1.75;
}

/* =============================================================
   日本語タイポグラフィの最適化(日本人が無意識に「読みやすい」と感じる調整)
   ============================================================= */

html[lang="ja"] body,
body.jp-page,
html[lang="ja"] {
  font-feature-settings: "palt", "kern";
  letter-spacing: 0.025em;
}

/* 見出しは詰めすぎず、余白を取る */
html[lang="ja"] h1,
html[lang="ja"] h2,
body.jp-page h1,
body.jp-page h2,
body.jp-page .jp-section__title {
  letter-spacing: 0.01em;
  line-height: 1.45;
  /* 「ぶら下げ」風の自然な右側ホワイトスペース */
}

/* 本文 p は 1.85 行間で「ふわっと」読める */
body.jp-page p,
body.jp-page .jp-section__sub,
html[lang="ja"] p {
  line-height: 1.85;
  letter-spacing: 0.03em;
}

/* 小さなテキスト(キャプション・サブ)は letter-spacing をさらに */
body.jp-page small,
body.jp-page .jp-tpl__use,
body.jp-page .jp-trust-bar__item {
  letter-spacing: 0.04em;
}

/* CTA ボタンは詰めて力強く */
body.jp-page .jp-btn-primary,
body.jp-page .jp-btn-ghost,
body.jp-page .jp-plan__cta,
body.jp-page .jp-tpl__cta {
  letter-spacing: 0.06em;
  font-feature-settings: "palt";
}

/* 表組は数字を等幅に(¥980 と ¥9,800 が綺麗に揃う) */
body.jp-page .jp-plan__price,
body.jp-page .data-table td,
body.jp-page .stat-card__num,
body.jp-page .metric-tile__value {
  font-variant-numeric: tabular-nums;
}

/* 句読点の前後を半角に近づける(日本人 designer が必ずやる調整) */
body.jp-page .jp-section__sub,
body.jp-page .jp-hero__copy p {
  text-spacing: ideograph-numeric ideograph-alpha;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
}

.spart-shell-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 210, 31, 0.18), transparent 24%),
    radial-gradient(circle at 88% 8%, rgba(38, 217, 230, 0.18), transparent 24%),
    linear-gradient(145deg, var(--bg) 0%, #0b1d36 48%, #12344a 100%);
}

.model-page {
  background:
    radial-gradient(circle at 16% 18%, rgba(38, 217, 230, 0.2), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(102, 241, 173, 0.13), transparent 24%),
    linear-gradient(145deg, #06131f 0%, #0b2035 54%, #102a3d 100%);
}

.pricing-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 210, 31, 0.18), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(255, 123, 84, 0.18), transparent 22%),
    linear-gradient(145deg, #07111d 0%, #102033 52%, #182b39 100%);
}

.community-page {
  background:
    radial-gradient(circle at 22% 12%, rgba(47, 130, 255, 0.2), transparent 26%),
    radial-gradient(circle at 78% 20%, rgba(38, 217, 230, 0.16), transparent 24%),
    linear-gradient(145deg, #06111d 0%, #0a243c 55%, #0d3348 100%);
}

.reward-page {
  background:
    radial-gradient(circle at 8% 16%, rgba(255, 210, 31, 0.2), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(102, 241, 173, 0.14), transparent 24%),
    linear-gradient(145deg, #09121d 0%, #132033 50%, #1f3036 100%);
}

.spart-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(16px, 3vw, 32px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 15, 27, 0.84);
  backdrop-filter: blur(18px);
}

.portal-topbar,
.auth-topbar {
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
  font-size: 18px;
}

.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.spart-search {
  flex: 1;
  max-width: 520px;
  height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.spart-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.spart-search span,
.spart-search input::placeholder {
  color: #9cb4c8;
}

.spart-top-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spart-top-links a {
  color: #dce8f4;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.spart-top-links a:hover {
  color: #fff;
}

.spart-top-links a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.spart-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.soft-action,
.avatar-btn,
.console-submit,
.hero-cta-row a,
.comfy-actions a,
.portal-actions a,
.portal-cta a,
.portal-price a,
.auth-submit,
.reward-entry-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 900;
}

.soft-action {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.avatar-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 2px solid #6095ff;
  color: #63f4ff;
  background: rgba(12, 28, 50, 0.72);
}

.spart-home,
.portal-page {
  width: min(1320px, calc(100vw - 56px));
  margin: 0 auto;
  padding: 26px 0 72px;
}

.clean-home {
  display: grid;
  gap: 22px;
}

.spart-hero,
.comfy-fusion,
.portal-hero,
.portal-section,
.portal-cta,
.auth-copy,
.auth-card,
.reward-entry-strip {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    var(--panel);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.22);
}

.spart-hero,
.comfy-fusion,
.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 28px;
  align-items: stretch;
  padding: 36px;
}

.spart-hero {
  position: relative;
  min-height: 560px;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 44px 34px;
  background:
    linear-gradient(180deg, rgba(4, 8, 15, 0.35), rgba(4, 8, 15, 0.82)),
    url("./assets/seedance-console.png") center / cover;
}

/* 当 .spart-hero 只剩 console（首页第二屏）时，去掉为标题预留的顶部空间 */
.spart-hero > .hero-console:only-child {
  margin-top: 0;
}

.spart-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 210, 31, 0.22), transparent 24%),
    linear-gradient(90deg, rgba(4, 8, 15, 0.76), rgba(4, 8, 15, 0.36), rgba(4, 8, 15, 0.78));
  backdrop-filter: blur(1px);
}

.portal-hero {
  grid-template-columns: minmax(0, 1fr) 340px;
  margin-bottom: 22px;
}

.hero-copy-shell,
.comfy-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy-shell {
  align-items: center;
  text-align: center;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.44);
}

.eyebrow,
.comfy-copy p,
.portal-kicker,
.portal-section > p,
.portal-card > span,
.portal-cta p,
.auth-copy p,
.reward-entry-strip p {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-copy-shell h1,
.comfy-copy h2,
.portal-hero h1,
.auth-copy h1 {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--cream);
  font-size: 48px;
  line-height: 1.1;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
}

.hero-copy-shell p,
.comfy-copy span,
.portal-hero > div > span,
.portal-section > span,
.portal-cta span,
.auth-copy > span,
.reward-entry-strip span {
  max-width: 720px;
  margin: 0;
  color: #dce8f4;
  font-size: 17px;
  line-height: 29px;
}

.hero-cta-row,
.comfy-actions,
.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-cta-row a:first-child,
.portal-actions a:first-child {
  background: #fff;
  color: #0b1424;
}

.hero-cta-row a:last-child,
.comfy-actions a,
.portal-actions a:last-child,
.portal-cta a,
.portal-price a,
.auth-submit,
.reward-entry-strip a {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #081326;
}

.comfy-actions a:last-child {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px var(--line);
}

/* ============================================================
   Hero Masonry — 首屏作品拼贴
   ============================================================ */
.hero-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 235px;
  grid-auto-flow: dense;
  gap: 14px;
  margin-bottom: 22px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, #1c2845, #0a1426);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  isolation: isolate;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 0;
}

.work-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.4);
  border-color: var(--gold);
}

.work-card[data-tag]::before {
  content: attr(data-tag);
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: rgba(8, 19, 38, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}

.work-prompt {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

/* 作品色调（深蓝黑底 + 副色，全部在 Spart Studio 色系内，避免抄袭竞品） */
.work-card[data-tone="indigo"]   { background: linear-gradient(135deg, #1e2a5e 0%, #0b1530 100%); }
.work-card[data-tone="teal"]     { background: linear-gradient(135deg, #0e3a4a 0%, #0a1f2a 100%); }
.work-card[data-tone="emerald"]  { background: linear-gradient(135deg, #114a3a 0%, #08231f 100%); }
.work-card[data-tone="violet"]   { background: linear-gradient(135deg, #3a1a5c 0%, #160b2e 100%); }
.work-card[data-tone="rose"]     { background: linear-gradient(135deg, #5a1f3e 0%, #1f0c20 100%); }
.work-card[data-tone="midnight"] { background: linear-gradient(135deg, #0b1530 0%, #050912 100%); }
.work-card[data-tone="amber"]    { background: linear-gradient(135deg, #5c3a0d 0%, #1f1408 100%); }
.work-card[data-tone="ocean"]    { background: linear-gradient(135deg, #143a5c 0%, #081628 100%); }

/* 网格中的特殊尺寸 */
.work-text {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  cursor: default;
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 210, 31, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(96, 149, 255, 0.14), transparent 50%),
    #0a1426;
}

.work-text::after,
.work-text::before {
  display: none;
}

.work-text:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.work-text .eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 12px;
}

.work-text h1 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.work-text p {
  margin: 0;
  color: #b8c8da;
  font-size: 15px;
  line-height: 1.55;
}

.work-text .hero-cta-row {
  margin-top: 22px;
}

.work-wide  { grid-column: span 2; }
.work-tall  { grid-row: span 2; }

/* ≤960 平板：3 列，text 卡仍占 2×2 */
@media (max-width: 960px) {
  .hero-masonry {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }
  .work-text {
    grid-column: span 3;
    grid-row: span 1;
  }
  .work-wide { grid-column: span 2; }
}

/* ≤640 手机：2 列 */
@media (max-width: 640px) {
  .hero-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: 10px;
  }
  .work-text {
    grid-column: span 2;
    padding: 24px;
  }
  .work-wide { grid-column: span 2; }
}

.hero-console {
  width: min(680px, 100%);
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  margin-top: 210px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  color: #0b1424;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.console-tabs button,
.console-submit,
.model-kind,
.model-chip {
  height: 46px;
  border-radius: 14px;
  background: #e9edf3;
  color: #243244;
  font-weight: 900;
}

.console-tabs button.active,
.console-submit {
  background: linear-gradient(135deg, var(--gold), var(--blue));
  color: #fff;
}

.upload-slot,
.hero-console textarea {
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: #f2f5f8;
}

.upload-slot {
  height: 58px;
  display: grid;
  place-items: center;
  color: #8290a1;
  font-weight: 900;
}

.hero-console textarea {
  min-height: 86px;
  padding: 16px;
  resize: vertical;
  outline: 0;
  color: #0b1424;
}

.hero-console textarea::placeholder {
  color: #66778c;
}

.model-panel {
  position: relative;
  display: grid;
  gap: 12px;
}

.model-panel:not(.open) .model-menu {
  display: none;
}

.model-menu {
  position: absolute;
  left: 50%;
  bottom: 76px;
  z-index: 2;
  width: min(460px, calc(100% - 28px));
  transform: translateX(-50%);
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  color: #0b1424;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.model-menu p {
  margin: 0 0 2px;
  color: #728094;
  font-size: 12px;
  font-weight: 800;
}

.model-menu article {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  cursor: pointer;
  outline: 0;
}

.model-menu article.active,
.model-menu article:focus-visible {
  background: #eef2f7;
}

.model-menu article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #0a52b9, #34dce8);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.model-menu strong,
.model-menu small {
  display: block;
}

.model-menu strong {
  color: #071220;
}

.model-menu small {
  margin-top: 3px;
  color: #6d7d90;
  font-size: 11px;
}

.model-menu em {
  color: #0b1424;
  font-style: normal;
  font-weight: 900;
}

.model-dock {
  display: grid;
  grid-template-columns: 110px 1fr 110px;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.model-kind {
  color: #05272d;
  background: #72eff7;
}

.model-chip {
  justify-content: flex-start;
  gap: 8px;
  color: #0b1424;
  background: rgba(255, 255, 255, 0.9);
}

.model-chip span {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #0d4db8;
  color: #fff;
  font-size: 12px;
}

.model-suggestions {
  position: absolute;
  left: 50%;
  bottom: -58px;
  width: max-content;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
}

.model-suggestions span {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  font-size: 13px;
  font-weight: 900;
}

.spark-layer {
  position: fixed;
  z-index: 999;
  pointer-events: none;
}

.spark-bit {
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  animation: spark-pop 700ms ease-out var(--delay) forwards;
}

.spark-bit.blue {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

@keyframes spark-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.4);
  }
  16% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)) scale(0.12);
  }
}

.value-strip,
.studio-grid,
.trust-strip,
.portal-grid,
.auth-benefits {
  display: grid;
  gap: 16px;
}

.value-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ============================================================
   Apps Bento — 能力卡片不规则网格（替代旧 value-strip）
   ============================================================ */
.apps-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 14px;
}

.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: 18px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #0a1426;
  border: 1px solid var(--line);
  color: #fff;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  isolation: isolate;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.bento-card::before {
  content: "";
  position: absolute;
  right: -25%;
  bottom: -45%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent, var(--gold)) 0%, transparent 60%);
  opacity: 0.32;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.bento-card:hover::before {
  opacity: 0.48;
  transform: translate(-6px, -6px);
}

.bento-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.6px;
  color: var(--accent, var(--gold));
  text-transform: uppercase;
}

.bento-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.bento-card > p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #b8c8da;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}

.bento-cta {
  position: relative;
  z-index: 1;
  margin-top: 14px;
  align-self: flex-start;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.bento-cta:hover {
  transform: translateX(2px);
}

.bento-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-feature h2 {
  font-size: 30px;
}

.bento-feature > p {
  font-size: 15px;
}

.bento-wide {
  grid-column: span 2;
}

/* accent 调色板（保持 Spart Studio 色系：金色为主，副色点缀） */
.bento-card[data-accent="gold"]    { --accent: #ffd21f; }
.bento-card[data-accent="cyan"]    { --accent: #63f4ff; }
.bento-card[data-accent="violet"]  { --accent: #b794f4; }
.bento-card[data-accent="emerald"] { --accent: #4ade80; }
.bento-card[data-accent="rose"]    { --accent: #fb7185; }
.bento-card[data-accent="teal"]    { --accent: #5eead4; }
.bento-card[data-accent="amber"]   { --accent: #fbbf24; }

/* ============================================================
   Model Spotlight — 模型专题（严格按接入状态展示）
   ============================================================ */
.model-spotlight-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-head {
  max-width: 720px;
}
.section-head .section-eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}
.section-head > p {
  margin: 0;
  color: #94a8bf;
  font-size: 14px;
  line-height: 1.6;
}

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

.spotlight-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 320px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 60%),
    #0a1426;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.spotlight-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 210, 31, 0.4);
}

.spotlight-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
}
.spotlight-status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}

.spotlight-card[data-status="ready"]      .spotlight-status { color: #4ade80; background: rgba(74, 222, 128, 0.12); }
.spotlight-card[data-status="pending"]    .spotlight-status { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.spotlight-card[data-status="enterprise"] .spotlight-status { color: #fb7185; background: rgba(251, 113, 133, 0.12); }
.spotlight-card[data-status="open"]       .spotlight-status { color: #63f4ff; background: rgba(99, 244, 255, 0.12); }

.spotlight-card h3 {
  margin: 16px 0 4px;
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.spotlight-source {
  margin: 0 0 16px !important;
  color: #94a8bf !important;
  font-size: 13px !important;
}

.spotlight-card > p:not(.spotlight-source) {
  margin: 0 0 16px;
  color: #b8c8da;
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
}

.spotlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 20px;
}
.spotlight-tags span {
  padding: 4px 10px;
  font-size: 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #94a8bf;
}

.spotlight-cta {
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.spotlight-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 210, 31, 0.08);
}

@media (max-width: 960px) {
  .model-spotlight {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Trust Row — 5 个保障标
   ============================================================ */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  margin: 18px 0 22px;
  padding: 16px 24px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(74, 222, 128, 0.04), transparent 30%, transparent 70%, rgba(255, 210, 31, 0.04)),
    rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
}
.trust-row__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.trust-row__icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  border: 1px solid rgba(74, 222, 128, 0.42);
  color: #4ade80;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}
.trust-row__item strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.trust-row__item small {
  color: #94a8bf;
  font-size: 12px;
}
@media (max-width: 960px) {
  .trust-row { justify-content: flex-start; padding: 14px 18px; }
}

/* ============================================================
   Card Cursor Spotlight — 鼠标聚光跟随
   ============================================================ */
.card-spot {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--mx, -200px) var(--my, -200px),
    rgba(255, 210, 31, 0.14) 0%,
    rgba(255, 210, 31, 0.06) 35%,
    transparent 60%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}
.tier-card:hover > .card-spot,
.utility-card:hover > .card-spot,
.tease-card:hover > .card-spot,
.exclusive-card:hover > .card-spot,
.model-mini:hover > .card-spot {
  opacity: 1;
}
/* 保证 spot 不挡内容 */
.tier-card > *:not(.card-spot),
.utility-card > *:not(.card-spot),
.tease-card > *:not(.card-spot),
.exclusive-card > *:not(.card-spot),
.model-mini > *:not(.card-spot) {
  position: relative;
  z-index: 1;
}

/* ============================================================
   Chat Widget — 客服对话(棉花糖风,自动开口,一字一字)
   ============================================================ */
.spart-chat {
  position: fixed;
  bottom: 96px;
  right: 22px;
  z-index: 60;
  width: 384px;
  max-width: calc(100vw - 32px);
  height: min(580px, calc(100vh - 140px));
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  border: 1.5px solid rgba(255, 210, 31, 0.42);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 31, 0.10), transparent 40%),
    rgba(8, 19, 38, 0.94);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.6),
    0 0 64px rgba(255, 210, 31, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  opacity: 0;
  transform: translate(20px, 30px) scale(0.86);
  transform-origin: 95% 100%;
  transition: opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.spart-chat.is-open {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.spart-chat__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 14px 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 210, 31, 0.07), transparent);
  flex-shrink: 0;
}

.spart-chat__avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  animation: sprite-bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 12px rgba(255, 210, 31, 0.55));
}
.spart-chat__avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.spart-chat__title {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.spart-chat__title strong {
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.2px;
}
.spart-chat__title small {
  margin-top: 1px;
  color: #94a8bf;
  font-size: 11px;
}

.spart-chat__close {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #94a8bf;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.2s ease;
}
.spart-chat__close:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 210, 31, 0.1);
  transform: rotate(90deg);
}

.spart-chat__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.spart-chat__messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 210, 31, 0.3) transparent;
}
.spart-chat__messages::-webkit-scrollbar { width: 5px; }
.spart-chat__messages::-webkit-scrollbar-thumb {
  background: rgba(255, 210, 31, 0.3);
  border-radius: 3px;
}

.spart-chat__bubble {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
  word-wrap: break-word;
  animation: bubble-pop-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes bubble-pop-in {
  from { opacity: 0; transform: translateY(8px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
.spart-chat__bubble--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  color: #e1ecf7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 6px;
}
.spart-chat__bubble--bot.is-typing::after {
  content: '▍';
  display: inline-block;
  margin-left: 1px;
  color: var(--gold);
  animation: chat-cursor-blink 0.85s steps(2) infinite;
}
@keyframes chat-cursor-blink {
  0%, 50%   { opacity: 1; }
  51%, 100% { opacity: 0; }
}
.spart-chat__bubble--user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
  color: #0a1426;
  font-weight: 700;
  border-bottom-right-radius: 6px;
  box-shadow: 0 4px 14px rgba(255, 210, 31, 0.32);
}
.spart-chat__bubble a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.spart-chat__bubble--user a { color: #0a1426; font-weight: 900; }

.spart-chat__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 14px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.spart-chat__suggestion {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 31, 0.34);
  background: rgba(255, 210, 31, 0.08);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.spart-chat__suggestion:hover {
  background: var(--gold);
  color: #0a1426;
  transform: translateY(-1px);
}

.spart-chat__input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
  flex-shrink: 0;
}
.spart-chat__input input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.spart-chat__input input:focus {
  border-color: rgba(255, 210, 31, 0.55);
  background: rgba(255, 210, 31, 0.05);
}
.spart-chat__input input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

/* 棉花糖发送按钮 — 圆 + 金光 + 呼吸 + 按下回弹 */
.spart-chat__send {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff5c4 0%, var(--gold) 40%, #ff9a3c 100%);
  color: #0a1426;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 4px 14px rgba(255, 210, 31, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  animation: sprite-breath 2.8s ease-in-out infinite;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.spart-chat__send:hover {
  transform: scale(1.08);
  box-shadow:
    0 6px 22px rgba(255, 210, 31, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.spart-chat__send:active {
  transform: scale(0.94);
}

/* Orb 的 fade transition (JS 直控 opacity/transform,这里只配过渡曲线) */
.spart-orb {
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s ease !important;
}

/* ====== Minimal round orb (Dreamina-style ✦) ====== */
.spart-orb--minimal {
  width: 56px !important;
  height: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: radial-gradient(circle at 30% 30%, #ffe680 0%, #f6c945 45%, #ffb028 100%) !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 24px rgba(246, 201, 69, 0.45),
    0 0 0 0 rgba(246, 201, 69, 0.5),
    inset 0 -3px 8px rgba(0, 0, 0, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.6) !important;
  animation: spartOrbPulse 2.4s ease-in-out infinite;
}
.spart-orb--minimal:hover {
  transform: translateY(-2px) scale(1.05) !important;
  padding: 0 !important;
  max-width: 56px !important;
  box-shadow:
    0 14px 36px rgba(246, 201, 69, 0.6),
    inset 0 -3px 8px rgba(0, 0, 0, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.7) !important;
}
.spart-orb--minimal .spart-orb__star {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.18));
}
@keyframes spartOrbPulse {
  0%, 100% { box-shadow:
    0 8px 24px rgba(246, 201, 69, 0.45),
    0 0 0 0 rgba(246, 201, 69, 0.5),
    inset 0 -3px 8px rgba(0, 0, 0, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.6); }
  50% { box-shadow:
    0 8px 24px rgba(246, 201, 69, 0.55),
    0 0 0 12px rgba(246, 201, 69, 0),
    inset 0 -3px 8px rgba(0, 0, 0, 0.12),
    inset 0 2px 4px rgba(255, 255, 255, 0.7); }
}
/* 隐藏 minimal 模式下的 ::after 旧光圈(避免和 pulse 冲突) */
.spart-orb--minimal::after { display: none !important; }

@media (max-width: 520px) {
  .spart-chat {
    bottom: 76px;
    right: 14px;
    left: 14px;
    width: auto;
    max-width: none;
    height: min(540px, calc(100vh - 100px));
  }
}

/* ============================================================
   Mini Dock — 滚过 Hero 后浮现的底部创作条
   ============================================================ */
.mini-dock {
  position: fixed;
  bottom: 18px;
  left: 50%;
  z-index: 35;
  width: min(640px, calc(100vw - 96px));
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 31, 0.32);
  background: rgba(8, 19, 38, 0.86);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.5),
    0 0 36px rgba(255, 210, 31, 0.18);
  opacity: 0;
  transform: translate(-50%, 24px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.mini-dock.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.mini-dock__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  text-decoration: none;
  color: inherit;
}
.mini-dock__sprite {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
  color: #081326;
  box-shadow: 0 0 16px rgba(255, 210, 31, 0.45);
  animation: sprite-breath 2.8s ease-in-out infinite;
}
.mini-dock__text {
  flex: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-dock__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #081326;
  font-size: 13px;
  font-weight: 900;
}
.mini-dock__cta i {
  font-style: normal;
  font-size: 14px;
}
@media (max-width: 720px) {
  .mini-dock { display: none; }
}

/* ============================================================
   Models Strip — 极简模型条(8 卡 + 1 CTA)
   ============================================================ */
.models-strip {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}
.models-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.model-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.model-mini:hover {
  border-color: var(--gold);
  background: rgba(255, 210, 31, 0.06);
  transform: translateY(-1px);
}
.model-mini-code {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
  color: #081326;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: -0.3px;
}
.model-mini strong {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 2px;
}
.model-mini small {
  display: block;
  color: #94a8bf;
  font-size: 11px;
}
.models-strip-cta {
  align-self: center;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(255, 210, 31, 0.32);
  transition: transform 0.15s ease, background 0.15s ease;
}
.models-strip-cta:hover {
  transform: translateY(-2px);
  background: #fff;
}

@media (max-width: 960px) {
  .models-strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .models-strip-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Utility Grid — 精选工具(单点能力)
   ============================================================ */
.utility-grid-section {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
}
.utility-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.utility-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 110% -10%, var(--accent-soft, rgba(255, 210, 31, 0.10)), transparent 60%),
    #0a1426;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 170px;
  overflow: hidden;
}
.utility-card::after {
  content: "→";
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--gold);
  font-weight: 900;
  font-size: 18px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.utility-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.utility-card:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.utility-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 210, 31, 0.18), rgba(96, 149, 255, 0.14));
  color: var(--gold);
  border: 1px solid rgba(255, 210, 31, 0.22);
}
.utility-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.utility-card > p {
  margin: 0;
  font-size: 12px;
  color: #94a8bf;
  line-height: 1.55;
  flex: 1;
}
.utility-card[data-tone="indigo"]  { --accent-soft: rgba(120, 130, 255, 0.14); }
.utility-card[data-tone="teal"]    { --accent-soft: rgba(99, 244, 255, 0.12); }
.utility-card[data-tone="violet"]  { --accent-soft: rgba(183, 148, 244, 0.12); }
.utility-card[data-tone="emerald"] { --accent-soft: rgba(74, 222, 128, 0.12); }
.utility-card[data-tone="rose"]    { --accent-soft: rgba(251, 113, 133, 0.12); }
.utility-card[data-tone="amber"]   { --accent-soft: rgba(251, 191, 36, 0.12); }

@media (max-width: 1100px) {
  .utility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .utility-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .utility-card { min-height: 150px; padding: 18px 16px; }
}

/* ============================================================
   Inspiration Gallery — 灵感画廊
   ============================================================ */
.inspiration-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.inspiration-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.inspiration-filters {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.inspiration-filters::-webkit-scrollbar { display: none; }

.inspiration-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.sort-chip {
  height: 30px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a8bf;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.sort-chip:hover {
  color: #fff;
}
.sort-chip.is-active {
  background: var(--gold);
  color: #081326;
}
@media (max-width: 720px) {
  .inspiration-bar { gap: 10px; }
}

.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: #b8c8da;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}
.filter-chip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.filter-chip.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #081326;
}

.inspiration-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 14px;
}

@media (max-width: 960px) {
  .inspiration-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .inspiration-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 160px;
    gap: 10px;
  }
}

/* ============================================================
   Floating AI Orb
   ============================================================ */
/* ====== Nav NEW badge ====== */
.nav-with-badge{position:relative;display:inline-flex;align-items:flex-start;gap:2px}
.nav-new-badge{display:inline-block;margin-left:4px;padding:1px 5px;font-size:8.5px;font-weight:900;letter-spacing:.06em;background:linear-gradient(135deg,#f6c945,#fbbf24);color:#0a1426;border-radius:4px;line-height:1;vertical-align:top;animation:navNewPulse 2.4s ease-in-out infinite;transform-origin:center}
@keyframes navNewPulse{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.08);opacity:.85}}

.spart-orb {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9990; /* 高于大多数 sticky / overlay (chat 在 z=10000+) */
  pointer-events: auto !important; /* 保证 chat 关闭后立刻可点 */
  display: inline-flex;
  align-items: center;
  padding: 14px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
  color: #081326;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 12px 32px rgba(255, 210, 31, 0.32),
    0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, box-shadow 0.18s ease, padding 0.2s ease, max-width 0.2s ease;
  overflow: hidden;
  max-width: 56px;
  white-space: nowrap;
}
.spart-orb:hover,
.spart-orb:focus-visible {
  transform: translateY(-2px);
  max-width: 240px;
  padding: 14px 22px;
  box-shadow:
    0 16px 40px rgba(255, 210, 31, 0.44),
    0 6px 18px rgba(0, 0, 0, 0.35);
  outline: none;
}
.spart-orb__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.spart-orb__label {
  display: inline-block;
  opacity: 0;
  margin-left: 0;
  font-size: 14px;
  transition: opacity 0.18s ease, margin-left 0.18s ease;
}
.spart-orb:hover .spart-orb__label,
.spart-orb:focus-visible .spart-orb__label {
  opacity: 1;
  margin-left: 10px;
}

@media (max-width: 640px) {
  .spart-orb {
    right: 14px;
    bottom: 14px;
  }
}

/* ============================================================
   炫酷化升级：动画 / LIVE / 播放圆 / 数据条 / 价格勾子 / 滚动浮入
   ============================================================ */

/* ---- 通用脉动 ---- */
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.32; transform: scale(0.55); }
}
@keyframes mesh-drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  100% { transform: translate(-26px, -18px) rotate(6deg); }
}
@keyframes gradient-drift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}
@keyframes cta-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 31, 0.42); }
  70%      { box-shadow: 0 0 0 14px rgba(255, 210, 31, 0); }
}
@keyframes orb-ring {
  0%   { transform: scale(1);   opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0;   }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- 滚动浮入（IntersectionObserver 加 .is-revealed） ---- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Hero 文字大卡：动态渐变mesh + 数据条 + 价格勾子 + 演示按钮 ---- */
.work-text {
  position: relative;
  overflow: hidden;
}
.hero-flash {
  position: absolute;
  inset: -50%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 210, 31, 0.22), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(96, 149, 255, 0.20), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(99, 244, 255, 0.12), transparent 40%);
  animation: mesh-drift 16s ease-in-out infinite alternate;
}
.work-text > *:not(.hero-flash) {
  position: relative;
  z-index: 1;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 10px #4ade80;
  vertical-align: middle;
  animation: live-pulse 1.6s ease-in-out infinite;
}

.hl-gold {
  background: linear-gradient(
    90deg,
    var(--gold) 0%,
    #fff5c4 25%,
    #ff9a3c 50%,
    var(--gold) 75%,
    #fff5c4 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gold-shimmer 5s linear infinite;
}
@keyframes gold-shimmer {
  0%   { background-position: 0% 0%; }
  100% { background-position: 250% 0%; }
}

.hero-price-hook {
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 210, 31, 0.28);
  background: rgba(255, 210, 31, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-size: 14px;
}
.hero-price-hook strong {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.3px;
}
.hero-price-hook span {
  color: rgba(255, 255, 255, 0.32);
}
.hero-price-hook em {
  color: #fff;
  font-style: normal;
  font-weight: 700;
}

.cta-pulse {
  position: relative;
  animation: cta-glow 2.4s ease-in-out infinite;
}

.cta-with-play {
  display: inline-flex !important;
  align-items: center;
  gap: 0 !important;
}
.cta-with-play .play-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  border-radius: 50%;
  background: rgba(8, 19, 38, 0.18);
  color: inherit;
  font-size: 9px;
  line-height: 1;
}

.hero-stats {
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}
.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.hero-stats b {
  color: #fff;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
}
.hero-stats b span {
  color: var(--gold);
  font-size: 0.65em;
  margin-left: 1px;
}
.hero-stats small {
  color: #94a8bf;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---- Work Card：渐变缓慢漂移（伪视频感） + LIVE 徽章 + 播放圆 ---- */
.work-card:not(.work-text) {
  background-size: 200% 200%;
  animation: gradient-drift 16s ease-in-out infinite alternate;
}

.work-live-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.2px;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
}
.work-live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.4s ease-in-out infinite;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.62));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.work-card:hover .play-overlay {
  opacity: 1;
}
.play-overlay__circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0.82);
  transition: transform 0.22s ease;
  box-shadow: 0 8px 28px rgba(255, 210, 31, 0.4);
}
.work-card:hover .play-overlay__circle {
  transform: scale(1);
}
.play-overlay__tri {
  display: inline-block;
  margin-left: 5px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 11px 0 11px 17px;
  border-color: transparent transparent transparent #081326;
}

/* ---- Bento feature 卡：LIVE 徽章 + 动态 mesh ---- */
.bento-live-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.45);
}
.bento-live-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.4s ease-in-out infinite;
}

.bento-mesh {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 210, 31, 0.22), transparent 35%),
    radial-gradient(circle at 75% 70%, rgba(99, 244, 255, 0.16), transparent 40%);
  animation: mesh-drift 14s ease-in-out infinite alternate;
}
.bento-feature > .bento-eyebrow,
.bento-feature > h2,
.bento-feature > p,
.bento-feature > a {
  position: relative;
  z-index: 1;
}

/* ---- Orb：脉冲环 ---- */
.spart-orb {
  position: fixed; /* 已有，下面覆盖 ::before */
}
.spart-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 2px solid var(--gold);
  pointer-events: none;
  animation: orb-ring 2s ease-out infinite;
}

/* ---- 价格勾子区 ---- */
.pricing-tease {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
}
.pricing-tease-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  padding-top: 14px; /* 给 "最受欢迎" 徽章溢出留空间 */
}
.tease-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 70%),
    #0a1426;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tease-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}
.tease-recommended {
  border-color: var(--gold);
  background:
    linear-gradient(160deg, rgba(255, 210, 31, 0.14), rgba(255, 210, 31, 0.03) 50%),
    #0a1426;
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(255, 210, 31, 0.18);
}
.tease-recommended:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 48px rgba(255, 210, 31, 0.26);
}
.tease-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #081326;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}
.tease-eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.tease-card h3 {
  margin: 0 0 12px;
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
}
.tease-card h3 small {
  font-size: 16px;
  color: #94a8bf;
  font-weight: 600;
  margin-left: 4px;
}
.tease-desc {
  margin: 0 0 18px;
  color: #b8c8da;
  font-size: 13px;
}
.tease-card ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tease-card li {
  position: relative;
  padding-left: 22px;
  color: #b8c8da;
  font-size: 13px;
}
.tease-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}
.tease-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  font-size: 14px;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.tease-cta:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.tease-cta-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #081326;
}
.tease-cta-primary:hover {
  background: #fff;
  border-color: #fff;
  color: #081326;
}
.pricing-tease-note {
  margin: 0;
  font-size: 12px;
  color: #7c92ab;
  text-align: center;
}
.pricing-tease-note a {
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 960px) {
  .pricing-tease-grid {
    grid-template-columns: 1fr;
    padding-top: 14px;
  }
  .tease-recommended,
  .tease-recommended:hover {
    transform: translateY(0);
  }
}

/* ============================================================
   Hero Three-Column — 对标 RH 主页 三栏 Hero
   ============================================================ */
.hero-three-col {
  /* 全出血 ─ 在 max-1180 main 内突破宽度边界 */
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -22px;
  margin-bottom: 0;
  display: grid;
  grid-template-columns: 1fr 2fr 1.1fr;
  gap: 14px;
  height: 620px;
  padding: 0 24px;
}

.hero-col {
  position: relative;
  border-radius: 22px;
  background: #050a16;
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 左栏：极简 + 可爱小精灵(SVG 角色) */
.hero-col--left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 32px;
}
.hero-col-glow {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 210, 31, 0.22), transparent 38%),
    radial-gradient(circle at 30% 80%, rgba(96, 149, 255, 0.16), transparent 45%);
  filter: blur(40px);
  pointer-events: none;
  animation: mesh-drift 18s ease-in-out infinite alternate;
  z-index: 0;
}

/* 星空背景粒子(10 颗,随机位置,错峰闪烁) */
.hero-col-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-col-stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold);
  animation: star-twinkle 3.4s ease-in-out infinite;
}
.hero-col-stars span:nth-child(1)  { top: 12%; left: 26%; animation-delay: 0s; }
.hero-col-stars span:nth-child(2)  { top: 18%; left: 72%; animation-delay: 0.5s; }
.hero-col-stars span:nth-child(3)  { top: 28%; left: 14%; animation-delay: 1s; }
.hero-col-stars span:nth-child(4)  { top: 32%; left: 84%; animation-delay: 1.5s; }
.hero-col-stars span:nth-child(5)  { top: 22%; left: 52%; animation-delay: 1.8s; }
.hero-col-stars span:nth-child(6)  { top: 70%; left: 18%; animation-delay: 0.8s; }
.hero-col-stars span:nth-child(7)  { top: 75%; left: 78%; animation-delay: 1.2s; }
.hero-col-stars span:nth-child(8)  { top: 82%; left: 38%; animation-delay: 2.0s; }
.hero-col-stars span:nth-child(9)  { top: 85%; left: 62%; animation-delay: 2.5s; }
.hero-col-stars span:nth-child(10) { top: 50%; left: 88%; animation-delay: 0.3s; }
@keyframes star-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.6); }
  50%      { opacity: 1;   transform: scale(1.2); }
}

/* 顶部"AI 智能体"小标 */
.hero-col-kicker {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
}

/* 可爱 SVG 小精灵链接(点击进 Studio) */
.hero-sprite-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 170px;
  z-index: 2;
  text-decoration: none;
  cursor: pointer;
}

/* 大号脉冲光晕 — 棉花糖式:金+桃粉双层漏光 */
.hero-sprite-aura {
  position: absolute;
  inset: -42%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 45%,
      rgba(255, 230, 200, 0.42) 0%,
      rgba(255, 210, 31, 0.32) 22%,
      rgba(255, 170, 200, 0.18) 48%,
      transparent 72%);
  filter: blur(26px);
  z-index: 0;
  pointer-events: none;
  animation: sprite-aura-pulse 2.6s ease-in-out infinite;
}
@keyframes sprite-aura-pulse {
  0%, 100% { opacity: 0.55; transform: scale(0.88); }
  50%      { opacity: 1;    transform: scale(1.16); }
}

/* 漂浮在精灵周围的小星光 ✦ ✧ — 增强"可爱魔法"感 */
.hero-sprite-sparkle {
  position: absolute;
  color: var(--gold);
  pointer-events: none;
  text-shadow: 0 0 8px var(--gold), 0 0 16px rgba(255, 210, 31, 0.5);
  opacity: 0;
  z-index: 1;
  font-family: -apple-system, system-ui, sans-serif;
  user-select: none;
}
.hero-sprite-sparkle--1 {
  top: 6%; right: 8%;
  font-size: 14px;
  animation: sparkle-twinkle 2.4s ease-in-out infinite;
  animation-delay: 0s;
}
.hero-sprite-sparkle--2 {
  bottom: 14%; left: 4%;
  font-size: 18px;
  animation: sparkle-twinkle 2.4s ease-in-out infinite;
  animation-delay: 0.6s;
}
.hero-sprite-sparkle--3 {
  top: 38%; left: -2%;
  font-size: 10px;
  animation: sparkle-twinkle 2.4s ease-in-out infinite;
  animation-delay: 1.2s;
}
.hero-sprite-sparkle--4 {
  bottom: 4%; right: 14%;
  font-size: 16px;
  animation: sparkle-twinkle 2.4s ease-in-out infinite;
  animation-delay: 1.8s;
}
@keyframes sparkle-twinkle {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  30%      { opacity: 1; transform: scale(1.1) rotate(180deg); }
  60%      { opacity: 0.6; transform: scale(0.9) rotate(360deg); }
}

.hero-sprite-orbit {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 210, 31, 0.32);
  animation: sprite-orbit 14s linear infinite;
  pointer-events: none;
}
.hero-sprite-orbit::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px var(--gold), 0 0 28px rgba(255, 210, 31, 0.55);
}

.hero-sprite-char {
  position: relative;
  width: 132px;
  height: 132px;
  animation: sprite-bob 3.2s ease-in-out infinite;
  transition: transform 0.2s ease;
  z-index: 1;
}
.hero-sprite-link:hover .hero-sprite-char {
  transform: scale(1.06);
}
@keyframes sprite-bob {
  0%, 100% { transform: translateY(0)    rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate( 2deg); }
}

/* 眨眼:每 ~4.6s 快速合一下 */
.hero-sprite-eye-group {
  transform-origin: 60px 58px;
  transform-box: view-box;
  animation: sprite-blink 4.6s ease-in-out infinite;
}
@keyframes sprite-blink {
  0%, 92%, 100% { transform: scaleY(1); }
  95%           { transform: scaleY(0.1); }
  98%           { transform: scaleY(1); }
}

/* hover 时,笑脸更开心 */
.hero-sprite-smile {
  transition: d 0.2s ease, stroke-width 0.2s ease;
}
.hero-sprite-link:hover .hero-sprite-smile {
  stroke-width: 3.2;
}

/* hover 时显示"点击进入 Studio"提示 */
.hero-sprite-hint {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 210, 31, 0.18);
  border: 1px solid rgba(255, 210, 31, 0.36);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.hero-sprite-link:hover .hero-sprite-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.hero-col-cats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-col-cats a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}
.hero-col-cats a:hover {
  color: var(--gold);
}

/* 中栏：大图占满，底部文字 overlay */
.hero-col--center {
  position: relative;
}
.hero-col-visual {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-col-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-col-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(5, 10, 22, 0.85) 100%);
  pointer-events: none;
}
.hero-col-overlay {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 32px 36px;
}
.hero-col-overlay .eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-col-overlay h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
}
.hero-col-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.hero-col-link:hover {
  background: var(--gold);
  color: #081326;
  border-color: var(--gold);
}

/* 右栏：上图下邀请文案 */
.hero-col--right {
  display: grid;
  grid-template-rows: 1fr auto;
  background: #050a16;
}
.hero-col-visual--right {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.hero-col-visual--right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-col-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 210, 31, 0.92);
  color: #081326;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}
.hero-col-invite {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    linear-gradient(160deg, rgba(255, 210, 31, 0.06), transparent 70%),
    #050a16;
  border-top: 1px solid var(--line);
}
.hero-col-invite h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.3px;
}
.hero-col-invite p {
  margin: 0;
  color: #94a8bf;
  font-size: 13px;
  line-height: 1.55;
}
.hero-col-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  margin-top: 6px;
  align-self: flex-start;
}
.hero-col-cta:hover {
  background: var(--gold);
  color: #081326;
}

/* 响应式：1100→ 左右两栏；720→ 单栏 */
@media (max-width: 1100px) {
  .hero-three-col {
    grid-template-columns: 1fr 1.4fr;
    height: auto;
    gap: 12px;
    padding: 0 14px;
  }
  .hero-col--left {
    height: 280px;
  }
  .hero-col--right {
    grid-column: 1 / -1;
    grid-template-rows: auto auto;
    flex-direction: row;
  }
  .hero-col-visual--right {
    min-height: 200px;
  }
}
@media (max-width: 720px) {
  .hero-three-col {
    grid-template-columns: 1fr;
    margin-top: -10px;
  }
  .hero-col--left {
    height: 240px;
  }
  .hero-col--center {
    min-height: 480px;
  }
  .hero-col-overlay h1 {
    font-size: 32px;
  }
  .hero-sprite-big {
    width: 96px;
    height: 96px;
    font-size: 48px;
    margin-bottom: 0;
  }
  .hero-col-cats {
    display: none;
  }
}

/* Promo Strip inline 版本(放在 hero 下方，全出血) */
.promo-strip--inline {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 22px;
  margin-bottom: 22px;
}
.promo-strip--inline::before {
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 210, 31, 0.18), transparent 60%);
}
.promo-strip--inline .promo-strip__inner {
  padding: 14px 0;
}
.promo-strip--inline .promo-countdown b {
  min-width: 32px;
  font-size: 15px;
}

/* ============================================================
   Promo Strip — 限时优惠条 + 倒计时
   ============================================================ */
.promo-strip {
  background: linear-gradient(90deg, #1a1207 0%, #2a1d09 50%, #1a1207 100%);
  border-bottom: 1px solid rgba(255, 210, 31, 0.28);
  position: relative;
  overflow: hidden;
}
.promo-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 210, 31, 0.12), transparent 60%);
  animation: mesh-drift 14s ease-in-out infinite alternate;
}
.promo-strip__inner {
  position: relative;
  width: min(1180px, calc(100vw - 42px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #f5e9c2;
}
.promo-strip__flag {
  padding: 3px 9px;
  border-radius: 6px;
  background: #ef4444;
  color: #fff;
  font-weight: 900;
  font-size: 11px;
  letter-spacing: 1px;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.45);
}
.promo-strip__title {
  font-weight: 900;
  color: #fff;
}
.promo-strip__sep { color: rgba(255, 210, 31, 0.35); }
.promo-strip__label { color: #c5b888; }
.promo-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.promo-countdown span {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.promo-countdown b {
  display: inline-block;
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 5px;
  background: rgba(255, 210, 31, 0.16);
  border: 1px solid rgba(255, 210, 31, 0.32);
  color: var(--gold);
  font-weight: 900;
  text-align: center;
}
.promo-countdown i {
  font-style: normal;
  color: #c5b888;
  font-size: 11px;
  margin: 0 4px 0 1px;
}
.promo-strip__cta {
  margin-left: auto;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
  text-decoration: none;
  font-size: 13px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.promo-strip__cta:hover {
  transform: translateX(2px);
  background: #fff;
}

@media (max-width: 860px) {
  .promo-strip__inner {
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
  }
  .promo-strip__cta { margin-left: 0; align-self: stretch; text-align: center; }
}

/* ============================================================
   Tier Stack — L1–L4 产品分层入口
   ============================================================ */
.tier-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 22px;
}
.tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.tier-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  min-height: 220px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.05), transparent 70%),
    #0a1426;
  color: inherit;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.tier-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.tier-card--accent {
  border-color: rgba(255, 210, 31, 0.4);
  background:
    linear-gradient(160deg, rgba(255, 210, 31, 0.1), rgba(255, 210, 31, 0.02) 60%),
    #0a1426;
}
.tier-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 210, 31, 0.18), rgba(96, 149, 255, 0.14));
  border: 1px solid rgba(255, 210, 31, 0.3);
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.tier-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.tier-card > p {
  margin: 0 0 14px;
  color: #b8c8da;
  font-size: 13px;
  line-height: 1.55;
  flex: 1;
}
.tier-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tier-tags i {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: #94a8bf;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.tier-arrow {
  position: absolute;
  right: 22px;
  top: 26px;
  color: var(--gold);
  font-size: 22px;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tier-card:hover .tier-arrow {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 960px) {
  .tier-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tier-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Exclusive on Spart Studio — 独占模型 / 工作流
   ============================================================ */
.exclusive-section {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 210, 31, 0.12), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(96, 149, 255, 0.1), transparent 55%),
    #0a1426;
  border: 1px solid rgba(255, 210, 31, 0.28);
  overflow: hidden;
  margin-top: 22px;
}
.exclusive-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 210, 31, 0.08), transparent 35%);
  animation: mesh-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
}
.exclusive-head { position: relative; z-index: 1; }
.exclusive-eyebrow {
  color: var(--gold) !important;
  text-shadow: 0 0 14px rgba(255, 210, 31, 0.45);
}
.exclusive-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.exclusive-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 22px;
  min-height: 220px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 210, 31, 0.08), rgba(0, 0, 0, 0.1)),
    #050912;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.exclusive-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.exclusive-rank {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 28px;
  font-weight: 900;
  color: rgba(255, 210, 31, 0.16);
  letter-spacing: -2px;
}
.exclusive-card h3 {
  margin: 8px 0 4px;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.exclusive-source {
  margin: 0 0 12px !important;
  font-size: 11px !important;
  font-weight: 700;
  color: var(--gold) !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.exclusive-card > p:not(.exclusive-source) {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #b8c8da;
  flex: 1;
}
.exclusive-cta {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: #dce8f4;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.exclusive-card:hover .exclusive-cta {
  border-color: var(--gold);
  color: var(--gold);
}
.exclusive-foot {
  position: relative;
  z-index: 1;
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  color: #94a8bf;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .exclusive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exclusive-section { padding: 24px; }
}
@media (max-width: 640px) {
  .exclusive-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Invite Banner — 邀请激励
   ============================================================ */
.invite-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 36px 40px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 31, 0.18), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(96, 149, 255, 0.14), transparent 55%),
    #0a1426;
  overflow: hidden;
}
.invite-banner__eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.invite-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}
.invite-banner__copy > p:not(.invite-banner__eyebrow) {
  margin: 0 0 22px;
  color: #b8c8da;
  font-size: 14px;
  line-height: 1.6;
}
.invite-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.invite-cta-primary,
.invite-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.invite-cta-primary {
  background: var(--gold);
  color: #081326;
  box-shadow: 0 12px 28px rgba(255, 210, 31, 0.32);
}
.invite-cta-primary:hover {
  background: #fff;
  transform: translateY(-2px);
}
.invite-cta-ghost {
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.invite-cta-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.invite-banner__visual {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.invite-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.85;
}
.invite-orb--a {
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(255, 210, 31, 0.55), transparent 60%);
  top: 10px; right: 30px;
  animation: mesh-drift 9s ease-in-out infinite alternate;
}
.invite-orb--b {
  width: 100px; height: 100px;
  background: radial-gradient(circle, rgba(96, 149, 255, 0.55), transparent 60%);
  bottom: 20px; left: 20px;
  animation: mesh-drift 11s ease-in-out infinite alternate-reverse;
}
.invite-orb--c {
  width: 60px; height: 60px;
  background: radial-gradient(circle, rgba(99, 244, 255, 0.55), transparent 60%);
  bottom: 60px; right: 60px;
  animation: mesh-drift 13s ease-in-out infinite alternate;
}
.invite-amount {
  position: relative;
  z-index: 1;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.invite-amount small {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .invite-banner {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 18px;
  }
  .invite-banner__visual { min-height: 160px; }
}

/* ============================================================
   可访问性：skip-to-content + focus visible
   ============================================================ */
.skip-to-content {
  position: absolute;
  top: -64px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
  text-decoration: none;
  border-radius: 8px;
  transition: top 0.18s ease;
}
.skip-to-content:focus {
  top: 8px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   Spart Studio — 极简创作工作台（对标 RHTV 二元设计）
   ============================================================ */

@keyframes sprite-breath {
  0%, 100% {
    transform: scale(1);
    box-shadow:
      0 0 32px rgba(255, 210, 31, 0.45),
      0 0 80px rgba(255, 210, 31, 0.25);
  }
  50% {
    transform: scale(1.06);
    box-shadow:
      0 0 48px rgba(255, 210, 31, 0.7),
      0 0 120px rgba(255, 210, 31, 0.38);
  }
}

@keyframes notify-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.6); }
}

.studio-body {
  background: #020510;
}

/* Studio 顶栏色调更暗、更"在 app 里" */
.studio-topbar.spart-topbar {
  background: rgba(2, 5, 16, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}
.brand--studio .brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  opacity: 0.92;
}

/* 右侧动作组件：商城/通知/收藏/余额 */
.studio-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #b8c8da;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.studio-pill:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}
.studio-pill__dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-radius: 50%;
  background: #ef4444;
  animation: notify-pulse 1.6s ease-in-out infinite;
}

.studio-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 4px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 31, 0.32);
  background: rgba(255, 210, 31, 0.08);
  text-decoration: none;
  font-size: 12px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.studio-balance:hover {
  border-color: var(--gold);
  background: rgba(255, 210, 31, 0.14);
}
.studio-balance__label {
  color: #c5b888;
  font-weight: 700;
}
.studio-balance__amount {
  color: var(--gold);
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}
.studio-balance__recharge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
}

/* 主区域容器 */
.studio-main {
  position: relative;
  width: min(1240px, calc(100vw - 42px));
  margin: 0 auto;
  padding: 40px 0 80px;
  overflow: visible;
  min-height: calc(100vh - 68px);
}
/* 对角线连续 mesh — 让左上金 → 右下蓝紫 有一道贯穿的光感 */
.studio-main::before {
  content: "";
  position: absolute;
  inset: -10% -10% 0 -10%;
  background:
    linear-gradient(135deg,
      rgba(255, 210, 31, 0.05) 0%,
      transparent 28%,
      transparent 60%,
      rgba(96, 149, 255, 0.06) 100%);
  pointer-events: none;
  z-index: 0;
}

/* 大型发光光晕（对角线 紫蓝 → 金 ，替代 RH 的紫蓝→荧光绿） */
.studio-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.studio-glow--a {
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(255, 210, 31, 0.18), transparent 65%);
  top: -180px;
  left: -180px;
}
.studio-glow--b {
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(96, 149, 255, 0.16), transparent 65%);
  bottom: 80px;
  right: -160px;
}

/* 提示词输入区 */
.studio-prompt-region {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 50px 0 60px;
}

/* 发光"小精灵" — 升级为可爱 SVG 角色 + 脉冲光晕(有灵魂) */
.studio-sprite {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  margin-bottom: 26px;
}
.studio-sprite::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 210, 31, 0.3);
  animation: sprite-orbit 14s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.studio-sprite::after { display: none; } /* 卫星点不要,改用大光晕 */

.studio-sprite-aura {
  position: absolute;
  inset: -50%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 210, 31, 0.55) 0%,
    rgba(255, 210, 31, 0.18) 38%,
    transparent 70%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
  animation: sprite-aura-pulse 2.6s ease-in-out infinite;
}
.studio-sprite-char {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
  animation: sprite-bob 3.2s ease-in-out infinite;
}
.studio-sprite-eye-group {
  transform-origin: 60px 58px;
  transform-box: view-box;
  animation: sprite-blink 4.6s ease-in-out infinite;
}
@keyframes sprite-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.studio-eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}

.studio-prompt-region h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.2px;
  line-height: 1.1;
}

.studio-subtitle {
  margin: 0 0 38px;
  color: #94a8bf;
  font-size: 15px;
  max-width: 560px;
  line-height: 1.6;
}
.studio-subtitle kbd {
  display: inline-block;
  padding: 2px 8px;
  margin: 0 2px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  font-family: inherit;
  font-size: 12px;
  color: #fff;
}

/* 提示词输入卡 — 整页主角，金色发光边框 */
.prompt-card {
  width: min(820px, 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 2px solid rgba(255, 210, 31, 0.6);
  background:
    linear-gradient(180deg, rgba(8, 19, 38, 0.92), rgba(2, 5, 16, 0.92)),
    #020510;
  overflow: hidden;
  box-shadow:
    0 0 24px rgba(255, 210, 31, 0.32),
    0 0 80px rgba(255, 210, 31, 0.16),
    0 24px 60px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.prompt-card:focus-within {
  border-color: #ffe88a;
  box-shadow:
    0 0 32px rgba(255, 210, 31, 0.5),
    0 0 120px rgba(255, 210, 31, 0.24),
    0 24px 60px rgba(0, 0, 0, 0.55);
}
.prompt-input {
  width: 100%;
  padding: 22px 28px 14px;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.55;
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}
.prompt-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.prompt-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
}
.prompt-tools__left {
  display: flex;
  gap: 6px;
}
.prompt-tools__center {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex: 1;
  margin-left: 4px;
}
.prompt-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.prompt-icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(255, 210, 31, 0.08);
}
.prompt-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #b8c8da;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.prompt-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
}
.prompt-pill--accent {
  border-color: rgba(255, 210, 31, 0.36);
  background: rgba(255, 210, 31, 0.08);
  color: var(--gold);
}
.prompt-pill--accent:hover {
  border-color: var(--gold);
  background: rgba(255, 210, 31, 0.14);
}
.prompt-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  animation: live-pulse 1.6s ease-in-out infinite;
}
.prompt-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
  color: #081326;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 210, 31, 0.42);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.prompt-go:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(255, 210, 31, 0.6);
}
.prompt-go__arrow {
  display: inline-block;
  font-weight: 900;
  transition: transform 0.15s ease;
}
.prompt-go:hover .prompt-go__arrow {
  transform: translate(2px, -2px);
}

.studio-tip {
  margin: 22px 0 0;
  font-size: 12px;
  color: #7c92ab;
}
.studio-tip a {
  color: var(--gold);
  text-decoration: none;
}

/* 项目卡片墙 */
.projects-wall {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}
.projects-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 14px;
}
.projects-head h2 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.projects-sub {
  margin: 0;
  font-size: 12px;
  color: #7c92ab;
  max-width: 480px;
}
.projects-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4 / 5;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #0a1426;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  z-index: 0;
  pointer-events: none;
}
.project-card[data-tone="indigo"]   { background: linear-gradient(150deg, #1e2a5e, #0b1530); }
.project-card[data-tone="teal"]     { background: linear-gradient(150deg, #0e3a4a, #0a1f2a); }
.project-card[data-tone="emerald"]  { background: linear-gradient(150deg, #114a3a, #08231f); }
.project-card[data-tone="violet"]   { background: linear-gradient(150deg, #3a1a5c, #160b2e); }
.project-card[data-tone="rose"]     { background: linear-gradient(150deg, #5a1f3e, #1f0c20); }
.project-card[data-tone="midnight"] { background: linear-gradient(150deg, #0b1530, #050912); }
.project-card[data-tone="amber"]    { background: linear-gradient(150deg, #5c3a0d, #1f1408); }
.project-card[data-tone="ocean"]    { background: linear-gradient(150deg, #143a5c, #081628); }

.project-card__time {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.project-card__title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 4px;
  line-height: 1.3;
}
.project-card__type {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* "+ 新建项目" 永远在第一格 — 柔和金蓝渐变，绝不灰占位 */
.project-card--new {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 210, 31, 0.22), transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(96, 149, 255, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.03);
  border-style: dashed;
  border-color: rgba(255, 210, 31, 0.36);
}
.project-card--new::before {
  display: none;
}
.project-card--new:hover {
  border-color: var(--gold);
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 210, 31, 0.32), transparent 60%),
    radial-gradient(circle at 50% 70%, rgba(96, 149, 255, 0.24), transparent 60%),
    rgba(255, 255, 255, 0.05);
}
.project-card__icon {
  font-size: 44px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.project-card__label {
  color: #fff;
  font-weight: 900;
  font-size: 15px;
}
.project-card__sub {
  color: #94a8bf;
  font-size: 12px;
}

@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .projects-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prompt-tools { padding: 8px 12px 12px; gap: 6px; }
  .prompt-tools__center { gap: 4px; }
  .prompt-pill { padding: 6px 10px; font-size: 11px; }
  .studio-prompt-region { padding: 30px 0 40px; }
  .studio-balance__label { display: none; }
  .studio-pill[title="通知"],
  .studio-pill[title="收藏"] { display: none; }
}
@media (max-width: 640px) {
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .prompt-input { padding: 18px 18px 12px; font-size: 15px; }
  /* 移动端能力开关不隐藏,改横向滚动保留层次 */
  .prompt-tools {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .prompt-tools::-webkit-scrollbar { display: none; }
  .prompt-tools__left,
  .prompt-tools__center {
    flex-wrap: nowrap;
    flex-shrink: 0;
  }
  .prompt-go { flex-shrink: 0; }
  .studio-balance__recharge { display: none; }
}

/* ============================================================
   Back To Top 返回顶部按钮
   ============================================================ */
.spart-back-to-top {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 40;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 210, 31, 0.32);
  background: rgba(8, 19, 38, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--gold);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.15s ease, background 0.15s ease;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.36);
}
.spart-back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.spart-back-to-top:hover {
  border-color: var(--gold);
  background: rgba(255, 210, 31, 0.12);
  transform: translateY(-2px);
}
@media (max-width: 520px) {
  .spart-back-to-top {
    bottom: 16px;
    left: 14px;
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   Dashboard / Admin 后台布局
   ============================================================ */

/* 顶部演示模式横条 */
.role-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 22px;
  background: linear-gradient(90deg, rgba(255, 210, 31, 0.12), rgba(255, 210, 31, 0.04));
  border-bottom: 1px solid rgba(255, 210, 31, 0.22);
  font-size: 12px;
  color: #c5b888;
  flex-wrap: wrap;
}
.role-banner--admin {
  background: linear-gradient(90deg, rgba(251, 113, 133, 0.16), rgba(251, 113, 133, 0.04));
  border-bottom-color: rgba(251, 113, 133, 0.3);
  color: #ffb8c4;
}
.role-banner__flag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 6px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 1.5px;
}
.role-banner__flag--admin { background: #fb7185; color: #fff; }
.role-banner__text { flex: 1; min-width: 200px; }
.role-banner__text b { color: #fff; }
.role-banner__switch {
  margin-left: auto;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: #dce8f4;
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.15s, color 0.15s;
}
.role-banner__switch:hover { border-color: var(--gold); color: var(--gold); }

/* 后台 shell:sidebar + main */
.dashboard-body { background: #060d1c; }
.dashboard-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  max-width: 1440px;
  margin: 0 auto;
  min-height: calc(100vh - 110px);
}

.dashboard-sidebar {
  position: sticky;
  top: 68px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 16px;
  height: calc(100vh - 68px);
  border-right: 1px solid var(--line);
  background: rgba(8, 13, 28, 0.6);
}
.dashboard-sidebar--admin { border-right-color: rgba(251, 113, 133, 0.18); }

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.dashboard-user__avatar { width: 38px; height: 38px; }
.dashboard-user div { display: flex; flex-direction: column; min-width: 0; }
.dashboard-user strong { color: #fff; font-size: 13px; font-weight: 900; }
.dashboard-user small {
  color: #94a8bf;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
.dashboard-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #b8c8da;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.dashboard-nav__item:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.dashboard-nav__item.is-active {
  background: rgba(255, 210, 31, 0.12);
  color: var(--gold);
}
.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
  color: var(--gold);
  flex-shrink: 0;
}
.dashboard-nav__item.is-active .nav-icon { background: rgba(255, 210, 31, 0.2); }
.badge-num {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-left: auto;
  border-radius: 9px;
  background: #fb7185;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  font-style: normal;
}

.dashboard-cta {
  display: block;
  text-align: center;
  padding: 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
  color: #081326;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  transition: transform 0.15s;
}
.dashboard-cta:hover { transform: translateY(-1px); }

/* 主内容区 */
.dashboard-main { padding: 32px 32px 60px; }
.dashboard-section { display: none; animation: dashFade 0.25s ease; }
.dashboard-section.is-active { display: block; }
@keyframes dashFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.section-head { margin: 0 0 24px; }
.section-head h1 { margin: 0 0 6px; font-size: 26px; font-weight: 900; color: #fff; letter-spacing: -0.5px; }
.section-head p { margin: 0; color: #94a8bf; font-size: 14px; }
.section-sub { margin: 32px 0 14px; font-size: 16px; font-weight: 900; color: #fff; letter-spacing: -0.2px; }

/* 数字卡 grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.stat-grid--admin { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.stat-card {
  padding: 18px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 70%),
    #0a1426;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-card--accent { border-color: rgba(255, 210, 31, 0.4); background: linear-gradient(160deg, rgba(255, 210, 31, 0.1), transparent 60%), #0a1426; }
.stat-card--success { border-color: rgba(74, 222, 128, 0.36); }
.stat-card--warn { border-color: rgba(251, 191, 36, 0.4); }
.stat-card__label { color: #94a8bf; font-size: 12px; font-weight: 700; }
.stat-card__num { color: #fff; font-size: 28px; font-weight: 900; letter-spacing: -0.5px; line-height: 1.1; }
.stat-card__sub { color: #7c92ab; font-size: 11px; }
.stat-up { color: #4ade80 !important; }
.stat-down { color: #fb7185 !important; }
.stat-up::before { content: "↑ "; }
.stat-down::before { content: "↓ "; }

/* 表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.data-table th, .data-table td { padding: 12px 14px; text-align: left; }
.data-table thead { background: rgba(255, 255, 255, 0.04); }
.data-table th { color: #94a8bf; font-weight: 700; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; }
.data-table tbody tr { border-top: 1px solid var(--line); transition: background 0.12s; }
.data-table tbody tr:hover { background: rgba(255, 210, 31, 0.04); }
.data-table td { color: #dce8f4; }
.num-up { color: #4ade80; font-variant-numeric: tabular-nums; font-weight: 700; }
.num-down { color: #fb7185; font-variant-numeric: tabular-nums; font-weight: 700; }

/* 状态 pill */
.pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #94a8bf;
  font-size: 11px;
  font-weight: 700;
}
.pill-ok { background: rgba(74, 222, 128, 0.14); color: #4ade80; }
.pill-warn { background: rgba(251, 191, 36, 0.16); color: #fbbf24; }
.pill-fail { background: rgba(251, 113, 133, 0.16); color: #fb7185; }
.pill-gold { background: rgba(255, 210, 31, 0.16); color: var(--gold); }

.link-gold { color: var(--gold); text-decoration: none; font-weight: 700; }
.link-gold:hover { text-decoration: underline; }
.link-danger { color: #fb7185; text-decoration: none; font-weight: 700; }
.link-danger:hover { text-decoration: underline; }

/* 工具栏 / 按钮 */
.projects-toolbar { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.search-input {
  flex: 1;
  min-width: 220px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  outline: none;
}
.search-input:focus { border-color: var(--gold); }
.btn-gold {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ff9a3c);
  color: #081326;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s;
}
.btn-gold:hover { transform: translateY(-1px); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* 项目卡(后台版,小尺寸) */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.dash-project {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  aspect-ratio: 4/3;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s, border-color 0.2s;
}
.dash-project:hover { transform: translateY(-2px); border-color: var(--gold); }
.dash-project[data-tone="indigo"]  { background: linear-gradient(150deg, #1e2a5e, #0b1530); }
.dash-project[data-tone="violet"]  { background: linear-gradient(150deg, #3a1a5c, #160b2e); }
.dash-project[data-tone="emerald"] { background: linear-gradient(150deg, #114a3a, #08231f); }
.dash-project[data-tone="rose"]    { background: linear-gradient(150deg, #5a1f3e, #1f0c20); }
.dash-project[data-tone="ocean"]   { background: linear-gradient(150deg, #143a5c, #081628); }
.dash-project[data-tone="amber"]   { background: linear-gradient(150deg, #5c3a0d, #1f1408); }
.dash-project__time { position: absolute; top: 10px; right: 10px; font-size: 10px; color: rgba(255, 255, 255, 0.7); padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.4); }
.dash-project__title { color: #fff; font-weight: 900; font-size: 14px; margin-bottom: 3px; }
.dash-project__type { color: rgba(255, 255, 255, 0.6); font-size: 11px; }

/* 钱包 */
.wallet-summary { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; align-items: end; margin-bottom: 28px; }
.wallet-card {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 210, 31, 0.08), transparent 70%), #0a1426;
  border: 1px solid rgba(255, 210, 31, 0.22);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wallet-card span { color: #94a8bf; font-size: 12px; font-weight: 700; }
.wallet-card b { color: var(--gold); font-size: 26px; font-weight: 900; letter-spacing: -0.5px; }
.wallet-card small { color: #7c92ab; font-size: 11px; }

/* 订阅卡 */
.sub-card {
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 210, 31, 0.1), transparent 60%), #0a1426;
  border: 1px solid rgba(255, 210, 31, 0.4);
  margin-bottom: 24px;
}
.sub-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.sub-card__head b { color: var(--gold); font-size: 26px; font-weight: 900; }
.sub-card__perks { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sub-card__perks li { color: #dce8f4; font-size: 14px; }
.sub-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); color: #94a8bf; font-size: 13px; }

/* 邀请链接卡 */
.invite-link-card {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 210, 31, 0.32);
  background: rgba(255, 210, 31, 0.06);
  margin-bottom: 24px;
}
.invite-link-card__label { display: block; color: #c5b888; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.invite-link-card__row { display: flex; gap: 8px; }
.invite-link-input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 210, 31, 0.3);
  background: rgba(0, 0, 0, 0.3);
  color: var(--gold);
  font-size: 13px;
  font-family: monospace;
  outline: none;
}

/* 设置 form */
.settings-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; max-width: 700px; margin-bottom: 28px; }
.settings-form label { display: flex; flex-direction: column; gap: 6px; }
.settings-form label span { color: #94a8bf; font-size: 12px; font-weight: 700; }
.settings-form input, .settings-form select {
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  outline: none;
}
.settings-form input:focus, .settings-form select:focus { border-color: var(--gold); }
.settings-form button { grid-column: 1 / -1; max-width: 200px; height: 44px; }

.danger-zone {
  margin-top: 36px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid rgba(251, 113, 133, 0.3);
  background: rgba(251, 113, 133, 0.06);
}
.danger-zone h3 { margin: 0 0 8px; color: #fb7185; font-size: 14px; font-weight: 900; }
.danger-zone p { margin: 0 0 12px; color: #94a8bf; font-size: 13px; }

/* 排行榜 */
.ranked-list { padding-left: 20px; }
.ranked-list li { color: #dce8f4; font-size: 14px; line-height: 2; }

/* 审核卡 */
.mod-card {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 12px;
}
.mod-card--critical { border-color: rgba(251, 113, 133, 0.45); background: rgba(251, 113, 133, 0.06); }
.mod-card--high { border-color: rgba(251, 191, 36, 0.36); background: rgba(251, 191, 36, 0.05); }
.mod-card__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mod-card__head b { color: #fff; font-size: 14px; }
.mod-card__head small { color: #7c92ab; font-size: 11px; }
.mod-card__prompt { margin: 0 0 8px; color: #dce8f4; font-size: 13px; line-height: 1.6; font-style: italic; padding: 8px 12px; background: rgba(0, 0, 0, 0.25); border-radius: 8px; }
.mod-card__reason { margin: 0 0 14px; color: #fbbf24; font-size: 12px; }
.mod-card__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* 进度条 */
.bar { display: inline-block; width: 80px; height: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 3px; vertical-align: middle; margin-right: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #ff9a3c); border-radius: 3px; }

/* 开关 */
.toggle { display: inline-block; width: 36px; height: 20px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); position: relative; cursor: pointer; transition: background 0.18s; }
.toggle input { display: none; }
.toggle span { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #94a8bf; transition: transform 0.18s, background 0.18s; }
.toggle.on { background: rgba(255, 210, 31, 0.4); }
.toggle.on span { transform: translateX(16px); background: var(--gold); }

/* 响应式 */
@media (max-width: 920px) {
  .dashboard-shell { grid-template-columns: 1fr; }
  .dashboard-sidebar {
    position: relative;
    top: 0;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
    padding: 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .dashboard-user { flex-shrink: 0; }
  .dashboard-nav { flex-direction: row; flex: none; gap: 4px; }
  .dashboard-nav__item { flex-shrink: 0; padding: 8px 12px; }
  .dashboard-nav__item span:last-child { font-size: 12px; }
  .dashboard-cta { display: none; }
  .dashboard-main { padding: 22px 18px; }
}

/* ============================================================
   Chart 组件(纯 CSS / SVG)
   ============================================================ */

/* 水平条形图(标签 + 数值 + 进度) */
.chart-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 22%) 1fr 60px;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 13px;
}
.chart-bar-row + .chart-bar-row { border-top: 1px solid var(--line); }
.chart-bar-label { color: #dce8f4; font-weight: 700; }
.chart-bar-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.chart-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, var(--gold), #ff9a3c);
  border-radius: 4px;
  transition: width 0.4s ease;
}
.chart-bar-fill--cyan { background: linear-gradient(90deg, #63f4ff, #2f82ff); }
.chart-bar-fill--violet { background: linear-gradient(90deg, #b794f4, #8b5cf6); }
.chart-bar-fill--green { background: linear-gradient(90deg, #4ade80, #16a34a); }
.chart-bar-fill--rose { background: linear-gradient(90deg, #fb7185, #e11d48); }
.chart-bar-value { color: #fff; font-weight: 900; font-variant-numeric: tabular-nums; text-align: right; }

/* Sparkline(SVG 内联,24px 高) */
.chart-spark {
  display: inline-block;
  width: 100%;
  max-width: 140px;
  height: 28px;
  vertical-align: middle;
}
.chart-spark path { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-spark .area { fill: rgba(255, 210, 31, 0.12); stroke: none; }

/* 小型方块热图(24×7 时×日) */
.chart-heatmap {
  display: grid;
  gap: 2px;
  font-size: 0;
}
.chart-heatmap-row { display: grid; grid-template-columns: repeat(24, 1fr); gap: 2px; }
.chart-heatmap-cell {
  aspect-ratio: 1/1;
  background: rgba(255, 210, 31, 0.04);
  border-radius: 2px;
  min-height: 12px;
}
.chart-heatmap-cell[data-level="1"] { background: rgba(255, 210, 31, 0.12); }
.chart-heatmap-cell[data-level="2"] { background: rgba(255, 210, 31, 0.28); }
.chart-heatmap-cell[data-level="3"] { background: rgba(255, 210, 31, 0.48); }
.chart-heatmap-cell[data-level="4"] { background: rgba(255, 210, 31, 0.72); }
.chart-heatmap-cell[data-level="5"] { background: var(--gold); }
.chart-heatmap-legend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: #94a8bf;
}
.chart-heatmap-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }

/* 漏斗 step */
.funnel-step {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.funnel-step__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 210, 31, 0.16);
  color: var(--gold);
  font-weight: 900;
  font-size: 12px;
}
.funnel-step__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.funnel-step__name { color: #fff; font-weight: 700; font-size: 14px; }
.funnel-step__bar { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.funnel-step__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #ff9a3c); border-radius: 3px; }
.funnel-step__count { text-align: right; font-variant-numeric: tabular-nums; }
.funnel-step__count b { color: #fff; font-weight: 900; font-size: 18px; display: block; }
.funnel-step__count small { color: #94a8bf; font-size: 11px; }

/* Live 指示器 */
.live-dot-large {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.14);
  color: #4ade80;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}
.live-dot-large::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: live-pulse 1.4s ease-in-out infinite;
}

/* 仪表(半圆) */
.gauge {
  width: 140px;
  height: 78px;
  position: relative;
  overflow: hidden;
}
.gauge::before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(from -90deg,
    #4ade80 0deg,
    #fbbf24 var(--gauge-warn, 144deg),
    #fb7185 var(--gauge-danger, 252deg),
    rgba(255,255,255,0.04) 180deg,
    rgba(255,255,255,0.04) 360deg);
  -webkit-mask: radial-gradient(circle, transparent 50px, #000 51px);
  mask: radial-gradient(circle, transparent 50px, #000 51px);
}
.gauge__needle {
  position: absolute;
  bottom: 0; left: 50%;
  width: 2px; height: 60px;
  background: var(--gold);
  transform-origin: bottom;
  transform: translateX(-50%) rotate(var(--gauge-angle, -45deg));
  border-radius: 1px;
}
.gauge__value {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}

/* 监控 metric 大图 */
.metric-tile {
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 210, 31, 0.06), transparent 70%), #0a1426;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.metric-tile__label { color: #94a8bf; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.metric-tile__value { color: #fff; font-size: 36px; font-weight: 900; letter-spacing: -1px; line-height: 1; }
.metric-tile__value.is-good { color: #4ade80; }
.metric-tile__value.is-warn { color: #fbbf24; }
.metric-tile__value.is-bad { color: #fb7185; }
.metric-tile__delta { font-size: 12px; color: #7c92ab; }

/* ============================================================
   Toast 通知系统(window.spartToast)
   ============================================================ */
.spart-toast-container {
  position: fixed;
  top: 90px;
  right: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.spart-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 210, 31, 0.36);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 210, 31, 0.1), transparent 50%),
    rgba(8, 19, 38, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(255, 210, 31, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  min-width: 280px;
  max-width: 440px;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.spart-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.spart-toast__mascot {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.spart-toast__text {
  flex: 1;
  line-height: 1.45;
}
.spart-toast__close {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #94a8bf;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.spart-toast__close:hover {
  background: rgba(255, 210, 31, 0.16);
  color: var(--gold);
}
@media (max-width: 520px) {
  .spart-toast-container { left: 14px; right: 14px; top: 80px; }
  .spart-toast { min-width: 0; max-width: none; }
}

/* ============================================================
   Empty State 空状态
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  gap: 14px;
}
.empty-state__mascot {
  width: 140px;
  height: 140px;
  opacity: 0.92;
}
.empty-state__title {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.2px;
}
.empty-state__sub {
  margin: 0;
  font-size: 13px;
  color: #94a8bf;
  max-width: 380px;
  line-height: 1.7;
}
.empty-state__cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--gold);
  color: #081326;
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s;
}
.empty-state__cta:hover {
  background: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   Loading 加载状态(用 think 精灵慢转)
   ============================================================ */
.spart-loading {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
}
.spart-loading__mascot {
  width: 80px;
  height: 80px;
  animation: loading-spin 2.4s linear infinite;
}
@keyframes loading-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.spart-loading__text {
  font-size: 13px;
  color: #94a8bf;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.spart-loading__text::after {
  content: "...";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: loading-dots 1.4s steps(4) infinite;
}
@keyframes loading-dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
  100% { content: ""; }
}

/* ============================================================
   404 Page 错误页
   ============================================================ */
.spart-404 {
  min-height: calc(100vh - 68px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  gap: 18px;
}
.spart-404__mascot {
  width: 220px;
  height: 220px;
}
.spart-404__code {
  margin: 0;
  font-size: 72px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -3px;
  line-height: 1;
}
.spart-404__title {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.4px;
}
.spart-404__sub {
  margin: 0;
  font-size: 14px;
  color: #94a8bf;
  max-width: 440px;
  line-height: 1.7;
}
.spart-404__actions {
  margin-top: 14px;
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.spart-404__actions a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s, background 0.15s, border-color 0.15s;
}
.spart-404__actions a:first-child {
  background: var(--gold);
  color: #081326;
}
.spart-404__actions a:first-child:hover {
  background: #fff;
  transform: translateY(-2px);
}
.spart-404__actions a:last-child {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.spart-404__actions a:last-child:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ============================================================
   Legal Pages — 隐私 / 利用規約 / 特商法 / AI 表記
   ============================================================ */
.legal-body {
  background: var(--bg);
}
.legal-page {
  width: min(820px, calc(100vw - 42px));
  margin: 40px auto 80px;
  padding: 0 8px;
}
.legal-head {
  margin-bottom: 36px;
}
.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.legal-head h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.legal-updated {
  margin: 0;
  color: #7c92ab;
  font-size: 13px;
}
.legal-section {
  margin-bottom: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.2px;
}
.legal-section h3 {
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 900;
  color: #dce8f4;
}
.legal-section p,
.legal-section li {
  margin: 0 0 10px;
  color: #b8c8da;
  font-size: 14px;
  line-height: 1.78;
}
.legal-section ul,
.legal-section ol {
  margin: 12px 0 14px;
  padding-left: 24px;
}
.legal-section ul ul,
.legal-section ol ol {
  margin-top: 6px;
}
.legal-section a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  padding: 12px 16px;
  border: 1px solid var(--line);
  text-align: left;
  font-size: 13px;
  color: #b8c8da;
  line-height: 1.7;
  vertical-align: top;
}
.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-weight: 800;
  width: 32%;
  letter-spacing: 0.2px;
}
.legal-disclaimer {
  margin: 36px 0 0;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255, 210, 31, 0.06);
  border: 1px solid rgba(255, 210, 31, 0.22);
  color: #c5b888;
  font-size: 12px;
  line-height: 1.78;
}

@media (max-width: 720px) {
  .legal-page { margin: 28px auto 60px; }
  .legal-table th { width: 40%; padding: 10px 12px; }
  .legal-table td { padding: 10px 12px; }
}

/* ---- 减弱动画：尊重用户系统设置 ---- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 960px) {
  .apps-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 170px;
  }
  .bento-feature {
    grid-column: span 3;
    grid-row: span 1;
  }
  .bento-feature h2 { font-size: 24px; }
  .bento-wide { grid-column: span 3; }
}

@media (max-width: 640px) {
  .apps-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .bento-feature,
  .bento-wide {
    grid-column: span 1;
  }
  .bento-card {
    min-height: 150px;
    padding: 18px;
  }
}

.studio-grid,
.trust-strip,
.portal-grid,
.auth-benefits {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portal-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-strip article,
.studio-grid article,
.trust-strip article,
.portal-card,
.auth-benefits article {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-soft);
}

.value-strip article,
.portal-card,
.auth-benefits article,
.trust-strip article {
  padding: 20px;
}

.value-strip span,
.auth-benefits b,
.portal-stat b,
.portal-rank-list b {
  color: var(--gold);
  font-weight: 900;
}

.value-strip span {
  display: inline-flex;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.value-strip h2,
.studio-grid h3,
.portal-card h3,
.auth-benefits strong,
.trust-strip strong,
.reward-entry-strip h2,
.portal-section h2,
.portal-cta h2 {
  margin: 0 0 10px;
  color: #fff;
}

.value-strip h2,
.studio-grid h3,
.portal-card h3 {
  font-size: 22px;
}

.value-strip p,
.studio-grid p,
.portal-card p,
.portal-card li,
.auth-benefits small,
.trust-strip p {
  margin: 0;
  color: var(--muted);
  line-height: 24px;
}

.comfy-fusion {
  border-color: var(--line-strong);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 210, 31, 0.18), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(47, 130, 255, 0.16), transparent 34%),
    var(--panel);
}

.comfy-visual {
  position: relative;
  min-height: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #0b1424;
}

.comfy-visual img,
.studio-grid img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.comfy-visual img {
  height: 100%;
  min-height: 380px;
}

.comfy-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(4, 8, 15, 0.76));
  pointer-events: none;
}

.comfy-badges {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.comfy-badges b {
  padding: 9px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 14, 25, 0.76);
  box-shadow: inset 0 0 0 1px var(--line);
}

.studio-grid article {
  overflow: hidden;
}

.studio-grid img {
  height: 178px;
}

.studio-grid h3,
.studio-grid p {
  margin-left: 18px;
  margin-right: 18px;
}

.studio-grid h3 {
  margin-top: 18px;
}

.studio-grid p {
  margin-bottom: 20px;
}

.reward-entry-strip,
.portal-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
}

.trust-strip {
  margin-bottom: 10px;
}

.status-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 999px;
  vertical-align: -1px;
}

.status-dot.open {
  background: var(--green);
}

.status-dot.pending {
  background: var(--gold);
}

.status-dot.review {
  background: var(--red);
}

.portal-section {
  margin-top: 22px;
  padding: 26px;
}

.portal-stat {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border-radius: 22px;
  background: rgba(7, 13, 24, 0.64);
}

.portal-stat b {
  font-size: 44px;
}

.portal-stat span {
  color: #dce8f4;
  line-height: 24px;
}

.portal-section h2,
.portal-cta h2 {
  font-size: 30px;
}

.portal-card {
  min-height: 170px;
}

.portal-card ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 20px;
}

.portal-badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 210, 31, 0.16);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.portal-badge.green {
  background: rgba(102, 241, 173, 0.13);
  color: var(--green);
}

.portal-badge.red {
  background: rgba(255, 139, 153, 0.14);
  color: var(--red);
}

.portal-price {
  display: grid;
  gap: 14px;
}

.pricing-page .portal-price {
  min-height: 390px;
  align-content: start;
  border-color: rgba(255, 210, 31, 0.28);
  background:
    linear-gradient(180deg, rgba(255, 210, 31, 0.08), transparent 34%),
    rgba(255, 255, 255, 0.066);
}

.pricing-page .portal-grid.four .portal-card:nth-child(2) {
  transform: translateY(-10px);
  box-shadow: 0 28px 90px rgba(255, 210, 31, 0.12);
}

.portal-price strong {
  color: var(--cream);
  font-size: 42px;
}

.portal-price small {
  color: var(--dim);
}

.portal-price a {
  height: 46px;
  border-radius: 14px;
}

.portal-rank-list {
  display: grid;
  gap: 12px;
}

.portal-rank-list div {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.portal-rank-list span {
  color: #fff;
  font-weight: 900;
}

.portal-rank-list em {
  color: var(--green);
  font-style: normal;
}

.community-page .portal-section:nth-of-type(2) .portal-grid {
  grid-template-columns: 1.1fr 1.1fr 1fr 1fr;
}

.community-page .portal-section:nth-of-type(2) .portal-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 10%, rgba(5, 12, 22, 0.78)),
    linear-gradient(135deg, rgba(47, 130, 255, 0.16), rgba(255, 210, 31, 0.08));
}

.reward-page .portal-section:nth-of-type(2) .portal-grid.four {
  counter-reset: rewardStep;
}

.reward-page .portal-section:nth-of-type(2) .portal-card {
  position: relative;
  min-height: 210px;
  padding-top: 58px;
}

.reward-page .portal-section:nth-of-type(2) .portal-card::before {
  counter-increment: rewardStep;
  content: "0" counter(rewardStep);
  position: absolute;
  top: 20px;
  left: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #071220;
  font-weight: 900;
}

.reward-page .portal-section:nth-of-type(2) .portal-badge {
  display: none;
}

.auth-page {
  width: min(1180px, calc(100vw - 42px));
  min-height: calc(100vh - 68px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) 440px;
  gap: 28px;
  align-items: center;
  padding: 44px 0 72px;
}

.auth-copy {
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.auth-card {
  padding: 24px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.auth-tabs button {
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs .active {
  background: #fff;
  color: #0b1424;
}

.auth-card form {
  display: grid;
  gap: 14px;
}

.auth-card label {
  display: grid;
  gap: 8px;
  color: #dce8f4;
  font-weight: 800;
}

.auth-card input[type="text"] {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 94px;
  gap: 8px;
}

.code-row button {
  border-radius: 14px;
  background: rgba(255, 210, 31, 0.18);
  color: var(--gold);
  cursor: pointer;
  font-weight: 900;
}

.role-grid {
  display: grid;
  gap: 10px;
}

.role-card {
  grid-template-columns: 20px 1fr;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.role-card input,
.auth-check input {
  accent-color: var(--gold);
}

.role-card strong {
  display: block;
  color: #fff;
}

.role-card small {
  color: #b7c6d8;
  line-height: 22px;
}

.auth-check {
  grid-template-columns: 18px 1fr;
  align-items: start;
  font-size: 13px;
}

.auth-check input {
  margin-top: 2px;
}

.auth-submit {
  height: 50px;
  border-radius: 16px;
}

.auth-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  color: var(--dim);
  font-size: 13px;
}

.auth-foot a {
  color: #dce8f4;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .spart-hero,
  .comfy-fusion,
  .portal-hero,
  .auth-page {
    grid-template-columns: 1fr;
  }

  .portal-grid.four,
  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .spart-topbar {
    padding: 14px;
    gap: 12px;
  }

  .spart-search,
  .spart-top-links,
  .soft-action {
    display: none;
  }

  .spart-home,
  .portal-page,
  .auth-page {
    width: calc(100vw - 28px);
    padding-top: 18px;
  }

  .spart-hero,
  .comfy-fusion,
  .portal-hero,
  .auth-copy,
  .auth-card {
    padding: 24px;
  }

  .spart-hero {
    min-height: auto;
    justify-items: stretch;
  }

  .hero-console {
    margin-top: 22px;
  }

  .hero-copy-shell h1,
  .comfy-copy h2,
  .portal-hero h1,
  .auth-copy h1 {
    font-size: 34px;
  }

  .value-strip,
  .studio-grid,
  .trust-strip,
  .portal-grid,
  .portal-grid.four,
  .auth-benefits {
    grid-template-columns: 1fr;
  }

  .comfy-visual,
  .comfy-visual img {
    min-height: 290px;
  }

  .reward-entry-strip,
  .portal-cta {
    display: grid;
  }

  .model-dock {
    grid-template-columns: 1fr;
  }

  .model-menu {
    position: static;
    width: 100%;
    max-height: 390px;
    overflow: auto;
    transform: none;
    order: 1;
  }

  .model-dock {
    order: 2;
  }

  .model-menu article {
    grid-template-columns: 40px 1fr;
  }

  .model-suggestions {
    position: static;
    width: 100%;
    margin-top: 10px;
    transform: none;
    order: 3;
  }

  .model-suggestions span {
    color: #243244;
    border-color: rgba(36, 50, 68, 0.18);
    background: rgba(255, 255, 255, 0.72);
  }

  .model-menu em {
    grid-column: 2;
  }

  .pricing-page .portal-grid.four .portal-card:nth-child(2) {
    transform: none;
  }

  .community-page .portal-section:nth-of-type(2) .portal-grid {
    grid-template-columns: 1fr;
  }

  .portal-rank-list div {
    grid-template-columns: 42px 1fr;
  }

  .portal-rank-list em {
    grid-column: 2;
  }

  .brand-name {
    font-size: 20px;
  }

  /* 移动端：让汉堡和 spart-actions 走另一套布局 */
  .spart-actions {
    display: none;
  }
  .spart-menu-btn {
    display: inline-flex !important;
    margin-left: auto;
  }
}

/* ============================================================
   Cotton Candy CTA — 主金按钮的"松软"升级
   ============================================================ */
.promo-strip__cta,
.hero-col-cta,
.tease-cta-primary,
.models-strip-cta,
.mini-dock__cta,
.prompt-go,
.invite-cta-primary,
.hero-col-link {
  background-image:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55) 0%, transparent 35%),
    linear-gradient(135deg, var(--gold) 0%, #ff9a3c 100%) !important;
  box-shadow:
    0 6px 18px rgba(255, 210, 31, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(168, 88, 14, 0.18) !important;
  border: 0 !important;
  color: #0a1426 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.promo-strip__cta:hover,
.hero-col-cta:hover,
.tease-cta-primary:hover,
.models-strip-cta:hover,
.mini-dock__cta:hover,
.prompt-go:hover,
.invite-cta-primary:hover,
.hero-col-link:hover {
  transform: translateY(-2px) scale(1.03);
  filter: brightness(1.05) saturate(1.1);
  box-shadow:
    0 12px 28px rgba(255, 210, 31, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 0 rgba(168, 88, 14, 0.22) !important;
}
.promo-strip__cta:active,
.hero-col-cta:active,
.tease-cta-primary:active,
.models-strip-cta:active,
.mini-dock__cta:active,
.prompt-go:active,
.invite-cta-primary:active,
.hero-col-link:active {
  transform: translateY(0) scale(0.98);
}

/* ============================================================
   Language Switch — 中 / EN / 日
   ============================================================ */
.lang-switch {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  margin-right: 4px;
}
.lang-switch button {
  height: 26px;
  min-width: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #94a8bf;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-switch button:hover {
  color: #fff;
}
.lang-switch button.is-active {
  background: var(--gold);
  color: #081326;
}
@media (max-width: 860px) {
  .lang-switch button { min-width: 28px; padding: 0 8px; font-size: 11px; }
}

/* ============================================================
   Hamburger 按钮（默认桌面隐藏）
   ============================================================ */
.spart-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 0.15s ease;
}
.spart-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}
.spart-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.spart-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.spart-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.spart-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   Mobile Drawer（侧滑抽屉）
   ============================================================ */
.spart-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.spart-drawer.is-open {
  opacity: 1;
}
.spart-drawer__panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(320px, 84vw);
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: #061021;
  border-right: 1px solid var(--line);
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  overflow-y: auto;
}
.spart-drawer.is-open .spart-drawer__panel {
  transform: translateX(0);
}
.spart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.spart-drawer__close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
.spart-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  flex: 1;
}
.spart-drawer__nav a {
  display: block;
  padding: 14px 12px;
  border-radius: 12px;
  color: #dce8f4;
  font-weight: 900;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.12s ease, color 0.12s ease;
}
.spart-drawer__nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}
.spart-drawer__nav a[aria-current="page"] {
  background: rgba(255, 210, 31, 0.12);
  color: var(--gold);
}
.spart-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.spart-drawer__actions a {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}
.spart-drawer__actions .soft-action {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.spart-drawer__actions .avatar-btn {
  width: auto;
  padding: 0 22px;
  border: 2px solid #6095ff;
  color: #63f4ff;
  background: rgba(12, 28, 50, 0.72);
}

/* ============================================================
   Footer 全局页脚
   ============================================================ */
.spart-footer {
  width: min(1180px, calc(100vw - 42px));
  margin: 56px auto 32px;
  padding: 36px 0 0;
  border-top: 1px solid var(--line);
  color: #b8c8da;
}
.spart-footer__top {
  display: grid;
  grid-template-columns: minmax(260px, 1.3fr) 2.5fr;
  gap: 40px;
}
.spart-footer__brand p {
  margin: 14px 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: #94a8bf;
  max-width: 340px;
}
.spart-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.spart-footer__social a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #dce8f4;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.spart-footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.spart-footer__nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.spart-footer__nav section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spart-footer__nav h4 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
}
.spart-footer__nav a {
  color: #94a8bf;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.12s ease;
}
.spart-footer__nav a:hover {
  color: var(--gold);
}
.spart-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #7c92ab;
}
.spart-footer__icp {
  font-variant-numeric: tabular-nums;
}
.spart-footer__legal-note {
  margin: 0 0 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 210, 31, 0.06);
  border: 1px dashed rgba(255, 210, 31, 0.22);
  color: #c5b888;
  font-size: 12px;
  line-height: 1.6;
}

@media (max-width: 860px) {
  .spart-footer {
    margin: 32px auto 24px;
    padding: 24px 0 0;
  }
  .spart-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .spart-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .spart-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* =============================================================
   Topbar enrichment (icon stack + VIP CTA + ghost soft-action)
   Added 2026-05-14 for a richer top-nav rhythm.
   ============================================================= */
.spart-icon-stack {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
}
.spart-icon-stack .icon-pill {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  background: transparent;
  text-decoration: none;
  position: relative;
  transition: background 0.18s, color 0.18s, transform 0.18s;
}
.spart-icon-stack .icon-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-1px);
}
.spart-icon-stack .icon-pill--has-dot::after {
  content: '';
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff4d8d 0%, #ff1e75 100%);
  box-shadow: 0 0 6px rgba(255, 30, 117, 0.7);
}
.vip-cta {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe17a 0%, #ffb338 50%, #ff8c2e 100%);
  color: #2a1408;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(255, 154, 60, 0.38);
  transition: filter 0.18s, transform 0.18s;
  white-space: nowrap;
  margin: 0 6px 0 2px;
}
.vip-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.soft-action--ghost {
  font-size: 12.5px !important;
  padding: 6px 12px !important;
  opacity: 0.78;
}
.soft-action--ghost:hover {
  opacity: 1;
}

@media (max-width: 1100px) {
  .spart-icon-stack { display: none; }
}
@media (max-width: 920px) {
  .vip-cta { display: none; }
  .soft-action--ghost { display: none; }
}

/* =========================================================
   客户后台扩展:用量监控 / 安全中心 / 数据导出
   ========================================================= */

/* 月度配额进度条 */
.quota-bar {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  overflow: hidden;
}
.quota-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ff9a3c);
  border-radius: 999px;
  transition: width 0.5s ease;
}
.quota-bar__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #94a8bf;
}
.quota-bar__legend b { color: #fff; }

/* 按模型用量横向条 */
.usage-by-model {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.usage-row {
  display: grid;
  grid-template-columns: 130px 1fr 140px;
  align-items: center;
  gap: 14px;
}
.usage-row__name {
  font-size: 13px;
  font-weight: 700;
  color: #d8e2f0;
}
.usage-row__bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  overflow: hidden;
}
.usage-row__bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #ff9a3c);
  border-radius: 999px;
}
.usage-row__val {
  font-size: 12px;
  color: #94a8bf;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 680px) {
  .usage-row {
    grid-template-columns: 100px 1fr;
  }
  .usage-row__val {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 100px;
  }
}

/* 用量提醒偏好 */
.alert-pref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.alert-pref {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.alert-pref:hover { border-color: var(--gold); }
.alert-pref input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--gold);
}
.alert-pref span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.alert-pref b {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
}
.alert-pref small {
  font-size: 11.5px;
  color: #94a8bf;
  line-height: 1.5;
}

/* 安全卡片网格 */
.sec-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}
.sec-card {
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sec-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sec-card__head strong {
  font-size: 14px;
  color: #fff;
}
.sec-card p {
  font-size: 12.5px;
  color: #94a8bf;
  line-height: 1.6;
  margin: 0;
}
.sec-card button {
  align-self: flex-start;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
  font-size: 12.5px;
}

/* pill 补全 mute */
.pill-mute {
  background: rgba(148, 168, 191, 0.12);
  color: #94a8bf;
}

/* 数据导出卡片 */
.export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}
.export-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s;
}
.export-card:hover { border-color: var(--gold); }
.export-card__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 210, 31, 0.12);
  color: var(--gold);
  font-size: 18px;
  font-weight: 800;
}
.export-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.export-card__body strong {
  font-size: 14px;
  color: #fff;
}
.export-card__body small {
  font-size: 11.5px;
  color: #94a8bf;
  line-height: 1.5;
}
.export-card__size {
  font-size: 11.5px;
  color: #94a8bf;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .export-card {
    flex-wrap: wrap;
  }
  .export-card__size {
    margin-left: 60px;
  }
}

/* 图表说明 caption */
.chart-caption {
  margin: 6px 0 24px;
  font-size: 12px;
  color: #94a8bf;
  line-height: 1.6;
}
.chart-caption b { color: var(--gold); }

/* =============================================================
   Calm × 癒し × Trust — Hero v2(参考第二张图迭代)
   ============================================================= */

/* 樱花角落装饰 */
.jp-sakura-corner {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}
.jp-sakura-corner--tl {
  top: -20px; left: -30px;
  width: 260px;
  transform: rotate(-12deg);
}
.jp-sakura-corner--br {
  bottom: -40px; right: -40px;
  width: 220px;
  transform: rotate(168deg);
  opacity: 0.55;
}

/* 影院级视频预览(Hero 右侧) */
.jp-hero__player {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 30% 90%, rgba(247, 183, 200, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 40% at 70% 20%, rgba(94, 211, 243, 0.1), transparent 60%),
    linear-gradient(180deg, #0d1a2b 0%, #142540 50%, #1a2f50 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(247, 183, 200, 0.06);
}
/* 城市/山景剪影 — 纯 CSS 制作 */
.jp-hero__player::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 38%;
  background:
    /* 富士山轮廓 */
    radial-gradient(ellipse 240px 110px at 30% 110%, #0a1426 0 50%, transparent 51%),
    /* 城市建筑剪影 */
    linear-gradient(90deg,
      transparent 0% 8%,
      #0a1426 8% 12%, transparent 12% 14%,
      #0a1426 14% 18%, transparent 18% 22%,
      #0a1426 22% 26%, transparent 26% 30%,
      #0a1426 30% 34%, transparent 34% 36%,
      #0a1426 36% 42%, transparent 42% 45%,
      #0a1426 45% 50%, transparent 50% 52%,
      #0a1426 52% 58%, transparent 58% 62%,
      #0a1426 62% 68%, transparent 68% 72%,
      #0a1426 72% 78%, transparent 78% 82%,
      #0a1426 82% 86%, transparent 86% 90%,
      #0a1426 90% 96%, transparent 96% 100%
    );
  background-blend-mode: lighten;
  filter: blur(0.5px);
}
/* 东京塔/天空树剪影 */
.jp-hero__player .jp-tower {
  position: absolute;
  bottom: 35%;
  left: 55%;
  width: 4px;
  height: 38%;
  background: linear-gradient(180deg, #f7b7c8 0%, #ff5577 50%, #0a1426 100%);
  filter: drop-shadow(0 0 6px rgba(255, 100, 130, 0.6));
}
.jp-hero__player .jp-tower::before {
  content: "";
  position: absolute;
  left: 50%; top: -8px;
  width: 2px; height: 8px;
  background: var(--color-sakura);
  transform: translateX(-50%);
  filter: drop-shadow(0 0 4px var(--color-sakura));
}
.jp-hero__player .jp-tower::after {
  content: "";
  position: absolute;
  left: -10px; top: 30%;
  width: 24px; height: 14px;
  border: 1.5px solid #ff7799;
  border-radius: 60% 60% 30% 30%;
  background: rgba(255, 100, 130, 0.18);
  transform: translateX(-1px);
}
/* 月亮/灯光氛围 */
.jp-hero__player .jp-moon {
  position: absolute;
  top: 14%;
  right: 16%;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff6d8 0%, #ffd9a8 50%, transparent 70%);
  filter: blur(1px);
  opacity: 0.85;
}
/* 播放按钮 */
.jp-hero__player .jp-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #1d2939;
  font-weight: 900;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 3;
}
.jp-hero__player .jp-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.jp-hero__player .jp-play::after {
  content: "▶";
  margin-left: 4px;
}
/* 进度条 */
.jp-hero__player .jp-bar {
  position: absolute;
  bottom: 18px;
  left: 22px; right: 22px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 4;
}
.jp-hero__player .jp-bar::after {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 42%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-sakura), var(--color-primary));
  box-shadow: 0 0 12px rgba(247, 183, 200, 0.6);
}
.jp-hero__player .jp-time {
  position: absolute;
  bottom: 28px;
  right: 22px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, monospace;
  color: rgba(255, 255, 255, 0.7);
  z-index: 4;
}
/* 信任 chip 浮在右下 */
.jp-hero__player .jp-chip-float {
  position: absolute;
  bottom: 44px;
  right: 22px;
  background: linear-gradient(135deg, var(--color-sakura), #ff8eaa);
  color: #fff;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 24px rgba(247, 100, 140, 0.45);
  z-index: 4;
  animation: jpFloat 4s ease-in-out infinite;
}
@keyframes jpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* 社会证明行 */
.jp-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.jp-proof__avatars {
  display: flex;
}
.jp-proof__avatars span {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--color-bg-deep);
  margin-left: -8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-sakura));
  display: grid;
  place-items: center;
  color: #0a1426;
  font-size: 12px;
  font-weight: 800;
}
.jp-proof__avatars span:nth-child(1) { background: linear-gradient(135deg, #f7b7c8, #ff7799); margin-left: 0; }
.jp-proof__avatars span:nth-child(2) { background: linear-gradient(135deg, #5ed3f3, #2a8cbf); }
.jp-proof__avatars span:nth-child(3) { background: linear-gradient(135deg, #f6c945, #ff9a3c); }
.jp-proof__avatars span:nth-child(4) { background: linear-gradient(135deg, #b794f4, #7c5cf0); font-size: 10px; }
.jp-proof__text b { color: var(--color-text-main); font-weight: 700; }

/* Trust bar v2(更圆润 chip 感) */
.jp-trust-bar--v2 {
  background: linear-gradient(180deg, rgba(247, 183, 200, 0.04), transparent);
}
.jp-trust-bar--v2 .jp-trust-bar__row {
  gap: 12px;
}
.jp-trust-bar--v2 .jp-trust-bar__item {
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  justify-content: center;
}

/* 「選ばれる理由」section — 浅色横排 */
.jp-reasons {
  background: linear-gradient(180deg, #F7F9FB 0%, #EEF2F6 100%);
  padding: 56px 0;
  color: var(--color-trust-text);
}
.jp-reasons__title {
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 36px;
  color: var(--color-trust-text);
}
.jp-reasons__row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .jp-reasons__row { grid-template-columns: repeat(2, 1fr); }
}
.jp-reason {
  text-align: center;
  padding: 18px 12px;
}
.jp-reason__icon {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #FFE8EF, #FFF3D0);
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 6px 16px rgba(247, 183, 200, 0.18);
}
.jp-reason h4 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--color-trust-text);
}
.jp-reason p {
  font-size: 12.5px;
  line-height: 1.6;
  color: #475467;
  margin: 0;
}

/* 底部粘性粉色促销 banner */
.jp-promo {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(90deg, #ff5e85 0%, #f7b7c8 50%, #f6c945 100%);
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 -8px 24px rgba(247, 100, 140, 0.25);
  font-size: 13px;
  font-weight: 700;
}
.jp-promo b { font-size: 14px; }
.jp-promo__timer {
  display: inline-flex;
  gap: 6px;
}
.jp-promo__timer span {
  background: rgba(0, 0, 0, 0.25);
  padding: 4px 8px;
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: 13px;
  min-width: 32px;
  text-align: center;
}
.jp-promo__timer small {
  font-size: 10px;
  font-weight: 600;
  margin-left: 2px;
  opacity: 0.9;
}
.jp-promo__cta {
  background: #fff;
  color: #ff5e85;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.18s;
}
.jp-promo__cta:hover { transform: translateY(-1px); }
.jp-promo__close {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.8;
  padding: 4px 8px;
}
body.has-promo { padding-bottom: 72px; }
@media (max-width: 720px) {
  .jp-promo { font-size: 11.5px; gap: 10px; padding: 10px 16px; }
  .jp-promo__timer span { min-width: 28px; font-size: 12px; }
}

/* AIナビ 小精霊角色卡(右下) */
.jp-ai-nav {
  position: fixed;
  bottom: 90px; /* 给粘性 banner 留位置 */
  right: 24px;
  z-index: 49;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}
.jp-ai-nav:hover { transform: translateY(-3px); }
.jp-ai-nav__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-sakura);
  box-shadow: 0 12px 28px rgba(247, 100, 140, 0.35);
  display: grid;
  place-items: center;
  position: relative;
}
.jp-ai-nav__avatar img {
  width: 56px; height: 56px;
  border-radius: 50%;
}
.jp-ai-nav__avatar::after {
  content: "";
  position: absolute;
  bottom: 4px; right: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #16a34a;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.3);
  animation: jpPulse 2s ease-in-out infinite;
}
@keyframes jpPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0); }
}
.jp-ai-nav__label {
  background: #fff;
  color: var(--color-trust-text);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(11, 27, 43, 0.18);
}

/* 隐藏旧 orb,只在 jp-page 上 */
body.jp-page #spart-orb { display: none; }

/* =============================================================
   Studio Home(登录后landing,匹配 Image #2 右侧设计)
   ============================================================= */

.stu-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 64px);
  background: var(--color-bg-deep);
}
@media (max-width: 980px) {
  .stu-shell { grid-template-columns: 1fr; }
}

/* 侧边栏 */
.stu-side {
  background: var(--color-bg-navy);
  border-right: 1px solid var(--color-border);
  padding: 24px 14px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
@media (max-width: 980px) {
  .stu-side { position: relative; top: 0; height: auto; overflow-x: auto; padding: 16px; }
}
.stu-side__brand {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text-main);
  padding: 0 12px 14px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 14px;
}
.stu-side__brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 2px;
}
.stu-side__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 980px) {
  .stu-side__nav { flex-direction: row; flex-wrap: nowrap; gap: 6px; }
}
.stu-side__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.stu-side__item:hover { background: rgba(255, 255, 255, 0.04); color: var(--color-text-main); }
.stu-side__item.is-active {
  background: linear-gradient(90deg, rgba(247, 183, 200, 0.16), rgba(246, 201, 69, 0.08));
  color: var(--color-text-main);
  font-weight: 800;
  position: relative;
}
.stu-side__item.is-active::before {
  content: "";
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, var(--color-sakura), var(--color-primary));
}
.stu-side__icon { font-size: 16px; opacity: 0.9; flex-shrink: 0; width: 18px; text-align: center; }

/* 主区域 */
.stu-main {
  padding: 28px 32px 96px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (max-width: 720px) {
  .stu-main { padding: 20px 18px 96px; }
}

/* 问候卡 */
.stu-greet {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(247, 183, 200, 0.06), rgba(246, 201, 69, 0.04)),
    var(--color-card);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}
.stu-greet::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(247, 183, 200, 0.18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.stu-greet__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stu-greet__hi {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-main);
}
.stu-greet__plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--color-sakura), var(--color-primary));
  color: #0a1426;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  width: fit-content;
  margin-top: 4px;
}
.stu-greet__credit {
  text-align: right;
  position: relative;
}
.stu-greet__credit small {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.stu-greet__credit b {
  font-size: 30px;
  font-weight: 800;
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  display: block;
  margin-top: 2px;
}
.stu-greet__credit a {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--color-sakura);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s;
}
.stu-greet__credit a:hover { background: #ff8eaa; }

/* 4 个快速操作卡 */
.stu-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 720px) {
  .stu-quick { grid-template-columns: repeat(2, 1fr); }
}
.stu-quick__card {
  padding: 20px 18px;
  border-radius: 14px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: var(--color-text-main);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s, border-color 0.18s, background 0.18s;
}
.stu-quick__card:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 183, 200, 0.4);
  background: var(--color-card-soft);
}
.stu-quick__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
}
.stu-quick__card:nth-child(1) .stu-quick__icon { background: linear-gradient(135deg, rgba(247, 183, 200, 0.2), rgba(247, 183, 200, 0.05)); }
.stu-quick__card:nth-child(2) .stu-quick__icon { background: linear-gradient(135deg, rgba(246, 201, 69, 0.2), rgba(246, 201, 69, 0.05)); }
.stu-quick__card:nth-child(3) .stu-quick__icon { background: linear-gradient(135deg, rgba(94, 211, 243, 0.2), rgba(94, 211, 243, 0.05)); }
.stu-quick__card:nth-child(4) .stu-quick__icon { background: linear-gradient(135deg, rgba(102, 241, 173, 0.2), rgba(102, 241, 173, 0.05)); }
.stu-quick__title { font-size: 14px; font-weight: 800; }
.stu-quick__sub { font-size: 12px; color: var(--color-text-muted); line-height: 1.4; }

/* 通用 section 头 */
.stu-sec-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.stu-sec-head h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 0;
  color: var(--color-text-main);
}
.stu-sec-head a {
  font-size: 12.5px;
  color: var(--color-sakura);
  text-decoration: none;
  font-weight: 700;
}
.stu-sec-head a:hover { color: #ff8eaa; }

/* 最近项目缩略图行 */
.stu-projects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .stu-projects { grid-template-columns: repeat(2, 1fr); }
}
.stu-project {
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, border-color 0.18s;
}
.stu-project:hover { transform: translateY(-2px); border-color: rgba(247, 183, 200, 0.4); }
.stu-project__cover {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2a1a3a, #0d1828);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stu-project__cover[data-tone="rose"] { background: linear-gradient(135deg, #3a1a2a, #1f1018); }
.stu-project__cover[data-tone="ocean"] { background: linear-gradient(135deg, #14283f, #0c1a2a); }
.stu-project__cover[data-tone="amber"] { background: linear-gradient(135deg, #3a2814, #221710); }
.stu-project__cover[data-tone="violet"] { background: linear-gradient(135deg, #251f3a, #161024); }
.stu-project__cover::before {
  content: "▶";
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: #1d2939;
  font-size: 13px;
  font-weight: 900;
}
.stu-project__time {
  position: absolute;
  bottom: 8px; right: 8px;
  font-family: ui-monospace, monospace;
  font-size: 10.5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  padding: 2px 6px;
  border-radius: 4px;
}
.stu-project__body {
  padding: 12px 14px;
}
.stu-project__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.4;
}
.stu-project__meta {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* 创作流 stepper */
.stu-flow {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
}
.stu-flow__steps {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.stu-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  font-weight: 600;
}
.stu-step__num {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.stu-step.is-active {
  background: linear-gradient(135deg, rgba(247, 183, 200, 0.16), rgba(246, 201, 69, 0.08));
  color: var(--color-text-main);
}
.stu-step.is-active .stu-step__num {
  background: linear-gradient(135deg, var(--color-sakura), var(--color-primary));
  color: #0a1426;
}
.stu-step.is-done { color: var(--color-text-main); }
.stu-step.is-done .stu-step__num { background: rgba(102, 241, 173, 0.16); color: #66f1ad; }
.stu-flow__sel {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
}
.stu-flow__sel-cover {
  width: 120px;
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: linear-gradient(135deg, #2a1a3a, #0d1828);
  position: relative;
  flex-shrink: 0;
}
.stu-flow__sel-cover::before {
  content: "▶";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: #1d2939;
  font-size: 10px;
  font-weight: 900;
}
.stu-flow__sel-body { flex: 1; }
.stu-flow__sel-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0 0 6px;
}
.stu-flow__chips {
  display: flex;
  gap: 8px;
  margin: 6px 0 12px;
  flex-wrap: wrap;
}
.stu-flow__chips span {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-weight: 600;
}
.stu-flow__chips span.is-gold { background: rgba(246, 201, 69, 0.14); color: var(--color-primary); }
.stu-flow__cta {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--color-sakura);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.15s;
}
.stu-flow__cta:hover { background: #ff8eaa; }

/* 2 列布局:左积分 donut + 右推荐 */
.stu-bottom {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 14px;
}
@media (max-width: 900px) {
  .stu-bottom { grid-template-columns: 1fr; }
}

/* 积分 donut */
.stu-donut-card {
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
}
.stu-donut-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: center;
}
@media (max-width: 560px) {
  .stu-donut-row { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
}
.stu-donut {
  position: relative;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: conic-gradient(
    var(--color-sakura) 0% 24%,
    var(--color-primary) 24% 33%,
    var(--color-cyan) 33% 39%,
    rgba(255, 255, 255, 0.1) 39% 100%
  );
  display: grid;
  place-items: center;
}
.stu-donut::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: var(--color-card);
}
.stu-donut__center {
  position: relative;
  text-align: center;
  z-index: 1;
}
.stu-donut__center b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stu-donut__center small {
  display: block;
  font-size: 11px;
  color: var(--color-text-muted);
  margin-top: 4px;
}
.stu-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stu-donut-legend > div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 12.5px;
  color: var(--color-text-main);
}
.stu-donut-legend i {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.stu-donut-legend > div b {
  color: var(--color-text-main);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.stu-donut-card__foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
}
.stu-donut-card__foot a {
  color: var(--color-sakura);
  text-decoration: none;
  font-weight: 700;
}
.stu-donut-card__foot a:hover { color: #ff8eaa; }

/* 本周推荐(竖排小卡) */
.stu-rec {
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
}
.stu-rec__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stu-rec__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.stu-rec__item:hover { background: rgba(255, 255, 255, 0.03); }
.stu-rec__cover {
  width: 56px;
  aspect-ratio: 1;
  border-radius: 8px;
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 18px;
}
.stu-rec__cover[data-tone="rose"] { background: linear-gradient(135deg, #3a1a2a, #1f1018); color: #f7b7c8; }
.stu-rec__cover[data-tone="amber"] { background: linear-gradient(135deg, #3a2814, #221710); color: #f6c945; }
.stu-rec__cover[data-tone="emerald"] { background: linear-gradient(135deg, #143829, #0e2419); color: #66f1ad; }
.stu-rec__body { flex: 1; min-width: 0; }
.stu-rec__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0 0 4px;
  line-height: 1.4;
}
.stu-rec__tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(247, 183, 200, 0.16);
  color: var(--color-sakura);
  font-weight: 700;
}
.stu-rec__tag.is-gold { background: rgba(246, 201, 69, 0.16); color: var(--color-primary); }
.stu-rec__tag.is-new { background: rgba(102, 241, 173, 0.16); color: #66f1ad; }



/* =============================================================
   Japanese Trust Studio — 日本前台官网重构
   ============================================================= */

body.jp-page {
  background: var(--color-bg-deep);
  color: var(--color-text-main);
}

/* ---- 通用容器 / 标题 ---- */
.jp-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 720px) {
  .jp-wrap { padding: 0 20px; }
}

.jp-section {
  padding: 96px 0;
  position: relative;
}
.jp-section--tight { padding: 64px 0; }
.jp-section--light {
  background: var(--color-trust-bg);
  color: var(--color-trust-text);
}
.jp-section--light .jp-section__sub { color: #475467; }
.jp-section--light .jp-section__title { color: var(--color-trust-text); }

.jp-section__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(246, 201, 69, 0.12);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.jp-section--light .jp-section__kicker {
  background: rgba(246, 201, 69, 0.18);
  color: #8a6708;
}
.jp-section__title {
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--color-text-main);
}
.jp-section__sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 0 0 40px;
}

/* ---- Hero ---- */
.jp-hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.jp-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 980px) {
  .jp-hero__grid { grid-template-columns: 1fr; gap: 40px; }
}
.jp-hero__copy h1 {
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 14px 0 18px;
}
.jp-hero__copy h1 .accent {
  color: var(--color-primary);
}
.jp-hero__copy p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  max-width: 540px;
}
.jp-hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.jp-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: 12px;
  background: var(--color-primary);
  color: #0a1426;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(246, 201, 69, 0.28);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.jp-btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(246, 201, 69, 0.38);
}
.jp-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.jp-btn-ghost:hover {
  border-color: var(--color-primary);
  background: rgba(246, 201, 69, 0.08);
}
.jp-hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--color-text-muted);
}
.jp-hero__meta span::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 800;
  margin-right: 6px;
}

/* Hero 右侧 Studio 模拟视图 */
.jp-hero__viz {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--color-card) 0%, var(--color-card-soft) 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(246, 201, 69, 0.04);
  overflow: hidden;
}
.jp-mock {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 168px 1fr 200px;
  grid-template-rows: 40px 1fr 64px;
  gap: 1px;
  background: rgba(255, 255, 255, 0.05);
}
.jp-mock__bar {
  grid-column: 1 / -1;
  background: #0c1c2e;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}
.jp-mock__bar span {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}
.jp-mock__bar span:nth-child(1) { background: #ff5f57; }
.jp-mock__bar span:nth-child(2) { background: #febc2e; }
.jp-mock__bar span:nth-child(3) { background: #28c840; }
.jp-mock__bar b {
  margin-left: auto;
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 600;
}
.jp-mock__side, .jp-mock__main, .jp-mock__right {
  background: var(--color-card);
  padding: 14px;
  font-size: 11px;
  color: var(--color-text-muted);
}
.jp-mock__side h4 {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 700;
}
.jp-mock__tpl {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(246, 201, 69, 0.04);
  margin-bottom: 6px;
  color: var(--color-text-main);
  font-size: 11px;
  font-weight: 600;
}
.jp-mock__tpl.is-active {
  background: rgba(246, 201, 69, 0.16);
  color: var(--color-primary);
}
.jp-mock__tpl::before {
  content: "";
  width: 22px; height: 22px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-sakura));
  flex-shrink: 0;
}
.jp-mock__main {
  background: linear-gradient(135deg, #11243a 0%, #0d1a2b 100%);
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jp-mock__main::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(94, 211, 243, 0.1), rgba(247, 183, 200, 0.06)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 24px);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.jp-mock__main::after {
  content: "▶";
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(246, 201, 69, 0.9);
  color: #0a1426;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(246, 201, 69, 0.4);
}
.jp-mock__right h4 {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 700;
}
.jp-mock__field {
  margin-bottom: 10px;
}
.jp-mock__field span {
  display: block;
  font-size: 10px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}
.jp-mock__field b {
  display: block;
  font-size: 11.5px;
  color: var(--color-text-main);
  font-weight: 600;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
}
.jp-mock__progress {
  grid-column: 1 / -1;
  background: #0c1c2e;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  color: var(--color-text-muted);
}
.jp-mock__progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.jp-mock__progress-bar i {
  display: block;
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-sakura));
  animation: jpProgress 3.4s ease-in-out infinite;
}
@keyframes jpProgress {
  0% { width: 24%; }
  50% { width: 86%; }
  100% { width: 24%; }
}

/* 樱花轻装饰粒子 */
.jp-sakura-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.jp-sakura-bg::before, .jp-sakura-bg::after {
  content: "";
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
}
.jp-sakura-bg::before {
  top: 8%; right: 12%;
  background: var(--color-sakura);
}
.jp-sakura-bg::after {
  bottom: 12%; left: 6%;
  background: var(--color-primary);
  opacity: 0.15;
}
.jp-petal {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50% 0 50% 50%;
  background: var(--color-sakura);
  opacity: 0.35;
  transform: rotate(45deg);
  animation: jpFall 16s linear infinite;
}
@keyframes jpFall {
  0% { transform: translate(0, -20px) rotate(45deg); opacity: 0; }
  10% { opacity: 0.4; }
  100% { transform: translate(60px, calc(100vh + 20px)) rotate(425deg); opacity: 0; }
}

/* ---- Trust Bar ---- */
.jp-trust-bar {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, rgba(246, 201, 69, 0.03), transparent);
  padding: 24px 0;
}
.jp-trust-bar__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .jp-trust-bar__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .jp-trust-bar__row { grid-template-columns: repeat(2, 1fr); }
}
.jp-trust-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--color-text-main);
  font-weight: 600;
}
.jp-trust-bar__icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(246, 201, 69, 0.14);
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

/* ---- Use Cases ---- */
.jp-usecases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .jp-usecases { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .jp-usecases { grid-template-columns: 1fr; }
}
.jp-usecase {
  padding: 28px;
  border-radius: 14px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jp-usecase:hover {
  transform: translateY(-3px);
  border-color: rgba(246, 201, 69, 0.4);
  background: var(--color-card-soft);
}
.jp-usecase__icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(246, 201, 69, 0.18), rgba(94, 211, 243, 0.12));
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 6px;
}
.jp-usecase h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--color-text-main);
}
.jp-usecase p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
}
.jp-usecase__cta {
  font-size: 13px;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 4px;
}

/* ---- Templates(可购买商品感) ---- */
.jp-tpl-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.jp-tpl-tabs::-webkit-scrollbar { display: none; }
.jp-tpl-tab {
  flex-shrink: 0;
  padding: 9px 16px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s;
}
.jp-tpl-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
.jp-tpl-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #0a1426;
}
.jp-tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) {
  .jp-tpl-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  .jp-tpl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .jp-tpl-grid { grid-template-columns: 1fr; }
}
.jp-tpl {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.jp-tpl:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 201, 69, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}
.jp-tpl__cover {
  aspect-ratio: 4 / 3;
  position: relative;
  background: linear-gradient(135deg, var(--color-card-soft) 0%, var(--color-bg-navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: rgba(246, 201, 69, 0.5);
  overflow: hidden;
}
.jp-tpl__cover[data-tone="rose"] { background: linear-gradient(135deg, #2a1a2a, #1a1421); }
.jp-tpl__cover[data-tone="ocean"] { background: linear-gradient(135deg, #14283f, #0c1a2a); }
.jp-tpl__cover[data-tone="emerald"] { background: linear-gradient(135deg, #143829, #0e2419); }
.jp-tpl__cover[data-tone="amber"] { background: linear-gradient(135deg, #3a2a14, #221710); }
.jp-tpl__cover[data-tone="violet"] { background: linear-gradient(135deg, #251f3a, #161024); }
.jp-tpl__badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(246, 201, 69, 0.92);
  color: #0a1426;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.jp-tpl__pop {
  position: absolute;
  top: 12px; right: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(247, 183, 200, 0.18);
  border: 1px solid rgba(247, 183, 200, 0.3);
  color: var(--color-sakura);
  font-size: 10px;
  font-weight: 700;
}
.jp-tpl__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.jp-tpl__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
  line-height: 1.4;
}
.jp-tpl__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0;
}
.jp-tpl__chip {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-text-muted);
  font-weight: 600;
}
.jp-tpl__chip--ok {
  background: rgba(102, 241, 173, 0.12);
  color: #66f1ad;
}
.jp-tpl__chip--gold {
  background: rgba(246, 201, 69, 0.14);
  color: var(--color-primary);
}
.jp-tpl__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.jp-tpl__price {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-primary);
  font-variant-numeric: tabular-nums;
}
.jp-tpl__price small {
  font-size: 10.5px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-left: 4px;
}
.jp-tpl__cta {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #0a1426;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s;
}
.jp-tpl__cta:hover { background: var(--color-primary-hover); }
.jp-tpl__use {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* ---- Models ---- */
.jp-models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .jp-models { grid-template-columns: repeat(2, 1fr); }
}
.jp-model {
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jp-model__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jp-model__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
}
.jp-model__tag {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 700;
}
.jp-model__tag--ok { background: rgba(102, 241, 173, 0.14); color: #66f1ad; }
.jp-model__tag--soon { background: rgba(94, 211, 243, 0.14); color: var(--color-cyan); }
.jp-model__tag--wait { background: rgba(247, 183, 200, 0.14); color: var(--color-sakura); }
.jp-model__tag--wf { background: rgba(246, 201, 69, 0.14); color: var(--color-primary); }
.jp-model__desc {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.55;
}
.jp-models-note {
  margin-top: 24px;
  padding: 14px 18px;
  font-size: 12px;
  color: var(--color-text-muted);
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--color-primary);
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

/* ---- Japan Trust Section (white) ---- */
.jp-trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .jp-trust-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .jp-trust-cards { grid-template-columns: 1fr; }
}
.jp-trust-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #E5E9EF;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.jp-trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 27, 43, 0.08);
}
.jp-trust-card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FFE8EF, #FFF3D0);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 6px;
}
.jp-trust-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-trust-text);
  margin: 0;
}
.jp-trust-card p {
  font-size: 13.5px;
  line-height: 1.7;
  color: #475467;
  margin: 0;
}

/* ---- Pricing ---- */
.jp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .jp-pricing-grid { grid-template-columns: 1fr; max-width: 480px; }
}
.jp-plan {
  position: relative;
  padding: 32px 28px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.jp-plan--featured {
  border-color: var(--color-primary);
  background: linear-gradient(180deg, rgba(246, 201, 69, 0.06), var(--color-card));
  box-shadow: 0 24px 48px rgba(246, 201, 69, 0.1);
}
.jp-plan__ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #0a1426;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 999px;
}
.jp-plan__name {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 700;
}
.jp-plan__label {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-text-main);
}
.jp-plan__price {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.jp-plan__price small {
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-left: 6px;
}
.jp-plan__desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin: 0;
}
.jp-plan__feats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jp-plan__feats li {
  font-size: 13.5px;
  color: var(--color-text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.55;
}
.jp-plan__feats li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 800;
  flex-shrink: 0;
}
.jp-plan__cta {
  display: block;
  text-align: center;
  height: 48px;
  line-height: 48px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}
.jp-plan__cta--primary {
  background: var(--color-primary);
  color: #0a1426;
}
.jp-plan__cta--primary:hover { background: var(--color-primary-hover); }
.jp-plan__cta--ghost {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}
.jp-plan__cta--ghost:hover { border-color: var(--color-primary); color: var(--color-primary); }
.jp-pricing-note {
  margin-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---- Cases ---- */
.jp-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .jp-cases { grid-template-columns: 1fr; }
}
.jp-case {
  padding: 24px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jp-case__type {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 800;
}
.jp-case__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text-main);
  margin: 0;
}
.jp-case__desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}
.jp-case__beforeafter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.jp-case__shot {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--color-text-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.jp-case__shot--before {
  background: linear-gradient(135deg, #1a2535, #131c28);
}
.jp-case__shot--after {
  background: linear-gradient(135deg, #1f2f4a, #14253d);
  color: var(--color-primary);
  border-color: rgba(246, 201, 69, 0.3);
}
.jp-case__stats {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--color-text-muted);
}
.jp-case__stats b {
  color: var(--color-text-main);
  font-size: 14px;
  font-weight: 800;
  display: block;
}

/* ---- FAQ ---- */
.jp-faq {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.jp-faq__item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}
.jp-faq__item[open] {
  border-color: rgba(246, 201, 69, 0.3);
}
.jp-faq__q {
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.jp-faq__q::-webkit-details-marker { display: none; }
.jp-faq__q::after {
  content: "+";
  color: var(--color-primary);
  font-size: 22px;
  font-weight: 400;
  transition: transform 0.2s;
}
.jp-faq__item[open] .jp-faq__q::after {
  content: "−";
}
.jp-faq__a {
  padding: 0 22px 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---- Studio Preview big ---- */
.jp-studio-preview {
  position: relative;
  border-radius: 18px;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  padding: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.jp-studio-preview .jp-mock {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  grid-template-columns: 200px 1fr 240px;
}

/* ---- 顶部导航日本版 ---- */
.spart-topbar[data-variant="jp"] {
  background: rgba(7, 19, 31, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}
.jp-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
  padding: 0 32px;
  max-width: 1240px;
  margin: 0 auto;
}
.jp-nav__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
  margin-right: 12px;
}
.jp-nav__brand b {
  font-size: 17px;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}
.jp-nav__brand small {
  font-size: 9.5px;
  color: var(--color-text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.jp-nav__links {
  display: flex;
  gap: 22px;
  flex: 1;
}
.jp-nav__links a {
  font-size: 13.5px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.18s;
}
.jp-nav__links a:hover { color: var(--color-text-main); }
.jp-nav__lang {
  display: flex;
  gap: 4px;
  margin-right: 8px;
}
.jp-nav__lang button {
  background: transparent;
  border: 0;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: 6px;
  letter-spacing: 0.04em;
}
.jp-nav__lang button.is-active {
  background: rgba(246, 201, 69, 0.16);
  color: var(--color-primary);
}
.jp-nav__login {
  font-size: 13.5px;
  color: var(--color-text-main);
  text-decoration: none;
  font-weight: 600;
  margin-right: 8px;
}
.jp-nav__try {
  padding: 9px 18px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #0a1426;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s;
}
.jp-nav__try:hover { background: var(--color-primary-hover); }
@media (max-width: 900px) {
  .jp-nav__links { display: none; }
  .jp-nav { gap: 12px; padding: 0 20px; }
}

/* ---- Footer 日本版 ---- */
.jp-foot {
  background: #050e18;
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
  margin-top: 0;
}
.jp-foot__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .jp-foot__grid { grid-template-columns: repeat(2, 1fr); }
}
.jp-foot__brand b {
  font-size: 17px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}
.jp-foot__brand small {
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.jp-foot__brand p {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 320px;
}
.jp-foot h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-main);
  margin: 0 0 14px;
  font-weight: 800;
}
.jp-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.jp-foot a {
  font-size: 13px;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.18s;
}
.jp-foot a:hover { color: var(--color-primary); }
.jp-foot__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-muted);
}



/* ====== Orb 智能避让 promo banner / mobile keyboard ====== */
.spart-orb { bottom: 28px !important; right: 22px !important; }
/* 当页面有底部 promo banner 时,orb 上移到 promo 上方 */
body.has-promo .spart-orb { bottom: 88px !important; }
@media (max-width: 640px) {
  .spart-orb { bottom: 76px !important; right: 16px !important; }
  body.has-promo .spart-orb { bottom: 132px !important; }
}
