/* lulu-ai.css — AI 中心 / 创作 / 案例专页样式
 * 从源站 AiPage / AiCreatePage / AiCasesPage / CaseMediaPreview 去 scoped 属性后整理。
 * 不依赖 pages.css 里带 data-v-* 的旧片段。
 */
.vv-page-layout.ai-page {
  overflow-x: clip;
}
.vv-page-layout.ai-page,
.vv-page-layout.ai-create-page,
.vv-page-layout.ai-cases-page {
  box-sizing: border-box;
  width: min(100%, var(--vv-page-layout-max-width, 1040px));
  margin-inline: auto;
  /* 源站 49：--vv-page-layout-gutter: clamp(14px, 3vw, 28px)；390 下为 14px */
  padding-inline: clamp(14px, 3vw, 28px);
  padding-block: 12px 24px;
}
/* 创作页固定提交栏占位：对齐源站 --vv-page-layout-block-end（须盖过上面 padding-block） */
.vv-page-layout.ai-create-page {
  padding-bottom: calc(140px + env(safe-area-inset-bottom, 0px) + var(--ai-create-keyboard-inset, 0px));
}
/* 只取消 AI 三页上壳层左右 padding，避免与专页 gutter 叠加（原先 390 下约 17+16=33，源站约 14）。
 * 不改 shell.css / lulu-chrome.css / tokens；顶底仍由壳层负责。 */
#app-main:has(.ai-page),
#app-main:has(.ai-create-page),
#app-main:has(.ai-cases-page) {
  padding-left: 0;
  padding-right: 0;
}
/* 飘条是 .ai-page 的兄弟节点，变量必须挂在 html:has 才能被子树外的 banner 继承；
 * 否则 --with-navigation 的 calc(var(--site-bottom-nav-space)+10px) 会 IACVT 成 bottom:auto，
 * 飘条落到文档静态位（bottom≈-27，大半出屏）。 */
html:has(.ai-page),
html:has(.ai-create-page),
html:has(.ai-cases-page) {
  --site-bottom-nav-space: calc(var(--k-bottom-nav-h, 3.75rem) + var(--k-safe-bottom, env(safe-area-inset-bottom, 0px)));
}
.ai-page, .ai-create-page, .ai-cases-page {
  /* 默认浅色白卡（对齐源站 09/49/50/51）；dark 见下方 html:not(.light) */
  --site-accent: #ff5d79;
  --site-accent-strong: #ff3d66;
  --site-accent-soft: rgba(255, 93, 121, 0.14);
  --site-accent-shadow: rgba(255, 93, 121, 0.22);
  --site-border: rgba(40, 20, 36, 0.10);
  --site-surface: #ffffff;
  --site-surface-muted: #eef0f5; /* was #f7eef5 pink; align source neutral gray */
  --vv-color-text: #1a1d28;
  --vv-color-muted: #6b7280;
  --site-accent-gradient: var(--k-accent-gradient, linear-gradient(135deg, #ff8a67, #ff4d83 58%, #9c55ff));
  color: var(--vv-color-text);
}
html:not(.light) .ai-page,
html:not(.light) .ai-create-page,
html:not(.light) .ai-cases-page {
  --site-border: rgba(255,255,255,0.08);
  --site-surface: #151823;
  --site-surface-muted: #1c2030;
  --vv-color-text: #f3f4f8;
  --vv-color-muted: #9aa3b5;
  --site-accent-shadow: rgba(255, 93, 121, 0.28);
}
/* 若 html/body 已定义同名变量，用继承覆盖上面的页面回退 */
:root:has([data-lulu-shell]) .ai-page,
:root:has([data-lulu-shell]) .ai-create-page,
:root:has([data-lulu-shell]) .ai-cases-page {
  /* no-op：页面级硬回退即可；tokens.css 若在祖先设了同名自定义属性会自然覆盖子元素未重设的值。
     这里刻意在页面根重设，保证专页独立预览也有色。 */
}


/* AI 中心页恢复搜索条（与首页同款，链到 /search）；分类横滑在三页仍隐藏。
 * 创作/全部案例页保持 show_topnav=false + compact 返回栏，不再强显 #k-topnav。不改 top_nav.twig。 */
html:has(.ai-page) .lulu-header__channel-row,
html:has(.ai-create-page) .lulu-header__channel-row,
html:has(.ai-cases-page) .lulu-header__channel-row {
  display: none !important;
}
/* 专页内 compact 返回栏（不改壳层 top_nav.twig） */
.ai-compact-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 0 10px;
  padding: 4px 0;
}
.ai-compact-bar__back,
.ai-compact-bar__action {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(40, 20, 36, 0.10);
  border-radius: 50%;
  background: #ffffff;
  color: #1a1d28;
  box-shadow: 0 1px 3px rgba(24, 16, 28, 0.08);
  text-decoration: none;
  cursor: pointer;
}
html:not(.light) .ai-compact-bar__back,
html:not(.light) .ai-compact-bar__action {
  /* 源站 compact 仍为白底深色图标 */
  background: #ffffff;
  color: #1a1d28;
  border-color: rgba(40, 20, 36, 0.10);
}
.ai-compact-bar__back svg,
.ai-compact-bar__action svg { width: 20px; height: 20px; }
.ai-compact-bar__title {
  flex: 1;
  margin: 0;
  text-align: center;
  color: var(--vv-color-text);
  font-size: 15px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ai-compact-bar__actions {
  display: flex;
  gap: 4px;
  min-width: 40px;
  justify-content: flex-end;
}

/* vv-image 空态 / 加载 */
.vv-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--site-surface-muted);
}
.vv-image__element {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vv-image--empty .vv-image__element { display: none; }
.vv-image__loading,
.vv-image__assistive {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--vv-color-muted);
  font-size: 11px;
  pointer-events: none;
}
.vv-image__loading {
  background: linear-gradient(105deg, var(--site-surface-muted) 34%, color-mix(in srgb, var(--site-surface-muted) 45%, #fff) 46%, var(--site-surface-muted) 58%);
  background-size: 220% 100%;
  animation: ai-skeleton-72042b70 1.2s linear infinite;
}
.vv-image--loaded .vv-image__loading,
.vv-image--loaded .vv-image__assistive,
.vv-image--empty .vv-image__loading { display: none; }
.vv-image--empty::after {
  content: "暂无预览";
  color: var(--vv-color-muted);
  font-size: 11px;
}

/* 弹窗广告位占位（页内，不改壳层） */
.ai-page .vv-ad-slot,
.ai-create-page .vv-ad-slot,
.ai-cases-page .vv-ad-slot {
  display: none;
}


/* --- AiPage-CTBYxN0n.css --- */
.task-number{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px;min-width:0;font-size:12px;line-height:1.6;color:var(--vv-color-muted)}
.task-number code{width:100%;overflow-wrap:anywhere;font:inherit;-webkit-user-select:text;user-select:text}
.task-number button{border:0;border-radius:6px;padding:5px 10px;background:var(--vv-color-background, #f5f5fa);color:var(--vv-color-primary, #ff527f);font:inherit;cursor:pointer}
.task-number__status{width:100%;font-size:11px}
.ai-page{--vv-page-layout-max-width: 1040px;display:grid;gap:clamp(18px,3vw,28px)}
.ai-page__intro{display:grid;gap:8px}
.ai-page__intro>span,.ai-page__cases header span,.ai-page__section-heading>div>span{color:var(--site-accent-strong,#ff3d66);font-size:10px;font-weight:850;letter-spacing:.11em}
.ai-page__intro>span{display:flex;align-items:center;gap:6px}
.ai-page__intro>span>svg{width:16px}
.ai-page__intro-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;min-width:0}
.ai-page__intro h1{margin:0;color:var(--vv-color-text);font-size:clamp(34px,7vw,52px);line-height:1.08;letter-spacing:-.045em;white-space:nowrap}
.ai-page__intro .ai-page__tool-menu{position:relative;z-index:30;flex:0 1 auto;min-width:0;width:auto}
.ai-page__intro .ai-page__resource-tool{appearance:none;display:inline-flex;width:auto;max-width:100%;min-height:36px;padding:0 12px;align-items:center;justify-content:center;gap:6px;border:0;border-radius:999px;background:var(--site-accent);box-shadow:0 8px 18px var(--site-accent-shadow);color:#fff;font:inherit;font-size:13px;font-weight:750;white-space:nowrap;cursor:pointer}
.ai-page__intro .ai-page__resource-tool>svg{width:16px;height:16px;flex-shrink:0}
.ai-page__intro .ai-page__resource-tool-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:0 1 auto;min-width:0}
.ai-page__resources{position:relative;z-index:30;display:grid;grid-template-columns:minmax(0,1fr);gap:4px;justify-self:start;width:fit-content;min-width:0;max-width:100%;overflow:visible;padding:4px;border:1px solid var(--site-border);border-radius:22px;background:color-mix(in srgb,var(--site-surface) 88%,transparent);box-shadow:0 12px 36px #1d18260f}
.ai-page__resources button,.ai-page__tool-switcher button,.ai-page__create,.ai-page__section-heading button,.ai-page__state button,.ai-page__case-create,.ai-page__case-card button{appearance:none;border:0;font:inherit;cursor:pointer}
.ai-page__resources button,.ai-page__resources .ai-page__wallet-entry{display:flex;min-width:0;min-height:40px;padding:0 16px;align-items:center;justify-content:center;border-radius:17px;background:transparent;color:var(--vv-color-muted);font-size:13px;font-weight:750;gap:6px;white-space:nowrap;transition:.16s ease}
.ai-page__resources button>svg,.ai-page__wallet-entry>svg{width:18px;height:18px;flex-shrink:0}
.ai-page__resources button.is-active{background:var(--site-accent);box-shadow:0 8px 20px var(--site-accent-shadow);color:#fff}
.ai-page__workspace,.ai-page__collection{display:grid;gap:18px}
.ai-page__tool-switcher{display:flex;overflow-x:auto;padding-block:2px;scrollbar-width:none;gap:9px}
.ai-page__tool-switcher::-webkit-scrollbar{display:none}
.ai-page__tool-switcher button{display:inline-flex;flex:none;min-height:42px;align-items:center;padding:9px 14px;border-radius:999px;background:color-mix(in srgb,var(--vv-color-text) 7%,var(--site-surface));color:var(--vv-color-muted);font-size:12px;font-weight:700;white-space:nowrap;gap:7px}
.ai-page__tool-switcher button svg{width:16px;height:16px}
.ai-page__tool-switcher button.is-active{background:var(--site-accent);color:#fff}
.ai-page__cases,.ai-page__collection{border:1px solid var(--site-border);background:var(--site-surface);box-shadow:0 16px 44px #1e162512}
.ai-page__cases h2,.ai-page__section-heading h2,.ai-page__state h2,.ai-page__case-card h3,.ai-page__task-card h3,.ai-page__output-card h3{margin:0;color:var(--vv-color-text);letter-spacing:-.025em}
.ai-page__create{display:inline-flex;min-height:46px;align-items:center;justify-content:center;padding:11px 18px;border-radius:999px;background:var(--site-accent);box-shadow:0 10px 24px var(--site-accent-shadow);color:#fff;font-size:13px;font-weight:800;gap:7px}
.ai-page__create svg,.ai-page__case-card button svg{width:16px;height:16px}
.ai-page__cases,.ai-page__collection{padding:clamp(18px,3vw,26px);border-radius:26px}
.ai-page__cases>header,.ai-page__section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.ai-page__cases>header>div,.ai-page__section-heading>div{display:grid;gap:3px}
.ai-page__tool-menu{position:relative;display:flex;min-width:0;width:100%}
.ai-page__resource-tool{max-width:100%;width:100%;min-width:0;overflow:hidden}
.ai-page__resource-tool-label{overflow:visible;text-overflow:unset;white-space:nowrap;flex:0 1 auto}
.ai-page__resource-tool-arrow{width:14px!important;height:14px!important;transition:transform .16s ease}
.ai-page__resource-tool[aria-expanded=true] .ai-page__resource-tool-arrow{transform:rotate(180deg)}
.ai-page__tool-menu-list{position:absolute;z-index:20;top:calc(100% + 8px);left:0;display:grid;min-width:178px;padding:6px;gap:3px;border:1px solid var(--site-border);border-radius:14px;background:var(--site-surface);box-shadow:0 14px 30px #1d182629}
/* display:grid 会压过 UA 的 [hidden]{display:none}，导致下拉常开盖住案例标题 */
.ai-page__tool-menu-list[hidden]{display:none}
.ai-create-page__source-items[hidden]{display:none}
.ai-page__tool-menu-list button{display:flex;width:100%;min-height:38px;align-items:center;justify-content:flex-start;padding:0 10px;gap:8px;border-radius:10px;color:var(--vv-color-muted);font-size:12px;white-space:nowrap;text-align:left}
.ai-page__tool-menu-list button:hover,.ai-page__tool-menu-list button.is-selected{background:var(--site-accent-soft);color:var(--site-accent-strong)}
.ai-page__tool-menu-list button:focus-visible{outline:2px solid var(--site-accent);outline-offset:-2px}
.ai-page__tool-menu-list button svg{width:16px;height:16px;flex-shrink:0}
.ai-page__cases>header>div{min-width:0;overflow-wrap:anywhere}
.ai-page__cases h2,.ai-page__section-heading h2{font-size:clamp(20px,3vw,25px)}
.ai-page__cases header small{color:var(--vv-color-muted);font-size:10px}
.ai-page__case-loading{display:grid;grid-template-columns:minmax(0,1fr);margin-top:16px;gap:12px}
.ai-page__case-loading i{height:clamp(130px,28vw,310px);border-radius:18px;background:linear-gradient(105deg,var(--site-surface-muted) 34%,color-mix(in srgb,var(--site-surface-muted) 45%,#fff) 46%,var(--site-surface-muted) 58%);background-size:220% 100%;animation:ai-skeleton-72042b70 1.2s linear infinite}
.ai-page__case-card{flex:0 0 100%;min-width:0;box-sizing:border-box;overflow:hidden;border:1px solid var(--site-border);border-radius:20px;background:var(--site-surface)}
.ai-page__case-media{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);height:max(130px,(100cqw - 12px) * .375);gap:10px}
.ai-page__case-media.is-comparison{height:max(130px,(100cqw - 12px) * .375 - 36px);grid-template-columns:repeat(2,minmax(0,1fr))}
.ai-page__case-media-slot{position:relative;border-radius:14px;display:grid;min-width:0;min-height:0;overflow:hidden;place-items:center;background:var(--site-surface-muted);color:var(--vv-color-muted)}
.ai-page__case-media-slot>.vv-image,.ai-page__case-media-slot img,.ai-page__case-media-slot video{width:100%;height:100%;min-height:0;object-fit:contain}
.ai-page__case-media-placeholder{display:grid;justify-items:center;padding:8px;gap:6px;font-size:11px;text-align:center}
.ai-page__case-media-placeholder svg{width:28px;opacity:.55}
.ai-page__case-card>div:last-child{display:grid;padding:13px;gap:5px}
.ai-page__case-card h3{overflow-wrap:anywhere;font-size:15px}
.ai-page__case-card p{overflow-wrap:anywhere;display:-webkit-box;overflow:hidden;margin:0;color:var(--vv-color-muted);font-size:11px;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.ai-page__case-create{display:inline-flex;width:fit-content;align-items:center;min-height:36px;justify-content:center;flex-shrink:0;white-space:nowrap;padding:8px 16px;border-radius:999px;background:var(--site-accent);color:#fff;font-size:11px;font-weight:800;gap:4px}
.ai-page__case-create svg{width:16px;height:16px}
.ai-page__case-create:disabled{opacity:.5;cursor:default}
.ai-page__case-create:focus-visible{outline:2px solid var(--site-accent-strong);outline-offset:3px}
.ai-page__section-heading button{display:inline-flex;align-items:center;padding:8px 0;background:transparent;color:var(--vv-color-muted);font-size:11px;font-weight:700;gap:5px}
.ai-page__section-heading button svg{width:15px;height:15px}
.ai-page__section-heading button:disabled{opacity:.5}
.ai-page__state{display:grid;min-height:250px;place-items:center;align-content:center;text-align:center;color:var(--vv-color-muted);gap:8px}
.ai-page__state>svg{width:34px;height:34px;color:var(--site-accent)}
.ai-page__state h2{font-size:17px}
.ai-page__state p{max-width:340px;margin:0;font-size:12px;line-height:1.6}
.ai-page__state button{margin-top:5px;padding:9px 16px;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent-strong);font-size:12px;font-weight:800}
.ai-page__task-list{display:grid;margin-top:17px;gap:10px}
.ai-page__task-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}
.ai-page__task-title-row{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:8px}
.ai-page__task-title-row h3{min-width:0}
.ai-page__task-completed-status{display:inline-block;flex-shrink:0;white-space:nowrap}
.ai-page__task-meta-row button{appearance:none;border:0;border-radius:999px;padding:5px 12px;min-height:30px;background:var(--site-accent-soft);color:var(--site-accent-strong);font:inherit;font-size:11px;white-space:nowrap;cursor:pointer}
.ai-page__task-meta-row button:focus-visible{outline:2px solid var(--site-accent);outline-offset:2px}
.ai-page__task-card.is-completed{grid-template-columns:auto minmax(0,1fr)}
.ai-page__task-meta-row{display:flex;min-width:0;align-items:center;gap:8px}
.ai-page__task-meta-row p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ai-page__task-meta-row button{flex-shrink:0;margin-left:auto}
.ai-page__task-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;padding:9px;border:1px solid var(--site-border);border-radius:18px;gap:11px}
.ai-page__task-preview{display:grid;overflow:hidden;width:58px;height:58px;place-items:center;border-radius:14px;background:var(--site-surface-muted);color:var(--vv-color-muted)}
.ai-page__task-preview .vv-base-image,.ai-page__task-preview img{width:100%;height:100%}
.ai-page__task-preview img{object-fit:cover}
.ai-page__task-preview>svg{width:24px}
.ai-page__task-preview-label{display:grid;width:100%;height:100%;place-items:center;padding:6px;color:var(--site-accent-strong);font-size:12px;font-weight:700;text-align:center}
.ai-page__task-card>div:nth-child(2){display:grid;grid-template-columns:minmax(0,1fr);min-width:0;gap:4px}
.ai-page__task-card h3{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.ai-page__task-card p,.ai-page__output-card p{margin:0;color:var(--vv-color-muted);font-size:10px}
.ai-page__task-card p{overflow-wrap:anywhere}
.ai-page__task-actions>span,.ai-page__task-completed-status{padding:6px 9px;border-radius:999px;background:var(--site-surface-muted);color:var(--vv-color-muted);font-size:10px;font-weight:750}
.ai-page__task-actions>span.is-success,.ai-page__task-completed-status.is-success{background:#29b3651c;color:#25965c}
.ai-page__task-actions>span.is-processing{background:var(--site-accent-soft);color:var(--site-accent-strong)}
.ai-page__task-actions>span.is-error{background:#dc43431a;color:#c64444}
.ai-page__output-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:17px;gap:12px}
.ai-page__output-card{position:relative;overflow:hidden;border:1px solid var(--site-border);border-radius:19px}
.ai-page__output-card.is-clickable{cursor:pointer}
.ai-page__output-card.is-clickable:focus-visible{outline:2px solid var(--site-accent);outline-offset:3px}
.ai-page__output-link{appearance:none;padding:0;border:0;background:transparent;font:inherit;text-align:inherit;cursor:pointer;color:inherit;text-decoration:none}
.ai-page__output-link:focus-visible{outline:none}
.ai-page__output-media audio{position:relative;z-index:2}
.ai-page__output-media{position:relative;display:grid;overflow:hidden;aspect-ratio:1;place-items:center;background:var(--site-surface-muted);color:var(--vv-color-muted)}
.ai-page__output-media .vv-base-image,.ai-page__output-media img,.ai-page__output-media video{width:100%;height:100%}
.ai-page__output-media img,.ai-page__output-media video{object-fit:cover}
.ai-page__output-media>p{display:-webkit-box;overflow:hidden;padding:14px;color:var(--vv-color-text);font-size:12px;line-height:1.6;-webkit-box-orient:vertical;-webkit-line-clamp:6}
.ai-page__output-media>svg{width:40px;opacity:.55}
.ai-page__output-card>div:last-child{display:grid;padding:12px;gap:4px}
.ai-page__output-card h3{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}
.is-spinning{animation:ai-spin-72042b70 .85s linear infinite}
@media(hover:hover){.ai-page__resources button:not(.is-active):hover,.ai-page__tool-switcher button:not(.is-active):hover{background:var(--site-surface-muted);color:var(--vv-color-text)}
.ai-page__create:hover{background:var(--site-accent-strong)}
}
@media(max-width:560px){.ai-page__intro{gap:6px}
.ai-page__intro-row{gap:8px 10px}
.ai-page__intro h1{font-size:clamp(26px,7vw,34px)}
.ai-page__intro .ai-page__resource-tool{min-height:34px;padding:0 10px;font-size:12px;gap:4px}
.ai-page__resources{grid-column:1/-1;grid-template-columns:minmax(0,1fr);justify-self:start;width:fit-content;max-width:100%;margin-top:8px;padding:5px;border-radius:18px}
.ai-page__resources button,.ai-page__resources .ai-page__wallet-entry{min-height:44px;padding-inline:5px;border-radius:14px}
.ai-page__create{width:100%}
.ai-page__case-media{height:max(130px,75cqw)}
.ai-page__case-media.is-comparison{height:max(130px,75cqw - 36px)}
}
@media(min-width:760px){.ai-page__tool-switcher{flex-wrap:wrap;overflow:visible}
.ai-page__output-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){.ai-page__case-loading i,.is-spinning{animation:none}
}
@keyframes ai-spin-72042b70{to{transform:rotate(1turn)}
}
@keyframes ai-skeleton-72042b70{to{background-position-x:-220%}
}
.ai-page__workspace,.ai-page__cases,.ai-page__carousel{min-width:0;max-width:100%}
.ai-page__workspace{overflow-x:clip}
.ai-page__carousel{margin-top:16px;overflow:hidden;max-width:100%}
.ai-page__case-list{container-type:inline-size;overflow:hidden;border-radius:20px;touch-action:pan-y;max-width:100%}
.ai-page__case-track{display:flex;align-items:stretch;transition:transform .3s ease}
.ai-page__case-badge{position:absolute;top:8px;z-index:1;max-width:calc(100% - 12px);padding:3px 6px;border-radius:4px;color:#fff;font-size:clamp(9px,2.5vw,11px);line-height:1.4;font-weight:800;overflow-wrap:anywhere;pointer-events:none}
.ai-page__case-badge--original{left:6px;background:#1c1f2ad9}
.ai-page__case-badge--result{left:6px;background:#f51c62}
.ai-page__carousel-controls,.ai-page__carousel-dots{display:flex;align-items:center;justify-content:center}
.ai-page__carousel-controls{flex-wrap:wrap;gap:4px;margin-top:10px}
.ai-page__carousel-dots button{display:inline-flex;width:30px;height:40px;padding:0;align-items:center;justify-content:center;border:0;border-radius:50%;background:transparent;color:var(--vv-color-text);cursor:pointer}
.ai-page__carousel-dots span{width:7px;height:7px;border-radius:999px;background:var(--vv-color-muted);opacity:.45}
.ai-page__carousel-dots .is-active span{width:18px;background:var(--site-accent);opacity:1}
.ai-page__cases button:focus-visible{outline:2px solid var(--site-accent-strong);outline-offset:2px}
.ai-page__cases-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:18px}
.ai-page__cases-footer .ai-page__create{width:100%;max-width:none}
.ai-page__create--secondary{background:var(--site-accent-soft);color:var(--site-accent-strong);box-shadow:none}
.ai-page__case-empty{padding:28px 0;color:var(--vv-color-muted);text-align:center;font-size:13px}
.ai-page__case-empty button{padding:8px 14px;border:0;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent-strong);cursor:pointer}
@media(prefers-reduced-motion:reduce){.ai-page__case-track{transition:none}
}
.ai-page__case-track.is-static{transition:none}
.ai-page__output-media audio{width:100%;min-width:0}
.ai-page__case-card .ai-page__case-preview-trigger{position:absolute;inset:0;z-index:2;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:#fff;cursor:zoom-in}
.ai-page__case-card .ai-page__case-preview-trigger:focus-visible{outline:2px solid var(--site-accent);outline-offset:-3px}
.ai-page__case-card .ai-page__case-preview-trigger:disabled{cursor:wait;opacity:.5}
.ai-page__case-card .ai-page__case-preview-trigger svg{box-sizing:border-box;width:44px;height:44px;padding:11px;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:#0000008c}
.ai-page__output-count{position:absolute;z-index:3;top:10px;right:10px;display:grid;min-width:28px;height:28px;padding:0 7px;place-items:center;border:2px solid rgba(255,255,255,.88);border-radius:999px;background:var(--site-accent);color:#fff;font-size:12px;font-weight:700;line-height:1;box-shadow:0 4px 12px #00000029}
.ai-page__case-count{position:absolute;top:6px;right:6px;z-index:3;display:grid;place-items:center;box-sizing:border-box;min-width:28px;height:28px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#ff557c;color:#fff;font-size:13px;font-weight:700;pointer-events:none}
.ai-page__list-end{display:flex;min-height:52px;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;padding:16px 0;color:var(--vv-color-muted);font-size:13px}
.ai-page__list-end button{min-height:44px;padding:8px 18px;border:0;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent-strong);font:inherit;cursor:pointer}
.ai-page__list-end button:focus-visible{outline:2px solid var(--site-accent);outline-offset:2px}
.ai-page__output-placeholder{padding:16px;text-align:center;color:var(--vv-color-muted)}
.ai-page__output-task-number{overflow-wrap:anywhere}
.ai-page__output-retry{min-height:44px;padding:8px 12px;border:0;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent-strong);font:inherit;cursor:pointer}
.ai-page__wallet-entry{text-decoration:none}
.ai-page__wallet-entry:hover{background:var(--site-surface-muted);color:var(--vv-color-text)}
.ai-page__wallet-entry:focus-visible{outline:2px solid var(--site-accent);outline-offset:2px}
@media(max-width:560px){.ai-page__resources{gap:2px}
.ai-page__resources button,.ai-page__resources .ai-page__wallet-entry{font-size:12px;gap:4px}
.ai-page__resources button>svg,.ai-page__wallet-entry>svg{width:16px;height:16px}
}

/* --- AiCreatePage-CD-vA3QM.css --- */
.ai-create-page{--vv-page-layout-max-width: 760px;display:grid;gap:14px;min-width:0}
.ai-create-page__tool{position:relative;isolation:isolate;overflow:hidden;display:grid;align-content:start;gap:10px;min-height:144px;padding:clamp(20px,4vw,28px);border-radius:24px;background:linear-gradient(115deg,var(--site-accent-strong),var(--site-accent) 70%,color-mix(in srgb,var(--site-accent) 70%,#fff));color:#fff;box-shadow:0 14px 32px var(--site-accent-shadow)}
.ai-create-page__tool:after{position:absolute;z-index:-1;right:-40px;bottom:-60px;width:160px;height:160px;border-radius:50%;background:#ffffff26;content:"";pointer-events:none}
.ai-create-page__tool h1{margin:0;font-size:clamp(22px,4vw,28px);line-height:1.3;overflow-wrap:anywhere}
.ai-create-page__tool p{margin:0;font-size:12px;font-weight:650;line-height:1.7}
.ai-create-page__hint{margin:0;padding:10px 12px;border:1px solid color-mix(in srgb,var(--site-accent) 45%,var(--site-border));border-radius:13px;background:var(--site-accent-soft);color:var(--vv-color-text);font-size:11px;font-weight:650;line-height:1.6}
.ai-create-page__form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;gap:12px}
.ai-create-page__form>header,.ai-create-page__field--wide,.ai-create-page__notice{grid-column:1/-1}
.ai-create-page__form>header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 0}
.ai-create-page__form>header>div{min-width:0}
.ai-create-page__form h2{margin:0;color:var(--vv-color-text);font-size:17px;line-height:1.4}
.ai-create-page__form>header p{margin:3px 0 0;color:var(--vv-color-muted);font-size:11px;line-height:1.6}
.ai-create-page__form>header>small{flex:none;color:var(--site-accent);font-size:11px;font-weight:750}
.ai-create-page__field{position:relative;display:grid;min-width:0;gap:9px;padding:14px;border:1px solid var(--site-border);border-radius:18px;background:var(--site-surface);box-shadow:0 10px 24px #1e283c0a}
.ai-create-page__field>span{color:var(--vv-color-muted);font-size:11px;font-weight:750}
.ai-create-page__field em,.ai-create-page__field i{margin-left:5px;font-size:10px;font-style:normal}
.ai-create-page__field em{padding:3px 7px;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent)}
.ai-create-page__field textarea,.ai-create-page__field select{box-sizing:border-box;width:100%;min-width:0;border:1px solid transparent;border-radius:12px;background:var(--site-surface);color:var(--vv-color-text);font:inherit;font-size:15px}
.ai-create-page__field textarea{min-height:130px;padding:10px 8px;resize:vertical;line-height:1.65}
.ai-create-page__field select{min-height:44px;padding:0 8px;border-color:var(--site-border)}
.ai-create-page__field textarea:focus,.ai-create-page__field select:focus{outline:2px solid var(--site-accent);outline-offset:1px}
.ai-create-page__field textarea::placeholder{color:var(--vv-color-muted);font-weight:650}
.ai-create-page__confirm-prompt{max-height:180px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
.ai-create-page__field>small{justify-self:end;color:var(--vv-color-muted);font-size:10px}
.ai-create-page__source-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:24px;color:var(--vv-color-muted);font-size:11px;font-weight:750}
.ai-create-page__source-add{padding:5px 0 5px 8px;background:transparent;color:var(--site-accent-strong);font-size:11px}
.ai-create-page__source-picker{display:grid;min-height:118px;align-content:center;justify-items:center;gap:6px;padding:14px;box-shadow:inset 0 0 0 1px var(--site-border);border-radius:18px;background:var(--site-surface);color:var(--vv-color-muted);cursor:pointer}
.ai-create-page__source-picker svg{width:30px;height:30px;color:var(--site-accent)}
.ai-create-page__source-picker>span{font-size:13px;font-weight:750}
.ai-create-page__source-picker>small{font-size:11px;text-align:center;line-height:1.5}
.ai-create-page__source-picker:hover:not(:disabled),.ai-create-page__source.is-dragging{border-color:var(--site-accent);outline:2px solid var(--site-accent-soft)}
.ai-create-page__source button:disabled{opacity:.55;cursor:wait}
.ai-create-page__source-items{display:grid;gap:14px;padding:10px 0 4px}
.ai-create-page__source-item{display:grid;min-width:0;grid-template-columns:110px minmax(0,1fr) 36px;align-items:center;gap:14px}
.ai-create-page__source-item+.ai-create-page__source-item{padding-top:14px;border-top:1px solid var(--site-border)}
.ai-create-page__file-preview{width:110px;height:110px;overflow:hidden;border-radius:16px;background:var(--site-accent-soft)}
.ai-create-page__file-preview img,.ai-create-page__file-preview video{display:block;width:100%;height:100%;object-fit:cover}
.ai-create-page__source-info{display:grid;min-width:0;gap:6px}
.ai-create-page__source-info strong{overflow:hidden;color:var(--vv-color-text);font-size:16px;text-overflow:ellipsis;white-space:nowrap}
.ai-create-page__source-info small{color:var(--vv-color-muted);font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.ai-create-page__source-remove{display:grid;width:36px;height:36px;align-self:end;place-items:center;border-radius:50%;background:var(--site-accent-soft);color:var(--site-accent-strong)}
.ai-create-page__source-remove svg{width:17px;height:17px}
@media(max-width:360px){.ai-create-page__source-item{grid-template-columns:88px minmax(0,1fr) 36px;gap:10px}
.ai-create-page__file-preview{width:88px;height:88px}
}
.ai-create-page__notice{display:flex;align-items:flex-start;gap:8px;margin:0;padding:12px;border-radius:13px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.ai-create-page__notice svg{flex:none;width:18px;height:18px}
.ai-create-page__notice.is-error{background:#d642421a;color:#bd3f3f}
.ai-create-page__notice.is-success{background:#27b1621c;color:#238b56}
.ai-create-page__action-bar{position:fixed;z-index:35;bottom:calc(12px + env(safe-area-inset-bottom,0px) + var(--ai-create-keyboard-inset, 0px));left:50%;transform:translate(-50%);box-sizing:border-box;display:flex;width:calc(min(100%,760px) - (2*clamp(14px,3vw,28px)));min-height:78px;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid var(--site-border);border-radius:26px;background:var(--site-surface);box-shadow:0 10px 30px var(--site-accent-shadow)}
.ai-create-page__price{display:grid;min-width:0;gap:4px}
.ai-create-page__price span{color:var(--vv-color-muted);font-size:12px;font-weight:650}
.ai-create-page__price strong{color:var(--vv-color-text);font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.ai-create-page :where(button){appearance:none;border:0;font:inherit;cursor:pointer}
.ai-create-page__submit{flex:none;min-width:128px;min-height:50px;padding:12px 20px;border-radius:999px;background:var(--site-accent);color:#fff;font-size:14px;font-weight:800}
.ai-create-page__submit:disabled{background:var(--site-surface-muted);color:var(--vv-color-muted);opacity:.65;cursor:not-allowed}
.ai-create-page button:focus-visible{outline:2px solid var(--site-accent);outline-offset:3px}
.ai-create-page__unavailable,.ai-create-page__state{display:grid;place-items:center;align-content:center;padding:32px 22px;text-align:center;gap:9px;color:var(--vv-color-muted)}
.ai-create-page__unavailable{border:1px solid var(--site-border);border-radius:24px;background:var(--site-surface)}
.ai-create-page__unavailable>svg,.ai-create-page__state>svg{width:38px;color:var(--site-accent)}
.ai-create-page__unavailable h2,.ai-create-page__state h1{margin:0;color:var(--vv-color-text);font-size:19px}
.ai-create-page__unavailable p{max-width:500px;margin:0;font-size:12px;line-height:1.6}
.ai-create-page__unavailable button,.ai-create-page__state button{margin-top:6px;padding:10px 17px;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent)}
.ai-create-page__state{min-height:420px}
.is-pulsing{animation:ai-create-pulse-cfa02ff1 1s ease-in-out infinite alternate}
@media(max-width:560px){.ai-create-page__form{grid-template-columns:minmax(0,1fr)}
.ai-create-page__field textarea,.ai-create-page__field select{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.is-pulsing{animation:none}
}
@keyframes ai-create-pulse-cfa02ff1{to{opacity:.5;transform:scale(.92)}
}
.ai-create-page__notice>span{min-width:0}
.ai-create-page__notice>button{flex:none;padding:7px 10px;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent-strong)}
.ai-create-page__tasks-link{border:0;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.ai-create-page__notice.is-success{flex-wrap:wrap}
.ai-create-page__confirmation{box-sizing:border-box;width:min(520px,100% - 32px);max-height:calc(100dvh - 40px);overflow:auto;padding:clamp(20px,5vw,30px);border:1px solid var(--vv-color-border, #e8e8ed);border-radius:24px;color:var(--vv-color-text);background:var(--vv-color-surface, #fff);box-shadow:0 24px 80px #0003}
.ai-create-page__confirmation::backdrop{background:#0f121e7a}
.ai-create-page__confirmation form{display:grid;gap:18px}
.ai-create-page__confirmation h2{margin:0;font-size:22px}
.ai-create-page__confirmation p{margin:0;color:var(--vv-color-muted);font-size:13px;line-height:1.8}
.ai-create-page__confirm-eyebrow{font-size:12px;color:var(--vv-color-primary, #ff527f);font-weight:700}
.ai-create-page__prompt-review{padding:16px;border:1px solid var(--vv-color-border, #e8e8ed);border-radius:12px}
.ai-create-page__prompt-review strong{font-size:12px}
.ai-create-page__prompt-review p{margin-top:8px;max-height:160px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--vv-color-text)}
.ai-create-page__confirm-price{display:flex;justify-content:space-between;font-size:14px}
.ai-create-page__confirm-actions{display:flex;flex-wrap:wrap;gap:10px}
.ai-create-page__confirm-actions button{flex:1 1 150px;min-height:46px;padding:12px;border:1px solid var(--vv-color-border, #e8e8ed);border-radius:12px;background:transparent;color:var(--vv-color-text);font:inherit;font-size:13px;cursor:pointer}
.ai-create-page__confirm-actions button[type=submit]{background:var(--vv-color-primary, #ff527f);border-color:transparent;color:#fff;font-weight:700}
.ai-create-page__precautions{grid-column:1/-1;min-width:0;padding:16px;border:1px solid var(--site-border);border-radius:18px;background:var(--site-surface-muted)}
.ai-create-page__precautions h2{margin:0 0 10px;font-size:14px}
.ai-create-page__precautions ol{margin:0;padding-left:20px}
.ai-create-page__precautions li{padding-left:2px;color:var(--vv-color-muted);font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.ai-create-page__precautions li+li{margin-top:6px}

/* --- AiCasesPage-CHM_eDp-.css --- */
.ai-cases-page{--vv-page-layout-max-width: 760px;display:grid;min-width:0;gap:18px}
.ai-cases-page__tool{position:relative;isolation:isolate;overflow:hidden;min-height:144px;padding:clamp(20px,4vw,28px);border-radius:24px;background:linear-gradient(115deg,var(--site-accent-strong),var(--site-accent) 70%,color-mix(in srgb,var(--site-accent) 70%,#fff));color:#fff}
.ai-cases-page__tool:after{content:"";position:absolute;z-index:-1;right:-40px;bottom:-60px;width:160px;height:160px;border-radius:50%;background:#ffffff26}
.ai-cases-page__tool h1{margin:0;font-size:clamp(22px,4vw,28px);overflow-wrap:anywhere}
.ai-cases-page__tool p{margin:10px 0 0;font-size:12px;line-height:1.7}
.ai-cases-page__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(10px,2vw,16px)}
.ai-cases-page__card{min-width:0;overflow:hidden;border:1px solid var(--site-border);border-radius:18px;background:var(--site-surface)}
.ai-cases-page__media{position:relative;display:grid;place-items:center;aspect-ratio:3/4;overflow:hidden;background:var(--site-surface-muted);color:var(--vv-color-muted);font-size:11px}
.ai-cases-page__media>.vv-image,.ai-cases-page__media img,.ai-cases-page__media video{width:100%;height:100%;min-height:0;object-fit:cover}
.ai-cases-page__badge{position:absolute;top:8px;left:6px;max-width:calc(100% - 48px);padding:3px 5px;border-radius:4px;background:#f51c62;color:#fff;font-size:clamp(9px,2vw,11px);pointer-events:none}
.ai-cases-page__copy{display:grid;padding:12px;gap:8px}
.ai-cases-page__copy h2,.ai-cases-page__copy p{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin:0}
.ai-cases-page__copy h2{color:var(--vv-color-text);font-size:14px;line-height:1.4;-webkit-line-clamp:2}
.ai-cases-page__copy p{color:var(--vv-color-muted);font-size:11px;line-height:1.6;min-height:3.2em;-webkit-line-clamp:2}
.ai-cases-page button{appearance:none;border:0;font:inherit;cursor:pointer}
.ai-cases-page__copy button,.ai-cases-page__state button{justify-self:start;min-height:36px;padding:8px 14px;border-radius:999px;background:var(--site-accent-soft);color:var(--site-accent-strong);font-size:12px;font-weight:750}
.ai-cases-page__custom{position:fixed;z-index:40;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translate(-50%);max-width:calc(100% - 32px);min-height:48px;padding:12px 28px;border-radius:999px;background:var(--site-accent);color:#fff;white-space:nowrap;box-shadow:0 8px 24px #ff527f3d}
.ai-cases-page__state{padding:40px 12px;text-align:center;color:var(--vv-color-muted)}
.ai-cases-page button:focus-visible{outline:2px solid var(--site-accent-strong);outline-offset:3px}
.ai-cases-page .ai-cases-page__preview-trigger{position:absolute;inset:0;z-index:2;display:grid;place-items:center;width:100%;height:100%;padding:0;border:0;border-radius:inherit;background:transparent;color:#fff;cursor:zoom-in}
.ai-cases-page .ai-cases-page__preview-trigger:focus-visible{outline:2px solid var(--site-accent);outline-offset:-3px}
.ai-cases-page .ai-cases-page__preview-trigger:disabled{cursor:wait;opacity:.5}
.ai-cases-page .ai-cases-page__preview-trigger svg{box-sizing:border-box;width:44px;height:44px;padding:11px;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:#0000008c}
.ai-cases-page__count{position:absolute;top:6px;right:6px;z-index:3;display:grid;place-items:center;box-sizing:border-box;min-width:28px;height:28px;padding:0 5px;border:2px solid #fff;border-radius:999px;background:#ff557c;color:#fff;font-size:13px;font-weight:700;pointer-events:none}

/* --- CaseMediaPreview-Dz4V4BrP.css --- */
.case-preview{box-sizing:border-box;position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:max(64px,env(safe-area-inset-top)) 16px max(48px,env(safe-area-inset-bottom));border:0;background:transparent;color:#fff;overflow:hidden}
.case-preview::backdrop{background:#000000e6}
.case-preview[open]{display:flex;flex-direction:column;align-items:center}
.case-preview__content{position:absolute;inset:max(120px,env(safe-area-inset-top),env(safe-area-inset-bottom)) 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;min-height:0}
.case-preview__content video{max-width:100%;max-height:100%;object-fit:contain}
.case-preview__media{display:flex;align-items:center;justify-content:center;width:100%;min-height:0;flex:1}
.case-preview--framed .case-preview__content{inset:max(120px,env(safe-area-inset-top),env(safe-area-inset-bottom)) auto auto;left:50%;width:min(760px,100vw - 32px);height:auto;aspect-ratio:var(--case-preview-aspect-ratio);transform:translate(-50%)}
.case-preview__image{display:flex;align-items:center;justify-content:center;width:100%;height:100%;max-width:100%;min-width:120px;min-height:80px}
.case-preview__image img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
.case-preview__video{position:relative;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-height:0}
.case-preview__video video{display:block;max-height:100%;max-width:100%}
.case-preview--framed .case-preview__image,.case-preview--framed .case-preview__video{width:100%;height:100%}
.case-preview--framed .case-preview__video video{width:100%;height:100%;max-width:none;max-height:none;object-fit:contain}
.case-preview__play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:52px;height:52px;border:1px solid rgba(255,255,255,.65);border-radius:50%;background:#000000a6;color:#fff;cursor:pointer}
.case-preview__play svg{width:24px;height:24px}
.case-preview__play:focus-visible{outline:2px solid #fff;outline-offset:3px}
.case-preview__close{position:absolute;z-index:4;top:max(16px,env(safe-area-inset-top) + 8px);right:max(16px,env(safe-area-inset-right) + 8px);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:#252525;color:#fff;font-size:30px;line-height:1;cursor:pointer}
.case-preview__close:focus-visible{outline:2px solid #fff;outline-offset:3px}
.case-preview__title{position:absolute;bottom:max(104px,env(safe-area-inset-bottom) + 80px);max-width:calc(100% - 32px);margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.case-preview__download{position:absolute;bottom:max(24px,env(safe-area-inset-bottom));max-width:calc(100% - 32px);max-height:72px;overflow:auto;flex-shrink:0;text-align:center;margin-top:12px}
.case-preview__download button{min-height:44px;padding:8px 20px;border:0;border-radius:999px;background:var(--site-accent, #ff5d79);color:#fff;font:inherit;cursor:pointer}
.case-preview__download button:disabled{opacity:.6;cursor:wait}
.case-preview__download button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.case-preview__download p{margin:8px 0 0;max-height:48px;overflow:auto;font-size:13px}
.case-preview__gallery{position:relative;z-index:3;flex:0 0 auto;width:100%;justify-content:space-between;display:flex;align-items:center;padding:0 8px}
.case-preview__gallery button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.5);border-radius:50%;background:#252525;color:#fff;font-size:28px;line-height:1;cursor:pointer}
.case-preview__gallery button:disabled{opacity:.35;cursor:default}
.case-preview__gallery button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.case-preview__gallery span{min-width:52px;text-align:center}
.case-preview__content--gallery{touch-action:pan-y pinch-zoom}

.ai-create-page__source input[type=file] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.ai-create-page__source {
  position: relative;
}

/* 锚点复用按钮外观（同款创作 / 进入创作 / 全部案例） */
a.ai-page__create,
a.ai-page__case-create,
a.ai-page__create--secondary,
a.ai-cases-page__custom,
.ai-cases-page__copy a {
  appearance: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
}
a.ai-page__create {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--site-accent);
  box-shadow: 0 10px 24px var(--site-accent-shadow);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}
a.ai-page__create--secondary {
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
  box-shadow: none;
}
a.ai-page__case-create {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 36px;
  justify-content: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--site-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  gap: 4px;
}
.ai-cases-page__copy a {
  justify-self: start;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
  font-size: 12px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
}


/* 2026-11-10 源站对齐 + 文生图诚实空态（不恢复下载条 / 直播栏） */
.ai-page .ai-page__intro > span {
  color: var(--site-accent-strong, #ff3d66);
  font-weight: 850;
}
.ai-page .ai-page__intro > span > svg {
  width: 16px;
  height: 16px;
  color: inherit;
  flex-shrink: 0;
}
.ai-page__ai-badge,
.ai-page__resources .ai-page__ai-badge {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ai-page__create--secondary,
a.ai-page__create--secondary {
  background: #ffe3ea;
  color: #e42555;
  box-shadow: none;
  border: 0;
}
html:not(.light) .ai-page__create--secondary,
html:not(.light) a.ai-page__create--secondary {
  background: rgba(255, 93, 121, 0.22);
  color: #ff8aa0;
}
.ai-page__case-media-slot .vv-image--empty::after,
.ai-cases-page__media .vv-image--empty::after {
  content: none;
}
.ai-page__case-media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 80px;
  background: var(--site-surface-muted, #eef0f5);
}
.ai-create-page__notice {
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid color-mix(in srgb, var(--site-accent) 45%, var(--site-border));
  border-radius: 13px;
  background: var(--site-accent-soft);
  color: var(--vv-color-text);
  font-size: 12px;
  line-height: 1.65;
}
.ai-create-page__notice code {
  font: inherit;
  font-weight: 700;
}
.ai-create-page__price {
  display: grid;
  align-content: center;
  gap: 0;
}
.ai-create-page__price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: var(--vv-color-text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.ai-create-page__price-amount strong {
  font: inherit;
  overflow-wrap: anywhere;
}
.ai-create-page__price-amount small,
.ai-create-page__confirm-price small {
  color: var(--vv-color-muted);
  font-size: 11px;
  font-weight: 600;
}
.ai-create-page__quota {
  display: block;
  margin-top: 2px;
  color: var(--vv-color-muted);
  font-size: 11px;
  font-weight: 600;
}
.ai-create-page__submit-msg {
  margin: 8px 0 10px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--vv-color-muted);
}
.ai-create-page__submit-msg.is-error { color: #c64444; }
.ai-create-page__submit-msg.is-ok { color: #25965c; }

.ai-page__cases[hidden],
.ai-page__collection[hidden],
[data-lulu-ai-panel][hidden] {
  display: none;
}
.ai-create-page__notice {
  overflow-wrap: break-word;
}
.ai-create-page__submit-msg {
  margin: 8px 0 16px;
}
.ai-page__resource-tool-label {
  min-width: 0;
}

/* 单项工具为 div 而非 button，需单独套上胶囊样式；名称尽量完整显示 */
.ai-page__resources .ai-page__resource-tool {
  display: flex;
  min-width: 0;
  min-height: 40px;
  padding: 0 16px;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: transparent;
  color: var(--vv-color-muted);
  font-size: 13px;
  font-weight: 750;
  gap: 6px;
  white-space: nowrap;
  box-sizing: border-box;
}
.ai-page__resources .ai-page__resource-tool > svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.ai-page__resources .ai-page__resource-tool.is-active {
  background: var(--site-accent);
  box-shadow: 0 8px 20px var(--site-accent-shadow);
  color: #fff;
}
.ai-page__resources .ai-page__resource-tool:not(button) {
  cursor: pointer;
}
@media (max-width: 560px) {
  .ai-page__resources .ai-page__resource-tool {
    width: auto;
    min-height: 34px;
    padding-inline: 10px;
    border-radius: 999px;
    font-size: 12px;
    gap: 4px;
  }
  .ai-page__resources .ai-page__resource-tool > svg {
    width: 16px;
    height: 16px;
  }
  .ai-page__resource-tool-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}


/* --- center studio: form + result + recent --- */
/* 中心页保留底栏，提交栏走文档流，避免挡住底栏，也不再垫 160px。 */
.ai-page .ai-create-page__action-bar {
  position: static;
  left: auto;
  transform: none;
  width: 100%;
  margin-top: 4px;
}
.ai-page .ai-create-page__tool {
  min-height: 0;
}
.ai-page__current,
.ai-page__recent {
  margin-top: 4px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--site-border);
  border-radius: 26px;
  background: var(--site-surface);
  box-shadow: 0 16px 44px #1e162512;
}
.ai-page__current[hidden],
.ai-page__recent[hidden] {
  display: none;
}
.ai-page__current-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 14px;
  aspect-ratio: 1;
  max-height: min(72vw, 520px);
  border-radius: 18px;
  background: var(--site-surface-muted);
  color: var(--vv-color-muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.ai-page__current-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-page__current-zoom {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: zoom-in;
}
.ai-page__current-zoom:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: -3px;
}
.ai-page__output-card.is-clickable {
  cursor: zoom-in;
}
.ai-page__current .ai-page__section-heading p,
.ai-page__recent-empty {
  margin: 0;
  color: var(--vv-color-muted);
  font-size: 12px;
  line-height: 1.6;
}
.ai-page__recent-empty {
  margin-top: 12px;
}
.ai-page__recent .ai-page__output-grid {
  margin-top: 14px;
}

/* --- /ai composer-first: layout speaks, copy stays quiet --- */
.ai-page--composer {
  display: grid;
  gap: 14px;
  padding-block: 8px 28px;
}
.ai-page--composer .ai-page__intro--compact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}
.ai-page--composer .ai-page__intro--compact h1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(22px, 5vw, 30px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  white-space: normal;
}
.ai-page--composer .ai-page__intro--compact h1 svg {
  width: 22px;
  height: 22px;
  color: var(--site-accent-strong);
  flex-shrink: 0;
}
.ai-page--composer .ai-page__workspace {
  gap: 12px;
}
.ai-page--composer .ai-page__composer-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}
.ai-page--composer .ai-page__prompt {
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: transparent;
  box-shadow: none;
  gap: 0;
}
.ai-page--composer .ai-page__prompt textarea {
  min-height: min(42vh, 280px);
  padding: 22px 22px 28px;
  border: 1px solid var(--site-border);
  border-radius: 28px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--site-surface) 92%, var(--site-accent-soft)), var(--site-surface));
  box-shadow:
    0 1px 0 color-mix(in srgb, #fff 55%, transparent) inset,
    0 18px 48px #1e162514;
  font-size: clamp(16px, 2.4vw, 18px);
  font-weight: 650;
  line-height: 1.7;
  resize: vertical;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.ai-page--composer .ai-page__prompt textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--site-accent) 55%, var(--site-border));
  box-shadow:
    0 0 0 4px var(--site-accent-soft),
    0 18px 48px #1e162518;
}
.ai-page--composer .ai-page__prompt textarea::placeholder {
  color: color-mix(in srgb, var(--vv-color-muted) 88%, var(--vv-color-text));
  font-weight: 600;
}
.ai-page__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.ai-page__rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-page__rule-chips li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: var(--site-surface);
  color: var(--vv-color-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
}
.ai-page--composer .ai-page__price-chip {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 2px;
  min-width: 0;
}
.ai-page--composer .ai-page__price-chip strong {
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ai-page--composer .ai-page__price-chip > small {
  align-self: end;
  margin-bottom: 3px;
  font-size: 12px;
}
.ai-page--composer .ai-page__price-chip .ai-create-page__quota {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 11px;
}
.ai-page--composer .ai-create-page__submit {
  min-width: 112px;
  min-height: 52px;
  padding-inline: 24px;
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}
.ai-page--composer .ai-create-page__submit:not(:disabled):hover {
  transform: translateY(-1px);
}
.ai-page--composer .ai-create-page__submit:not(:disabled):active {
  transform: translateY(0);
}
.ai-page--composer .ai-page__section-heading--solo {
  justify-content: flex-start;
  gap: 10px;
}
.ai-page--composer .ai-page__section-heading--solo h2 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.ai-page--composer .ai-page__current,
.ai-page--composer .ai-page__recent {
  padding: 16px;
  border-radius: 22px;
  box-shadow: 0 10px 28px #1e162510;
}
.ai-page--composer .ai-page__current-media {
  margin-top: 10px;
  border-style: dashed;
  border-width: 1px;
  border-color: var(--site-border);
  background:
    radial-gradient(circle at 50% 42%, var(--site-accent-soft), transparent 58%),
    var(--site-surface-muted);
}
.ai-page--composer .ai-create-page__confirmation {
  border-radius: 22px;
}
.ai-page--composer .ai-create-page__confirmation form {
  gap: 14px;
}
.ai-page--composer .ai-create-page__confirmation h2 {
  font-size: 18px;
}
.ai-page--composer .ai-create-page__confirm-prompt {
  max-height: 140px;
  padding: 12px 14px;
  border: 1px solid var(--site-border);
  border-radius: 14px;
  background: var(--site-surface-muted);
  color: var(--vv-color-text);
  font-size: 13px;
  line-height: 1.65;
}
.ai-page--composer .ai-create-page__confirm-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  justify-content: flex-start;
  font-size: 14px;
}
.ai-page--composer .ai-create-page__confirm-price strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}
@media (max-width: 560px) {
  .ai-page--composer .ai-page__prompt textarea {
    min-height: min(38vh, 240px);
    padding: 18px 16px 22px;
  }
  .ai-page--composer .ai-create-page__action-bar {
    gap: 12px;
    padding: 10px 12px;
    border-radius: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-page--composer .ai-page__prompt textarea,
  .ai-page--composer .ai-create-page__submit {
    transition: none;
  }
  .ai-page--composer .ai-create-page__submit:not(:disabled):hover,
  .ai-page--composer .ai-create-page__submit:not(:disabled):active {
    transform: none;
  }
}

/* --- /ai confirm: prompt + cost strip, no lecture title --- */
.ai-page--composer .ai-page__confirm {
  width: min(420px, calc(100% - 32px));
  padding: 18px;
  border: 1px solid var(--site-border);
  border-radius: 26px;
  background: var(--site-surface);
  color: var(--vv-color-text);
  box-shadow: 0 28px 80px rgba(16, 18, 28, 0.28);
}
.ai-page--composer .ai-page__confirm::backdrop {
  background: rgba(12, 14, 22, 0.52);
}
.ai-page--composer .ai-page__confirm form {
  gap: 16px;
}
.ai-page--composer .ai-page__confirm-quote {
  margin: 0;
  max-height: min(28vh, 180px);
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: var(--site-surface-muted);
  color: var(--vv-color-text);
  font-size: 15px;
  font-weight: 650;
  font-style: normal;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ai-page--composer .ai-page__confirm-cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--site-accent-soft) 55%, var(--site-surface));
}
.ai-page--composer .ai-page__confirm-cost .ai-create-page__confirm-price {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  color: var(--vv-color-text);
}
.ai-page--composer .ai-page__confirm-cost .ai-create-page__confirm-price strong {
  font-size: 28px;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ai-page--composer .ai-page__confirm-cost .ai-create-page__confirm-price small {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--vv-color-muted);
}
.ai-page--composer .ai-page__confirm-refund {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--site-surface);
  color: var(--vv-color-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
}
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button {
  flex: none;
  min-height: 48px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease, opacity 150ms ease;
}
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button[type="submit"] {
  background: var(--site-accent);
  border-color: transparent;
  color: #fff;
}
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button[type="submit"]:focus-visible,
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button[type="button"]:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 2px;
}
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button:not(:disabled):hover {
  transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
  .ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button {
    transition: none;
  }
  .ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button:not(:disabled):hover {
    transform: none;
  }
}

/* confirm polish: neutral cancel, aligned cost */
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button[type="button"] {
  border: 1px solid var(--site-border);
  background: var(--site-surface);
  color: var(--vv-color-muted);
}
.ai-page--composer .ai-page__confirm .ai-create-page__confirm-actions button[type="button"]:hover {
  color: var(--vv-color-text);
  background: var(--site-surface-muted);
}
.ai-page--composer .ai-page__confirm-cost .ai-create-page__confirm-price {
  align-items: baseline;
  line-height: 1;
}
.ai-page--composer .ai-page__confirm-cost .ai-create-page__confirm-price small {
  position: relative;
  top: -1px;
}


/* --- /ai studio: denser creative workspace (layout carries meaning) --- */
.ai-page--studio {
  display: grid;
  gap: 16px;
  padding-block: 10px 32px;
}
.ai-studio__hero {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3.5vw, 28px);
  border: 1px solid var(--site-border);
  border-radius: 28px;
  background:
    radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--site-accent) 18%, transparent), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--site-surface) 88%, var(--site-accent-soft)), var(--site-surface));
  box-shadow: 0 16px 40px #1e162512;
}
.ai-studio__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--site-accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.ai-studio__eyebrow svg {
  width: 16px;
  height: 16px;
}
.ai-studio__hero-copy h1 {
  margin: 0;
  color: var(--vv-color-text);
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
.ai-studio__lead {
  max-width: 36em;
  margin: 10px 0 0;
  color: var(--vv-color-muted);
  font-size: 14px;
  line-height: 1.65;
}
.ai-studio__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-studio__stats li {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px 12px 14px;
  border: 1px solid var(--site-border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--site-surface) 82%, transparent);
}
.ai-studio__stats strong {
  color: var(--vv-color-text);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ai-studio__stats span {
  color: var(--vv-color-muted);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}
.ai-studio__workspace {
  gap: 16px;
}
.ai-studio__stage {
  display: grid;
  gap: 14px;
}
.ai-studio__compose,
.ai-studio__preview,
.ai-studio__recent {
  padding: clamp(16px, 2.8vw, 22px);
  border: 1px solid var(--site-border);
  border-radius: 26px;
  background: var(--site-surface);
  box-shadow: 0 14px 36px #1e162510;
}
.ai-studio__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}
.ai-studio__prompt {
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
}
.ai-studio__prompt > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-studio__prompt textarea {
  min-height: 168px;
  padding: 12px 10px;
  font-size: 15px;
  line-height: 1.7;
}
.ai-studio__ideas {
  display: grid;
  gap: 8px;
}
.ai-studio__ideas-label {
  color: var(--vv-color-muted);
  font-size: 12px;
  font-weight: 750;
}
.ai-studio__idea-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-studio__idea-list button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: var(--site-surface-muted);
  color: var(--vv-color-text);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.ai-studio__idea-list button:hover {
  border-color: color-mix(in srgb, var(--site-accent) 45%, var(--site-border));
  background: var(--site-accent-soft);
  transform: translateY(-1px);
}
.ai-studio__idea-list button:focus-visible {
  outline: 2px solid var(--site-accent);
  outline-offset: 2px;
}
.ai-studio__action {
  margin-top: 12px;
}
.ai-page--studio .ai-create-page__action-bar {
  position: static;
  left: auto;
  transform: none;
  width: 100%;
  min-height: 72px;
  border-radius: 22px;
}
.ai-page--studio .ai-page__price-chip {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  column-gap: 4px;
  row-gap: 2px;
}
.ai-studio__price-label {
  grid-column: 1 / -1;
  color: var(--vv-color-muted);
  font-size: 11px;
  font-weight: 700;
}
.ai-page--studio .ai-page__price-chip strong {
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ai-page--studio .ai-page__price-chip > small {
  align-self: end;
  margin-bottom: 2px;
}
.ai-page--studio .ai-page__price-chip .ai-create-page__quota {
  grid-column: 1 / -1;
  margin: 0;
}
.ai-page--studio .ai-create-page__submit {
  min-width: 128px;
  min-height: 50px;
  border: 0;
  outline: none;
  box-shadow: 0 8px 20px var(--site-accent-shadow);
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}
.ai-page--studio .ai-create-page__submit:not(:disabled):hover {
  transform: translateY(-1px);
}
.ai-studio__preview-head {
  margin-bottom: 4px;
}
.ai-studio__preview-head > div > span {
  color: var(--site-accent-strong);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
}
.ai-studio__preview-head h2 {
  font-size: 18px;
}
.ai-studio__preview-head p {
  margin: 0;
  color: var(--vv-color-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: right;
}
.ai-page--studio .ai-page__current,
.ai-page--studio .ai-page__recent {
  margin-top: 0;
  padding: clamp(16px, 2.8vw, 22px);
  box-shadow: none;
}
.ai-page--studio .ai-page__current-media {
  margin-top: 12px;
  max-height: none;
  aspect-ratio: 1;
  border: 1px dashed color-mix(in srgb, var(--site-accent) 28%, var(--site-border));
  background:
    radial-gradient(circle at 50% 40%, var(--site-accent-soft), transparent 60%),
    var(--site-surface-muted);
}
.ai-studio__canvas-empty {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 24px;
  color: var(--vv-color-muted);
  text-align: center;
}
.ai-studio__canvas-empty svg {
  width: 28px;
  height: 28px;
  color: var(--site-accent);
}
.ai-studio__canvas-empty strong {
  color: var(--vv-color-text);
  font-size: 15px;
}
.ai-studio__canvas-empty p {
  max-width: 18em;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.ai-studio__canvas-empty.is-busy strong {
  color: var(--site-accent-strong);
}
.ai-studio__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-studio__steps li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--site-border);
  border-radius: 20px;
  background: var(--site-surface);
}
.ai-studio__steps li > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--site-accent-soft);
  color: var(--site-accent-strong);
  font-size: 13px;
  font-weight: 850;
}
.ai-studio__steps strong {
  display: block;
  color: var(--vv-color-text);
  font-size: 14px;
  letter-spacing: -0.01em;
}
.ai-studio__steps p {
  margin: 4px 0 0;
  color: var(--vv-color-muted);
  font-size: 12px;
  line-height: 1.55;
}
.ai-studio__recent .ai-page__section-heading > div > span {
  color: var(--site-accent-strong);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.11em;
}
.ai-page--studio .ai-page__recent-empty {
  margin-top: 12px;
  padding: 18px;
  border: 1px dashed var(--site-border);
  border-radius: 16px;
  background: var(--site-surface-muted);
  text-align: center;
}
.ai-page--studio .ai-page__confirm {
  width: min(440px, calc(100% - 32px));
  padding: 20px;
  border: 1px solid var(--site-border);
  border-radius: 26px;
  background: var(--site-surface);
  box-shadow: 0 28px 80px rgba(16, 18, 28, 0.28);
}
.ai-page--studio .ai-page__confirm::backdrop {
  background: rgba(12, 14, 22, 0.52);
}
.ai-page--studio .ai-page__confirm form {
  gap: 14px;
}
.ai-page__confirm-head {
  display: grid;
  gap: 4px;
}
.ai-page__confirm-eyebrow {
  margin: 0;
  color: var(--site-accent-strong);
  font-size: 12px;
  font-weight: 800;
}
.ai-page--studio .ai-page__confirm h2 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.ai-page--studio .ai-page__confirm-quote {
  margin: 0;
  max-height: min(28vh, 160px);
  overflow: auto;
  padding: 14px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: var(--site-surface-muted);
  color: var(--vv-color-text);
  font-size: 14px;
  font-weight: 650;
  font-style: normal;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ai-page--studio .ai-page__confirm-cost {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 14px;
  border: 1px solid var(--site-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--site-accent-soft) 50%, var(--site-surface));
}
.ai-page--studio .ai-page__confirm-cost .ai-create-page__confirm-price {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  margin: 0;
}
.ai-page--studio .ai-page__confirm-cost .ai-create-page__confirm-price span {
  width: 100%;
  color: var(--vv-color-muted);
  font-size: 11px;
  font-weight: 700;
}
.ai-page--studio .ai-page__confirm-cost .ai-create-page__confirm-price strong {
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.ai-page--studio .ai-page__confirm-refund {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--site-surface);
  color: var(--vv-color-muted);
  font-size: 11px;
  font-weight: 700;
}
.ai-page--studio .ai-page__confirm .ai-create-page__confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 10px;
}
.ai-page--studio .ai-page__confirm .ai-create-page__confirm-actions button {
  min-height: 48px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}
.ai-page--studio .ai-page__confirm .ai-create-page__confirm-actions button[type="button"] {
  border: 1px solid var(--site-border);
  background: var(--site-surface);
  color: var(--vv-color-muted);
}
.ai-page--studio .ai-page__confirm .ai-create-page__confirm-actions button[type="submit"] {
  border: 0;
  background: var(--site-accent);
  color: #fff;
}
@media (min-width: 900px) {
  .ai-studio__hero {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    align-items: end;
  }
  .ai-studio__stage {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
  }
  .ai-studio__preview {
    position: sticky;
    top: 12px;
  }
}
@media (max-width: 720px) {
  .ai-studio__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .ai-studio__steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .ai-studio__steps li {
    min-height: 0;
  }
}
@media (max-width: 420px) {
  .ai-studio__stats li {
    min-height: 68px;
    padding: 10px 8px 12px;
  }
  .ai-studio__stats strong {
    font-size: 17px;
  }
  .ai-studio__stats span {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-studio__idea-list button,
  .ai-page--studio .ai-create-page__submit {
    transition: none;
  }
  .ai-studio__idea-list button:hover,
  .ai-page--studio .ai-create-page__submit:not(:disabled):hover {
    transform: none;
  }
}


/* --- source-aligned tools empty cases --- */
.ai-page__cases-empty {
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-top: 8px;
}
.ai-page__cases-empty .ai-page__case-media {
  width: 100%;
}
.ai-page__cases-empty .ai-page__case-media-slot {
  min-height: 180px;
  border-radius: 18px;
  background: var(--site-surface-muted);
}
.ai-page__cases-empty h3 {
  margin: 0;
  color: var(--vv-color-text);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.ai-page__cases-empty p {
  margin: 0;
  color: var(--vv-color-muted);
  font-size: 13px;
  line-height: 1.65;
}
.ai-page__case-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
