/* ============================================================
   NovaHub · 视觉创作工坊 /studio · 对话化浅色画布
   对齐 AI 对话页（chat）：白/浅灰底 + 蓝紫主色 + 轻量阴影
   v1.71.53 整体浅色化 + 模型胶囊/上传上移参数条
   ============================================================ */

.studio-page{ background:var(--bg,#F6F7FB); color:var(--ink,#16192B);
  /* v1.71.55 复用全站导航：与 body.chat-page 同款让位（导航 64px） */
  padding-top:var(--nav-h,64px); }
.studio-page #announceBar{ margin-top:0; }
.studio-page #footer{ display:none; }

.studio-shell{ display:flex; flex-direction:column;
  height:calc(100vh - var(--nav-h,64px));
  height:calc(100dvh - var(--nav-h,64px)); }

/* ---------- 主体 ---------- */
.st-body{ flex:1; display:flex; min-height:0; }
.st-main{ flex:1; display:flex; flex-direction:column; min-width:0; position:relative; }

/* v1.71.68 会话历史侧栏（对齐即梦左侧历史栏） */
.st-sidebar{ width:240px; flex-shrink:0; display:flex; flex-direction:column; min-width:0;
  border-right:1px solid var(--line,#E8EBF4); background:var(--bg,#F6F7FB); padding:12px 10px;
  transition:margin-left .24s ease, width .24s ease; overflow:hidden; }
.st-sidebar.collapsed{ width:0; padding:12px 0; border-right:none; }
.st-side-head{ display:flex; align-items:center; justify-content:space-between; padding:4px 6px 10px; }
.st-side-title{ font-size:13px; font-weight:700; color:var(--ink-2,#4A4F6A); letter-spacing:.3px; }
.st-side-close{ display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px;
  border:none; background:transparent; border-radius:8px; color:var(--ink-3,#8A90AB); cursor:pointer; }
.st-side-close:hover{ background:var(--bg-soft,#EEF1FA); color:var(--ink,#16192B); }
.st-side-close svg{ width:15px; height:15px; }
.st-side-new{ display:flex; align-items:center; justify-content:center; gap:7px; margin:0 2px 10px;
  padding:9px; border:1px dashed var(--primary,#4F5DFF); border-radius:12px; background:transparent;
  color:var(--primary,#4F5DFF); font-size:13px; font-weight:600; cursor:pointer; }
.st-side-new:hover{ background:rgba(79,93,255,.06); }
.st-side-new svg{ width:15px; height:15px; }
.st-side-list{ flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:6px; min-height:0;
  scrollbar-width:thin; }
.st-side-item{ display:flex; flex-direction:column; gap:3px; padding:9px 11px; border-radius:12px;
  border:1px solid transparent; cursor:pointer; text-align:left; background:transparent; }
.st-side-item:hover{ background:var(--bg-soft,#EEF1FA); }
.st-side-item.active{ background:#fff; border-color:var(--primary,#4F5DFF); box-shadow:0 2px 10px rgba(79,93,255,.08); }
.st-side-item .t{ font-size:13px; color:var(--ink,#16192B); font-weight:600; overflow:hidden;
  text-overflow:ellipsis; white-space:nowrap; }
.st-side-item .m{ display:flex; align-items:center; gap:6px; font-size:11px; color:var(--ink-3,#8A90AB); }
.st-side-item .m .k{ padding:1px 6px; border-radius:6px; background:var(--bg-soft,#EEF1FA);
  color:var(--ink-2,#4A4F6A); font-weight:600; }
.st-side-empty{ padding:24px 12px; text-align:center; color:var(--ink-3,#8A90AB); font-size:12.5px; line-height:1.7; }
.st-side-empty-btn{ display:inline-flex; align-items:center; justify-content:center; margin-top:14px;
  padding:6px 16px; border-radius:10px; border:1px solid var(--primary,#4F5DFF);
  background:rgba(79,93,255,.08); color:var(--primary,#4F5DFF); font-size:12.5px; font-weight:600; cursor:pointer; transition:.15s; }
.st-side-empty-btn:hover{ background:rgba(79,93,255,.16); }
/* 侧栏遮罩（手机端） */
.st-side-mask{ position:fixed; inset:0; background:rgba(18,22,45,.4); z-index:30; backdrop-filter:blur(2px); }
.st-side-mask[hidden]{ display:none; }
/* 展开侧栏按钮（viewbar 左侧）：侧栏展开时隐藏，折叠时显示；手机端常显 */
.st-side-open{ position:absolute; left:14px; top:50%; transform:translateY(-50%);
  display:none; align-items:center; justify-content:center; width:30px; height:30px;
  border:none; background:transparent; border-radius:8px; color:var(--ink-3,#8A90AB); cursor:pointer; }
.st-side-open:hover{ background:var(--bg-soft,#EEF1FA); color:var(--ink,#16192B); }
.st-side-open svg{ width:17px; height:17px; }
/* 侧栏折叠时：显示展开按钮，积分胶囊右移让位 */
.st-sidebar.collapsed ~ main .st-side-open{ display:inline-flex; }
.st-sidebar.collapsed ~ main .st-points-pill{ left:52px; }

/* 视图切换条 */
.st-viewbar{ display:flex; align-items:center; justify-content:center; padding:10px 20px 0; flex-shrink:0; position:relative; }
/* v1.71.55 积分胶囊（原顶栏迁移）：左侧常显，与右侧「清空对话」对称。
   v1.91 去除「积分」文字：闪电图标 + 数字即语义（title 悬浮补全说明），
   数字 13.5px 加粗、tabular-nums 保持对齐稳定。 */
.st-points-pill{ position:absolute; left:20px; top:10px; display:inline-flex; align-items:center; gap:5px;
  padding:6px 12px; border-radius:999px; border:1px solid var(--line,#E7EAF6); background:#fff;
  color:var(--ink-3,#8A90AB); font-size:12px; box-shadow:var(--shadow-s,0 2px 8px rgba(35,46,143,.06)); }
.st-points-pill svg{ width:13px; height:13px; color:var(--warn,#F59E0B); }
.st-points-pill b{ color:var(--ink,#16192B); font-weight:700; font-size:12.5px; font-variant-numeric:tabular-nums; }
.st-view-tabs{ display:flex; gap:4px; background:var(--bg-soft,#EEF1FA); padding:3px; border-radius:10px; }
.st-view-tab{ border:none; background:transparent; color:var(--ink-3,#8A90AB); padding:6px 20px; border-radius:8px;
  font-size:13px; font-weight:600; cursor:pointer; transition:.16s; }
.st-view-tab:hover{ color:var(--ink,#16192B); }
.st-view-tab.active{ background:#fff; color:var(--primary,#4F5DFF); box-shadow:var(--shadow-m,0 8px 24px rgba(35,46,143,.1)); }
.st-clear{ position:absolute; right:20px; top:10px; display:inline-flex; align-items:center; gap:6px; padding:6px 12px;
  border-radius:8px; border:1px solid var(--line,#E7EAF6); background:#fff; color:var(--ink-3,#8A90AB);
  font-size:12px; cursor:pointer; transition:.16s; }
.st-clear:hover{ background:var(--bg-soft,#EEF1FA); color:var(--ink,#16192B); border-color:rgba(79,93,255,.35); }
.st-clear svg{ width:14px; height:14px; }

/* ---------- 对话视图 ---------- */
.st-chat-view{ flex:1; display:none; flex-direction:column; min-height:0; position:relative; }
.st-chat-view.active{ display:flex; }
.st-chat-scroll{ flex:1; overflow-y:auto; padding:16px 20px 12px; }
/* v1.71.74 容器放宽 900→1080→1180→1400：大屏铺满（输入卡不过分宽，卡片网格填满两侧） */
.st-chat-scroll > *{ max-width:1400px; margin-left:auto; margin-right:auto; }
/* v1.71.65 欢迎态：内容垂直居中（即梦式 hero 占满视口）
   v1.71.74 改用 margin:auto 居中：justify-content:center 在内容超高时会把顶部
   （标题/输入卡）裁出可视区且无法滚动到，margin:auto 内容高时自然回落到顶部 */
.st-chat-scroll.hero-mode{ display:flex; flex-direction:column; }
.st-chat-scroll.hero-mode .st-msgs{ display:none; }
.st-chat-scroll.hero-mode > .st-welcome{ margin:auto 0; }
/* 修复手机端横向溢出：flex column 子项 min-width:auto 会沿内容链传播固有宽度
   （应用卡 flex-basis 250px / textarea 固有宽），显式 width:100% 斩断传播，
   宽度回落到容器（max-width:1080 居中逻辑不变） */
.st-chat-scroll.hero-mode > *{ width:100%; min-width:0; }
.st-hero-dock{ min-width:0; }
.st-compose.in-hero{ min-width:0; width:100%; }
.st-card{ min-width:0; }
.st-card textarea{ width:100%; min-width:0; }

/* ---------- v1.71.65 即梦式 hero ---------- */
.st-welcome{ text-align:center; padding:30px 14px 24px; }
.st-hero-title{ color:var(--ink,#16192B); font-size:34px; font-weight:750; margin:0 0 22px;
  letter-spacing:.5px; line-height:1.25; }
.st-hero-title em{ font-style:normal;
  background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  padding:0 4px; }
/* 模式胶囊（生成/画布 → 绘画/视频/3D） */
.st-hero-modes{ display:inline-flex; gap:4px; background:var(--bg-soft,#EEF1FA);
  border:1px solid var(--line,#E7EAF6); padding:4px; border-radius:999px; margin-bottom:26px; }
.st-hero-mode{ border:none; background:transparent; color:var(--ink-3,#8A90AB); padding:9px 26px;
  border-radius:999px; font-size:14px; font-weight:650; cursor:pointer; transition:.18s; }
.st-hero-mode:hover{ color:var(--ink,#16192B); }
.st-hero-mode.active{ background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8)); color:#fff;
  box-shadow:0 6px 18px rgba(79,93,255,.35); }
/* v1.71.85 欢迎态当前模型说明卡（对齐灵客AI /home 中央模型展示） */
.st-cur-model{ display:flex; align-items:center; gap:13px; max-width:680px; margin:-8px auto 24px;
  padding:12px 18px; text-align:left; border-radius:16px;
  background:linear-gradient(135deg,rgba(79,93,255,.05),rgba(56,189,248,.05));
  border:1px solid rgba(79,93,255,.16); }
.st-cur-model[hidden]{ display:none!important; }
.st-cm-ic{ flex-shrink:0; width:42px; height:42px; border-radius:12px; display:inline-flex;
  align-items:center; justify-content:center; color:#fff; font-size:20px;
  background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8));
  box-shadow:0 4px 12px rgba(79,93,255,.3); }
.st-cm-ic svg{ width:22px; height:22px; }
.st-cm-meta{ flex:1 1 0; min-width:0; }
.st-cm-meta b{ display:flex; align-items:center; gap:7px; color:var(--ink,#16192B); font-size:14.5px;
  font-weight:700; line-height:1.35; }
.st-cm-kind{ font-style:normal; font-size:10px; font-weight:650; padding:2px 7px; border-radius:999px;
  background:rgba(79,93,255,.1); color:var(--primary,#4F5DFF); flex-shrink:0; }
.st-cm-meta p{ margin:3px 0 0; font-size:12px; line-height:1.55; color:var(--ink-3,#8A90AB);
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.st-cm-price{ flex-shrink:0; font-size:12px; font-weight:700; font-variant-numeric:tabular-nums; }
.st-cm-price i{ font-style:normal; color:#E8590C; background:rgba(232,89,12,.09);
  padding:5px 10px; border-radius:999px; }
.st-cm-price i u{ text-decoration:none; font-weight:500; font-size:10px; margin-left:1px; }
.st-cm-price i.free{ color:#2F9E44; background:rgba(47,158,68,.1); }
/* hero 输入卡挂载点 */
.st-hero-dock{ margin:0 auto 20px; }
.st-hero-dock .st-compose{ padding:0; }
.st-hero-dock .st-card{ box-shadow:var(--glow-l,0 12px 28px rgba(80,70,255,.28)); }
/* 技能 chips（v1.85：桌面铺满居中；手机端横滑 + 「》」指示，对标对话页布局） */
.st-hero-chips{ display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin-bottom:16px; }
.st-chip{ display:inline-flex; align-items:center; gap:5px; padding:8px 14px; border-radius:999px;
  border:1px solid var(--line,#E7EAF6); background:var(--card,#fff); color:var(--ink-2,#4A4F6A);
  font-size:12.5px; cursor:pointer; transition:.16s; box-shadow:var(--shadow-s,0 2px 8px rgba(35,46,143,.06)); }
.st-chip i{ font-style:normal; color:var(--primary,#4F5DFF); font-weight:700; }
.st-chip:hover{ border-color:rgba(79,93,255,.45); color:var(--primary,#4F5DFF);
  background:rgba(79,93,255,.05); transform:translateY(-1px); }
.st-chip-more{ color:var(--ink-3,#8A90AB); border-style:dashed; background:transparent; box-shadow:none; }

/* 欢迎旧版标题（hero 内不再使用旧欢迎图标/副标题，仅保留兼容） */
.st-welcome p{ font-size:13px; color:var(--ink-3,#8A90AB); margin:0 0 22px; }
/* v1.71.65 灵感应用 → v1.71.73 由横向滚动大卡改为网格全量展示（无横滑） */
.st-apps{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:14px;
  padding:4px 2px 12px; text-align:left; }
.st-app{ display:flex; flex-direction:column; gap:0;
  padding:0; border-radius:16px; overflow:hidden; text-align:left; cursor:pointer;
  background:var(--card,#fff); border:1px solid var(--line,#E7EAF6); transition:.18s; color:inherit;
  box-shadow:var(--shadow-m,0 8px 24px rgba(35,46,143,.1)); min-width:0; }
.st-app:hover{ border-color:rgba(79,93,255,.4); transform:translateY(-3px);
  box-shadow:var(--glow-l,0 12px 28px rgba(80,70,255,.28)); }
/* 渐变头图区（对齐即梦卡片视觉，色系跟随 NovaHub 蓝紫） */
.st-app-cover{ height:96px; display:grid; place-items:center;
  background:linear-gradient(135deg,rgba(79,93,255,.14),rgba(56,189,248,.18) 60%,rgba(56,189,248,.08));
  color:#4F5DFF; }
.st-app-cover svg{ width:34px; height:34px; opacity:.9; }
.st-app:nth-child(2n) .st-app-cover{ background:linear-gradient(135deg,rgba(56,189,248,.14),rgba(79,93,255,.16) 60%,rgba(79,93,255,.08)); }
.st-app:nth-child(3n) .st-app-cover{ background:linear-gradient(135deg,rgba(79,93,255,.1),rgba(14,165,233,.14) 60%,rgba(56,189,248,.1)); }
.st-app-meta{ flex:1; min-width:0; padding:12px 14px 10px; }
.st-app-meta b{ display:block; font-size:14px; color:var(--ink,#16192B); font-weight:650; }
.st-app-meta small{ display:block; font-size:11.5px; color:var(--ink-3,#8A90AB); margin-top:3px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.st-app-kind{ margin:0 14px 13px; align-self:flex-start; font-size:10.5px; padding:3px 8px;
  border-radius:6px; background:rgba(79,93,255,.12); color:#4F5DFF; }

/* 对话气泡 */
.st-msgs{ display:flex; flex-direction:column; gap:16px; padding:4px 0 8px; }
.st-msg{ display:flex; }
.st-msg.user{ justify-content:flex-end; }
.st-msg.ai{ justify-content:flex-start; }
.st-bubble{ max-width:78%; border-radius:16px; padding:12px 14px; font-size:14px; line-height:1.6; min-width:0; }
/* v1.88 溢出治理：AI 气泡内超长媒体/表格/代码不撑破气泡 */
.st-msg.ai .st-bubble{ overflow-wrap:break-word; }
.st-msg.ai .st-bubble img, .st-msg.ai .st-bubble video{ max-width:100%; height:auto; border-radius:10px; display:block; }
.st-msg.ai .st-bubble table{ max-width:100%; display:block; overflow-x:auto; border-collapse:collapse; }
.st-msg.ai .st-bubble .code-block pre{ max-width:100%; }
/* v1.88 超长纯文本回复折叠：>1600 字默认收起为可读高度（与对话页 mountLongFold 同交互） */
.st-bubble.long-collapsed{ max-height:460px; overflow:hidden; position:relative; }
.st-bubble.long-collapsed::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:80px;
  background:linear-gradient(transparent,var(--card,#fff)); pointer-events:none; }
.st-msg.ai .st-bubble.long-collapsed::after{ background:linear-gradient(transparent,#fff); }
.st-msg.user .st-bubble{ background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8)); color:#fff;
  border-bottom-right-radius:4px; }
.st-msg.user .st-bubble p{ margin:0; white-space:pre-wrap; word-break:break-word; }
.st-msg.user .st-bubble img{ margin-top:8px; max-width:180px; border-radius:10px; display:block; }
.st-msg.ai .st-bubble{ background:var(--card,#fff); border:1px solid var(--line,#E7EAF6);
  border-bottom-left-radius:4px; color:var(--ink,#16192B); box-shadow:var(--shadow-m,0 8px 24px rgba(35,46,143,.1)); }
.st-msg-media img, .st-msg-media video{ max-width:100%; max-height:420px; border-radius:12px; display:block; }
.st-msg-media .st-card-text{ font-size:13px; color:var(--ink-2,#4A4F6A); }
.st-msg-media .st-card-pending{ font-size:12px; color:var(--ink-3,#8A90AB); }
.st-msg-tags{ display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }

/* v1.71.55 AI 消息操作条：复制提示词 / 重新生成 / 下载 */
.st-msg-ops{ display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; padding-top:9px; border-top:1px dashed var(--line,#E7EAF6); }
.st-msg-ops button{ display:inline-flex; align-items:center; gap:4px; padding:4px 10px; border-radius:8px;
  border:1px solid var(--line,#E7EAF6); background:var(--bg-soft,#EEF1FA); color:var(--ink-2,#4A4F6A);
  font-size:11.5px; cursor:pointer; transition:.15s; }
.st-msg-ops button:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); background:rgba(79,93,255,.06); }
.st-msg-ops button svg{ width:12px; height:12px; }
.st-msg-ops button.op-regen:hover{ color:#38BDF8; border-color:rgba(56,189,248,.4); background:rgba(56,189,248,.06); }

/* 回到底部 */
.st-scroll-bottom{ position:absolute; bottom:16px; left:50%; transform:translateX(-50%); width:40px; height:40px;
  border-radius:50%; border:1px solid var(--line,#E7EAF6); background:#fff; color:var(--primary,#4F5DFF);
  cursor:pointer; display:grid; place-items:center; box-shadow:var(--shadow-m,0 8px 24px rgba(35,46,143,.1)); z-index:4; }
.st-scroll-bottom svg{ width:18px; height:18px; }
.st-scroll-bottom[hidden]{ display:none; }

/* ---------- 画廊视图 ---------- */
.st-gallery-view{ flex:1; display:flex; flex-direction:column; min-height:0; }
.st-gallery-view[hidden]{ display:none; }
.st-gallery-bar{ display:flex; align-items:center; justify-content:space-between; padding:10px 28px 0;
  flex-shrink:0; max-width:1180px; width:100%; margin:0 auto; }
.st-gallery-count{ font-size:12.5px; color:var(--ink-3,#8A90AB); }
.st-clear-history{ display:inline-flex; align-items:center; gap:6px; padding:6px 12px; border-radius:8px;
  border:1px solid var(--line,#E7EAF6); background:#fff; color:var(--ink-3,#8A90AB);
  font-size:12px; cursor:pointer; transition:.16s; }
.st-clear-history:hover{ background:var(--bg-soft,#EEF1FA); color:#FF6B6B; border-color:rgba(255,107,107,.4); }
.st-clear-history svg{ width:14px; height:14px; }
/* v1.71.70 画廊类型筛选 chips */
.st-gallery-filter{ display:flex; align-items:center; gap:6px; margin-left:auto; margin-right:12px; }
.st-filter-chip{ padding:5px 14px; border-radius:20px; border:1px solid var(--line,#E7EAF6);
  background:#fff; color:var(--ink-2,#4A4F6A); font-size:12px; cursor:pointer; transition:.16s; }
.st-filter-chip:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); }
.st-filter-chip.active{ background:linear-gradient(135deg,#4F5DFF,#38BDF8); color:#fff; border-color:transparent; }
/* v1.71.70 对比按钮高亮 */
.st-card-ops button.op-compare:hover{ color:#38BDF8; border-color:rgba(56,189,248,.4); background:rgba(56,189,248,.06); }
.st-canvas{ flex:1; overflow-y:auto; padding:24px 28px 20px; }
.st-gallery{ max-width:1180px; margin:0 auto; }
.st-empty{ text-align:center; padding:80px 20px; color:var(--ink-3,#8A90AB); }
.st-empty-ic{ width:72px; height:72px; margin:0 auto 20px; border-radius:20px; display:grid; place-items:center;
  background:var(--bg-soft,#EEF1FA); border:1px dashed var(--line,#E7EAF6); color:#38BDF8; }
.st-empty-ic svg{ width:34px; height:34px; }
.st-empty h3{ color:var(--ink,#16192B); font-size:18px; margin:0 0 8px; }
.st-empty p{ font-size:13px; margin:0; }
.st-cards{ display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:18px; }
/* v1.71.76 作用域限定：作品卡样式（overflow:hidden/hover 位移）只作用于画廊网格，
   不再泄漏到输入卡（此前输入卡被 overflow:hidden 裁掉向下弹出的参数面板） */
.st-cards .st-card{ position:relative; border-radius:16px; overflow:hidden; background:var(--card,#fff);
  border:1px solid var(--line,#E7EAF6); transition:.22s; box-shadow:var(--shadow-m,0 8px 24px rgba(35,46,143,.1)); }
.st-cards .st-card:hover{ transform:translateY(-3px); border-color:rgba(79,93,255,.4);
  box-shadow:0 12px 36px rgba(35,46,143,.16), 0 0 0 1px rgba(79,93,255,.18); }
.st-card-media{ aspect-ratio:1/1; overflow:hidden; background:var(--bg-soft,#EEF1FA); display:flex; align-items:center; justify-content:center; }
.st-card-media img, .st-card-media video{ width:100%; height:100%; object-fit:cover; display:block; }
.st-card-media .st-card-pending{ display:flex; flex-direction:column; align-items:center; gap:10px; color:var(--ink-3,#8A90AB); }
.st-card-text{ max-height:72%; overflow:auto; padding:0 16px; font-size:12px; color:var(--ink-2,#4A4F6A); line-height:1.65; width:100%; }
.st-card-text p{ margin:0 0 6px; }
.st-card-text img{ max-width:100%; border-radius:8px; }
.st-card-text + .st-card-pending{ padding:4px 0 0; font-size:11px; }
.st-card-meta{ padding:12px 14px; }
.st-card-meta p{ margin:0 0 8px; font-size:12.5px; color:var(--ink-2,#4A4F6A); line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.st-card-tags{ display:flex; flex-wrap:wrap; gap:6px; }
.st-tag{ font-size:10.5px; padding:3px 9px; border-radius:6px; background:rgba(79,93,255,.12); color:#4F5DFF; }
.st-tag.dim{ background:var(--bg-soft,#EEF1FA); color:var(--ink-3,#8A90AB); }
/* v1.71.69 画廊卡片模型名标签 */
.st-card-model{ display:inline-flex; align-items:center; gap:5px; margin:0 0 8px;
  font-size:11px; font-weight:600; color:var(--ink-2,#4A4F6A); }
.st-card-model .st-model-ic{ display:inline-flex; width:15px; height:15px; color:var(--primary,#4F5DFF); }
.st-card-model .st-model-ic svg{ width:100%; height:100%; }
/* v1.71.57 画廊卡片操作条：复用参数 / 批量生成 / 反推 */
.st-card-ops{ display:flex; gap:6px; margin-top:10px; padding-top:9px; border-top:1px dashed var(--line,#E7EAF6); }
.st-card-ops button{ flex:1; padding:5px 0; border-radius:8px; border:1px solid var(--line,#E7EAF6);
  background:var(--bg-soft,#EEF1FA); color:var(--ink-2,#4A4F6A); font-size:11.5px; cursor:pointer; transition:.15s; }
.st-card-ops button:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); background:rgba(79,93,255,.06); }
.st-card-ops button.op-reverse:hover{ color:#38BDF8; border-color:rgba(56,189,248,.4); background:rgba(56,189,248,.06); }

/* ---------- 生成中浮层 ---------- */
.st-working{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(246,247,251,.6); backdrop-filter:blur(3px); z-index:6; }
.st-working[hidden]{ display:none !important; }
.st-spin{ width:42px; height:42px; border-radius:50%; border:3px solid rgba(56,189,248,.25);
  border-top-color:#38BDF8; animation:stSpin 1s linear infinite; }
@keyframes stSpin{ to{ transform:rotate(360deg); } }
.st-work-text{ margin-left:16px; display:flex; flex-direction:column; min-width:200px; }
.st-work-text b{ color:var(--ink,#16192B); font-size:15px; }
.st-work-text span{ color:var(--ink-2,#4A4F6A); font-size:12.5px; margin-top:3px; }
/* v1.71.67 生成阶段进度条：不确定进度动画，给同步图片生成「在动」的感知 */
.st-work-bar{ display:block; width:100%; height:4px; border-radius:999px; overflow:hidden;
  background:rgba(56,189,248,.16); margin-top:9px; }
.st-work-bar i{ display:block; height:100%; width:40%; border-radius:999px;
  background:linear-gradient(90deg,#38BDF8,#6D5DF6); animation:stFill 1.4s ease-in-out infinite; }
@keyframes stFill{ 0%{ transform:translateX(-100%); } 100%{ transform:translateX(250%); } }
.st-work-stage{ font-size:11.5px !important; color:#38BDF8 !important; font-weight:600;
  letter-spacing:.3px; margin-top:4px !important; }

/* ---------- 底部输入区（v1.71.65 即梦式大卡片） ---------- */
.st-bottom-dock{ flex-shrink:0; }
.st-compose{ padding:10px 28px 22px; }
.st-compose.in-hero{ padding:0; }
/* 大卡片：附件行 + textarea + 工具行（即梦同构） */
.st-card{ position:relative; background:var(--card,#fff); border:1.5px solid var(--line,#E7EAF6);
  border-radius:22px; padding:14px 18px 12px; transition:.2s; max-width:1400px; margin:0 auto;
  box-shadow:var(--shadow-m,0 8px 24px rgba(35,46,143,.1)); overflow:visible; }
.st-card:focus-within{ border-color:var(--primary,#4F5DFF); box-shadow:var(--glow-l,0 12px 28px rgba(80,70,255,.28)); }
/* 附件行：缩略图横向滚动（原绝对定位改为文档流，参考图/首帧/尾帧并排） */
.st-attachment{ display:flex; gap:8px; margin:0 0 10px; overflow-x:auto; padding-bottom:2px; }
.st-attachment[hidden]{ display:none !important; }
/* v1.71.73 参数 chips 行：独立于工具行，随卡片同宽（可换行，无横滑）。
   v1.92 P1-G1 桌面恢复常驻 chips（撤销 v1.91.12 浮层化——浮层打开原行塌陷、
   输入框上移一行跳动；桌面 chips 本就常驻可见，滑杆钮仅手机端需要） */
.st-params-bar{ display:flex; align-items:center; gap:8px; margin-bottom:10px; min-width:0; }
.st-params{ display:flex; gap:6px; flex:1 1 auto; min-width:0; flex-wrap:wrap; }
.st-params-tools{ display:flex; align-items:center; gap:8px; margin-left:auto; flex-shrink:0; }
/* v1.71.75 手机端「设置」入口 + 抽屉头。
   v1.92 P1-G1 桌面恢复隐藏滑杆钮（chips 常驻即参数面板，无需按钮；
   用户此前截图的 560~860px 区间由「视频胶囊+⚙+📎」组成——⚙ 属手机专属，
   桌面显示图标会让用户误以为 chips 被隐藏。滑杆钮仅 ≤560px 显示。） */
.st-params-btn{ display:none; }
.st-params-head{ display:none; align-items:center; justify-content:space-between; margin-bottom:10px; }
.st-params-head b{ font-size:14.5px; color:var(--ink,#16192B); }
.st-params-done{ padding:7px 18px; border:none; border-radius:10px; background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8));
  color:#fff; font-size:13px; font-weight:700; cursor:pointer; }
/* 工具行：左侧（模型胶囊 + 功能按钮）· 右侧发送钮 */
.st-toolbar{ display:flex; align-items:center; gap:10px; margin-top:4px; min-width:0; max-width:100%; }
.st-toolbar-left{ display:flex; align-items:center; gap:6px; flex:1 1 0; min-width:0; max-width:100%;
  flex-wrap:wrap; padding:2px; }
.st-param{ position:relative; flex-shrink:0; }
.st-param-btn{ display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:10px;
  background:var(--bg-soft,#EEF1FA); border:1px solid transparent; color:var(--ink-2,#4A4F6A);
  font-size:12.5px; cursor:pointer; transition:.16s; white-space:nowrap; }
.st-param-btn:hover{ border-color:rgba(79,93,255,.4); color:var(--ink,#16192B); background:#fff; }
.st-param-btn.on{ background:rgba(79,93,255,.08); border-color:rgba(79,93,255,.5); color:var(--primary,#4F5DFF); }
.st-param-btn svg{ width:13px; height:13px; opacity:.7; }
/* 参数分组分隔（基础 / 高级）：竖线 + 小标签 */
.st-param-sep{ display:inline-flex; align-items:center; flex-shrink:0; padding-left:8px; margin-left:2px;
  font-size:10.5px; font-weight:800; letter-spacing:.12em; color:var(--ink-3,#8A90AB); }
.st-param-sep::before{ content:''; width:1px; height:16px; background:var(--line,#E3E8F3); margin-right:8px; }
/* v1.71.75 参数选项面板改为向下弹出：不再遮挡上方的输入文字 */
.st-param-panel{ position:absolute; top:calc(100% + 10px); bottom:auto; left:0; min-width:220px; padding:10px;
  background:#fff; border:1px solid var(--line,#E7EAF6); border-radius:14px;
  box-shadow:var(--glow-l,0 12px 28px rgba(80,70,255,.28)); z-index:20; }
.st-param-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.st-opt{ padding:8px 10px; border-radius:9px; font-size:12.5px; text-align:center; cursor:pointer;
  color:var(--ink-2,#4A4F6A); transition:.14s; white-space:nowrap; }
.st-opt:hover{ background:var(--bg-soft,#EEF1FA); color:var(--ink,#16192B); }
.st-opt.active{ background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8)); color:#fff; font-weight:650; }
.st-opt-grid{ grid-template-columns:repeat(2,1fr); }
.st-param-input{ width:100%; padding:8px 10px; border-radius:9px; background:var(--bg-soft,#EEF1FA);
  border:1px solid var(--line,#E7EAF6); color:var(--ink,#16192B); font-size:12.5px; outline:none; }
.st-param-input::placeholder{ color:var(--ink-3,#8A90AB); }
.st-param-input:focus{ border-color:var(--primary,#4F5DFF); background:#fff; }

/* v1.71.56 参数面板增强：作用提示 / 种子工具 / 负向词预设 */
.st-panel-hint{ font-size:11.5px; color:var(--ink-3,#8A90AB); line-height:1.5; margin-bottom:8px;
  padding:6px 9px; background:var(--bg-soft,#EEF1FA); border-radius:8px; }
.st-opt small{ display:block; font-size:10.5px; font-weight:400; opacity:.75; margin-top:2px;
  white-space:normal; line-height:1.3; }
.st-seed-wrap, .st-neg-wrap{ display:flex; flex-direction:column; gap:6px; min-width:220px; }
.st-seed-row{ display:flex; gap:6px; }
.st-seed-row .st-opt{ flex:1; }
.st-seed-row .st-param-input{ flex:1; }
.st-opt-apply{ background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8)); color:#fff !important; font-weight:650; }
.st-neg-wrap textarea{ min-width:240px; }
.st-neg-presets{ display:flex; flex-wrap:wrap; gap:5px; align-items:center; }
.st-neg-label{ font-size:11px; color:var(--ink-3,#8A90AB); }
.st-neg-chip{ font-size:11.5px; padding:4px 8px; border:1px dashed var(--line,#E7EAF6); border-radius:999px; }
.st-neg-chip:hover{ border-color:var(--primary,#4F5DFF); color:var(--primary,#4F5DFF); }

/* 主输入 textarea（大卡内） */
.st-card textarea{ width:100%; background:transparent; border:none; outline:none; resize:none;
  color:var(--ink,#16192B); font-size:15px; line-height:1.6; max-height:160px; padding:4px 2px;
  font-family:inherit; min-height:58px; }
.st-card textarea::placeholder{ color:var(--ink-3,#8A90AB); }
.st-tool-btn{ display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 12px; border-radius:11px;
  border:1px solid var(--line,#E7EAF6); background:var(--card,#fff); color:var(--ink-2,#4A4F6A);
  cursor:pointer; transition:.16s; font-size:12.5px; }
.st-tool-btn:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); background:rgba(79,93,255,.05); }
.st-tool-btn svg{ width:17px; height:17px; }
.st-upload-label{ font-weight:600; }
/* v1.71.73 兜底：显式 hidden 优先于 inline-flex（首帧/尾帧按类型显隐） */
.st-tool-btn[hidden], .st-plus-item[hidden]{ display:none !important; }
/* v1.71.55 灵感骰子：随机提示词一键填充 */
.st-tool-btn.op-idea svg{ color:var(--warn,#F59E0B); }
/* v1.71.57 提示词 AI 润色按钮 */
.st-tool-btn.op-polish svg{ color:var(--primary,#4F5DFF); }
.st-tool-btn.op-polish:disabled{ opacity:.55; cursor:not-allowed; }
/* v1.71.57 首帧/尾帧上传按钮（视频专属，语义化高亮） */
.st-tool-btn.st-frame-btn svg{ color:var(--primary,#4F5DFF); }
.st-tool-btn.st-frame-btn{ border-style:dashed; }

/* v1.71.73 手机端功能聚合按钮（默认隐藏，≤560px 显示） */
.st-plus-btn{ display:none; }
/* v1.71.74 功能面板 → v1.91.7 横向卡片网格（图标块 + 名称 + 描述，类截图形态）；
   悬浮弹出位置由 JS 计算到「+」图标上方/下方；高度收敛不超出屏幕 */
.st-plus-pop{ display:none; position:absolute; z-index:60;
  width:min(420px, calc(100% - 16px)); padding:10px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:8px;
  background:#fff; border:1px solid var(--line,#E7EAF6); border-radius:16px;
  box-shadow:0 18px 44px rgba(18,22,45,.24); max-height:min(52dvh,380px); overflow-y:auto;
  -webkit-overflow-scrolling:touch; }
.st-plus-pop[hidden]{ display:none !important; }
.st-plus-item{ display:flex; flex-direction:column; align-items:flex-start; gap:7px;
  padding:10px; border-radius:12px; border:1px solid var(--line,#E7EAF6); background:var(--bg-soft,#EEF1FA);
  color:var(--ink-2,#4A4F6A); cursor:pointer; font-size:12.5px; transition:.14s; text-align:left; min-width:0; }
.st-plus-item:hover, .st-plus-item:active{ background:#fff; border-color:rgba(79,93,255,.4);
  color:var(--primary,#4F5DFF); box-shadow:var(--glow-s,0 4px 12px rgba(35,124,220,.12)); }
.spi-ic{ width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center;
  background:#fff; color:var(--primary,#4F5DFF); border:1px solid var(--line,#E7EAF6); flex-shrink:0; }
.spi-ic svg{ width:16px; height:16px; }
.spi-txt{ display:flex; flex-direction:column; gap:1px; min-width:0; }
.spi-txt b{ font-size:12.5px; font-weight:700; color:var(--ink,#16192B); white-space:nowrap; }
.spi-txt small{ font-size:10.5px; color:var(--ink-3,#8A90AB); white-space:nowrap;
  overflow:hidden; text-overflow:ellipsis; max-width:100%; }
.st-plus-item:active .spi-ic{ background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8)); color:#fff; border-color:transparent; }

/* ---------- v1.91.8 附件回形针（+ 图标后对齐）+ 浮层 ----------
   桌面端与工具行按钮同尺寸并排；浮层白卡双项（参考图/文件上传），
   定位 JS 计算（上方优先，不足向下），点击外部收起。 */
.st-attach-wrap{ position:relative; display:none; }
.st-clip-btn{ position:relative; }
.st-attach-pop{ position:absolute; z-index:60; width:min(300px, calc(100vw - 24px));
  background:#fff; border:1px solid var(--line,#E7EAF6); border-radius:16px;
  box-shadow:0 18px 44px rgba(18,22,45,.24); padding:8px; display:flex; flex-direction:column; gap:2px; }
.st-attach-pop[hidden]{ display:none !important; }
.st-attach-item{ display:flex; align-items:center; gap:11px; padding:11px 12px; border-radius:12px;
  border:none; background:transparent; cursor:pointer; text-align:left; transition:.14s; white-space:nowrap; }
.st-attach-item:hover, .st-attach-item:active{ background:var(--bg-soft,#EEF1FA); }
.sai-ic{ width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:rgba(79,93,255,.1); color:var(--primary,#4F5DFF); flex-shrink:0; }
.sai-ic svg{ width:17px; height:17px; }
.sai-txt{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.sai-txt b{ font-size:13px; font-weight:700; color:var(--ink,#16192B); white-space:nowrap; }
.sai-txt small{ font-size:11px; color:var(--ink-3,#8A90AB); white-space:nowrap; }

/* v1.71.65 技能浮层 → v1.84 「更多技能」改横滑选项（对标对话页布局，不再纵向平铺） */
/* v1.85 技能弹层：桌面铺满排列（弹层内换行）；手机端横滑（560 断点）+ 「》」指示 */
.st-skill-pop{ position:absolute; bottom:calc(100% + 8px); left:0; right:0; max-height:none;
  background:#fff; border:1px solid var(--line,#E7EAF6); border-radius:16px; padding:8px; z-index:30;
  box-shadow:var(--glow-l,0 12px 28px rgba(80,70,255,.28)); text-align:left; display:flex; gap:8px; align-items:center;
  flex-wrap:wrap; }
.st-skill-item{ display:inline-flex; align-items:center; gap:8px; width:auto; flex:0 0 auto; padding:7px 12px; border-radius:999px;
  border:1px solid var(--line,#E7EAF6); background:var(--card,#fff); cursor:pointer; text-align:left; transition:.14s;
  color:var(--ink-2,#4A4F6A); white-space:nowrap; scroll-snap-align:start; }
.st-skill-item:hover{ background:rgba(79,93,255,.06); border-color:rgba(79,93,255,.4); }
.st-skill-ic{ width:26px; height:26px; border-radius:8px; flex-shrink:0; display:grid; place-items:center;
  background:linear-gradient(135deg,rgba(79,93,255,.14),rgba(56,189,248,.12)); color:#4F5DFF; }
.st-skill-ic svg{ width:14px; height:14px; }
.st-skill-meta{ flex:0 0 auto; min-width:0; display:inline-flex; align-items:baseline; gap:5px; }
.st-skill-meta b{ font-size:12.5px; color:var(--ink,#16192B); font-weight:700; }
.st-skill-meta small{ display:none; }
.st-skill-kind{ font-size:10px; padding:1px 6px; border-radius:6px; background:rgba(79,93,255,.12); color:#4F5DFF; flex-shrink:0; }
.st-skill-empty{ flex:1; padding:8px; text-align:center; font-size:12.5px; color:var(--ink-3,#8A90AB); }

/* ---------- v1.84 输入框增强：右上角尺寸工具 + 独立大编辑 ---------- */
.st-input-wrap{ position:relative; }
/* ---------- v1.89 生成模式入口（输入框左上角三 Tab） ----------
   文生图 / 图生图 / 图生视频：点击切换 S.kind 与参考图引导；
   与输入框布局协调：小胶囊、浅底、激活态主色；不遮挡 textarea 与右上角工具。 */
.st-mode-tabs{ display:flex; gap:6px; margin:0 0 8px; flex-wrap:wrap; }
.st-mode-tab{ display:inline-flex; align-items:center; gap:5px; padding:6px 13px; border-radius:999px;
  border:1px solid var(--line,#E7EAF6); background:var(--bg-soft,#EEF1FA); color:var(--ink-2,#4A4F6A);
  font-size:12.5px; font-weight:600; cursor:pointer; transition:.16s; white-space:nowrap; }
.st-mode-tab svg{ width:14px; height:14px; }
.st-mode-tab:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); background:#fff; }
.st-mode-tab.active{ background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8)); color:#fff;
  border-color:transparent; box-shadow:var(--glow-s,0 4px 12px rgba(35,124,220,.12)); }
.st-mode-tab.active svg{ color:#fff; }
.st-input-tools{ position:absolute; top:8px; right:8px; display:flex; gap:6px; z-index:3; opacity:.7; transition:.15s; }
.st-input-wrap:focus-within .st-input-tools{ opacity:1; }
.st-input-tgl{ width:30px; height:30px; border-radius:9px; border:1px solid var(--line,#E7EAF6);
  background:rgba(255,255,255,.88); color:var(--ink-3,#8A90AB);
  display:inline-flex; align-items:center; justify-content:center; cursor:pointer; transition:.15s; }
.st-input-tgl:hover,.st-input-tgl.on{ color:var(--primary,#4F5DFF); border-color:rgba(79,93,255,.4); background:rgba(79,93,255,.08); }
.st-input-tgl svg{ width:15px; height:15px; }
.st-card textarea.tall{ min-height:150px; }
.st-expand-mask{ position:fixed; inset:0; background:rgba(22,25,43,.45); z-index:1300;
  display:flex; align-items:flex-end; justify-content:center; opacity:0; transition:opacity .2s; }
.st-expand-mask.open{ opacity:1; }
.st-expand-panel{ width:100%; max-width:760px; max-height:88dvh; background:#fff; border-radius:20px 20px 0 0;
  display:flex; flex-direction:column; transform:translateY(24px); transition:transform .24s var(--ease,ease); overflow:hidden; }
.st-expand-mask.open .st-expand-panel{ transform:none; }
@media(min-width:641px){ .st-expand-mask{ align-items:center; padding:24px; } .st-expand-panel{ border-radius:20px; } }
.st-expand-hd{ display:flex; align-items:center; justify-content:space-between; padding:14px 18px 8px; }
.st-expand-hd b{ font-size:15px; color:var(--ink,#16192B); }
.st-expand-x{ border:none; background:var(--bg-soft,#EEF1FA); width:30px; height:30px; border-radius:50%;
  font-size:16px; line-height:1; color:var(--ink-2,#4A4F6A); cursor:pointer; }
.st-expand-ta{ flex:1; min-height:44dvh; border:none; outline:none; resize:none; padding:4px 18px 10px;
  font-size:15px; line-height:1.7; color:var(--ink,#16192B); background:transparent; font-family:inherit; }
.st-expand-ft{ display:flex; align-items:center; gap:12px; padding:10px 18px calc(12px + env(safe-area-inset-bottom)); }
.st-expand-count{ font-size:12px; color:var(--ink-3,#8A90AB); }
.st-expand-done{ margin-left:auto; border:none; border-radius:12px; padding:9px 24px; font-weight:700; color:#fff;
  background:var(--grad-main,linear-gradient(135deg,#4F5DFF,#38BDF8)); cursor:pointer; }

/* 模型胶囊（对齐 chat 的 modelPill） */
.st-model-pill{ display:inline-flex; align-items:center; gap:6px; height:38px; padding:0 12px; border-radius:11px;
  border:1px solid var(--line,#E7EAF6); background:var(--card,#fff); color:var(--ink-2,#4A4F6A);
  font-size:12.5px; cursor:pointer; transition:.16s; max-width:200px; }
.st-model-pill:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); }
.st-model-pill .dot{ width:7px; height:7px; border-radius:50%; background:linear-gradient(135deg,#4F5DFF,#38BDF8); flex-shrink:0; }
.st-model-pill .pill-abbrev{ color:var(--ink-3,#8A90AB); flex-shrink:0; }
.st-model-pill .pill-full{ flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-align:left; color:var(--ink,#16192B); }
.st-model-pill svg{ width:12px; height:12px; opacity:.7; flex-shrink:0; }

.st-send{ display:inline-flex; align-items:center; gap:7px; padding:0 20px; height:40px; border-radius:12px;
  border:none; cursor:pointer; background:linear-gradient(135deg,#4F5DFF,#38BDF8); color:#fff;
  font-size:14px; font-weight:700; transition:.18s; box-shadow:0 6px 20px rgba(79,93,255,.4); flex-shrink:0; }
.st-send:hover{ box-shadow:0 8px 26px rgba(79,93,255,.55); transform:translateY(-1px); }
.st-send:disabled{ opacity:.55; cursor:not-allowed; transform:none; box-shadow:none; }
/* v1.92 P1-F2 生成中 loading：箭头图标旋转（上传/生成等待语义），保持圆形按钮形态 */
.st-send.is-loading svg{ animation:stSendSpin .9s linear infinite; }
@keyframes stSendSpin{ to{ transform:rotate(360deg); } }
.st-send svg{ width:16px; height:16px; }

/* v1.71.78 输入区加强：字数统计 / 积分预估 / 参数重置 */
.st-input-wrap{ position:relative; }
.st-input-wrap textarea{ padding-bottom:22px; }
.st-char-count{ position:absolute; right:8px; bottom:4px; font-size:11px; line-height:1;
  color:var(--ink-3,#8A90AB); pointer-events:none; font-variant-numeric:tabular-nums;
  padding:3px 6px; border-radius:6px; background:rgba(255,255,255,.82); }
/* v1.92 P1-K1 角标遮挡修复：主输入框底部预留 18px（角标 11px 字 + 6px padding + 4px 底距），
   文字换行到底部时不再被白底角标盖住末行 */
.st-card textarea#stInput{ padding-bottom:22px !important; }
.st-char-count.near-limit{ color:#E8590C; font-weight:600; }
/* v1.91 cost-tip 已移除（积分预估迁移至顶栏闪电位，见 .st-points-pill） */
.st-param-reset{ display:inline-flex; align-items:center; gap:5px; padding:7px 11px; border-radius:10px;
  background:transparent; border:1px dashed var(--line,#E7EAF6); color:var(--ink-3,#8A90AB);
  font-size:12px; cursor:pointer; transition:.16s; white-space:nowrap; }
.st-param-reset:hover{ color:#E8590C; border-color:rgba(232,89,12,.45); background:rgba(232,89,12,.06); }
.st-param-reset svg{ width:13px; height:13px; }

/* ============================================================
   v1.71.84 对齐灵客AI /home 左栏：侧栏双 Tab（模型/会话）+ 模型卡片列表
   ============================================================ */
.st-side-tabs{ display:flex; gap:4px; margin:0 2px 10px; padding:3px; border-radius:11px;
  background:var(--bg-soft,#EEF1FA); }
.st-side-tab{ flex:1; padding:7px 0; border:none; border-radius:8px; background:transparent;
  color:var(--ink-3,#8A90AB); font-size:12.5px; font-weight:600; cursor:pointer; transition:.16s; }
.st-side-tab:hover{ color:var(--ink-2,#4A4F6A); }
.st-side-tab.active{ background:#fff; color:var(--primary,#4F5DFF); box-shadow:0 1px 6px rgba(79,93,255,.14); }

.st-side-pane{ display:flex; flex-direction:column; flex:1; min-height:0; }
.st-side-pane[hidden]{ display:none !important; }  /* 修复：flex 覆盖 hidden 属性导致双面板同显 */
.st-side-search{ display:flex; align-items:center; gap:7px; margin:0 2px 8px; padding:8px 11px;
  border-radius:11px; border:1px solid var(--line,#E7EAF6); background:#fff; transition:.16s; }
.st-side-search:focus-within{ border-color:var(--primary,#4F5DFF); box-shadow:0 0 0 3px rgba(79,93,255,.12); }
.st-side-search svg{ width:14px; height:14px; color:var(--ink-3,#8A90AB); flex-shrink:0; }
/* v1.92 P2-D1 搜索清空钮 + P2-K2 输入框 focus 环统一 */
.st-side-search input{ flex:1; min-width:0; border:none; outline:none; background:transparent; font-size:12.5px; color:var(--ink,#16192B); }
.st-side-search-x{ width:20px; height:20px; border:none; border-radius:50%; background:var(--bg-soft,#EEF1FA);
  color:var(--ink-3,#8A90AB); cursor:pointer; display:inline-flex; align-items:center; justify-content:center;
  flex-shrink:0; padding:0; transition:.14s; }
.st-side-search-x:hover{ color:var(--ink,#16192B); }
.st-side-search-x svg{ width:10px; height:10px; color:inherit; }
.st-side-search input::placeholder{ color:var(--ink-3,#8A90AB); }

.st-kind-chips{ display:flex; gap:5px; margin:0 2px 9px; overflow-x:auto; scrollbar-width:none; flex-shrink:0; }
.st-kind-chips::-webkit-scrollbar{ display:none; }
.st-kind-chip{ padding:5px 12px; border-radius:999px; border:1px solid var(--line,#E7EAF6);
  background:#fff; color:var(--ink-2,#4A4F6A); font-size:12px; font-weight:600; cursor:pointer;
  white-space:nowrap; transition:.16s; flex-shrink:0; }
.st-kind-chip:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); }
.st-kind-chip.active{ background:linear-gradient(135deg,#4F5DFF,#38BDF8); border-color:transparent; color:#fff; }

.st-model-list{ flex:1; min-height:0; overflow-y:auto; display:flex; flex-direction:column; gap:7px; padding:1px; }
.st-md-item{ display:flex; align-items:flex-start; gap:9px; padding:10px 11px; border-radius:13px;
  border:1px solid var(--line,#E7EAF6); background:#fff; cursor:pointer; text-align:left;
  transition:.16s; position:relative; width:100%; }
.st-md-item:hover{ border-color:rgba(79,93,255,.45); box-shadow:0 3px 14px rgba(79,93,255,.1); transform:translateY(-1px); }
.st-md-item.active{ border-color:var(--primary,#4F5DFF); background:linear-gradient(135deg,rgba(79,93,255,.05),rgba(56,189,248,.04)); box-shadow:0 2px 10px rgba(79,93,255,.12); }
.st-md-ic{ width:38px; height:38px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,rgba(79,93,255,.1),rgba(56,189,248,.1)); color:var(--primary,#4F5DFF); flex-shrink:0; }
.st-md-ic svg{ width:20px; height:20px; }
.st-md-meta{ flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; padding-right:44px; }
.st-md-meta b{ font-size:12.5px; color:var(--ink,#16192B); font-weight:700; line-height:1.3;
  display:flex; align-items:center; gap:5px; min-width:0; overflow:hidden; white-space:nowrap; }
.st-md-meta small{ font-size:11px; color:var(--ink-3,#8A90AB); line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.st-md-kind{ font-style:normal; font-size:10px; font-weight:600; padding:1px 5px; border-radius:5px;
  background:var(--bg-soft,#EEF1FA); color:var(--ink-3,#8A90AB); flex-shrink:0; }
.st-md-item.active .st-md-kind{ background:rgba(79,93,255,.12); color:var(--primary,#4F5DFF); }
.st-md-price{ position:absolute; top:7px; right:7px; font-size:10px; line-height:1; }
.st-md-price i{ font-style:normal; font-weight:700; color:#E8590C; font-variant-numeric:tabular-nums;
  padding:3px 6px; border-radius:7px; background:rgba(232,89,12,.09); }
.st-md-price i u{ text-decoration:none; font-weight:500; font-size:9px; margin-left:1px; }
.st-md-price i.free{ color:#2F9E44; background:rgba(47,158,68,.1); }
.st-md-empty{ padding:26px 10px; text-align:center; font-size:12px; color:var(--ink-3,#8A90AB); line-height:1.7; }

/* v1.71.84 价格角标升位 → v1.91 移除：积分预估统一在顶栏闪电位展示 */
.st-card{ position:relative; }
/* v1.71.84 发送钮圆形化（对齐灵客AI 圆形 ↑ 主行动钮）：桌面端仅箭头。
   v1.90 收窄为桌面专属：手机端三断点已恢复文字胶囊（与积分同行右对齐），
   此处的圆形+无文字规则不能再命中移动端。 */
@media (min-width:901px){
  .st-send{ width:42px; height:42px; padding:0; border-radius:50%; justify-content:center; }
  .st-send span{ display:none; }
}

/* 手机端：侧栏抽屉内沿用（Tab/chips/模型卡自适应窄屏）；发送钮由 560 断点接管为文字胶囊 */
@media (max-width: 900px) {
  .st-md-item{ padding:9px 10px; }
  .st-md-ic{ width:34px; height:34px; }
  /* v1.90 原圆形 40px 规则移除：与 560 断点文字胶囊冲突（span 会被重新隐藏） */
  /* v1.71.85 手机端模型说明卡收紧（简介单行截断，防挤压输入卡可视区） */
  .st-cur-model{ margin:-4px auto 16px; padding:10px 13px; gap:10px; }
  .st-cm-ic{ width:36px; height:36px; border-radius:10px; }
  .st-cm-meta p{ -webkit-line-clamp:1; }
}

/* ---------- 模型选择弹窗 ---------- */
.st-model-mask{ position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center;
  background:rgba(22,25,43,.35); backdrop-filter:blur(4px); }
.st-model-mask[hidden]{ display:none !important; }
.st-mp-sheet{ width:min(440px, 92vw); max-height:78vh; display:flex; flex-direction:column; border-radius:20px;
  background:#fff; border:1px solid var(--line,#E7EAF6); overflow:hidden;
  box-shadow:var(--glow-l,0 12px 28px rgba(80,70,255,.28)); }
.st-mp-head{ display:flex; align-items:center; justify-content:space-between; padding:16px 18px 12px; }
.st-mp-head b{ font-size:16px; color:var(--ink,#16192B); }
.st-mp-close{ width:32px; height:32px; border-radius:9px; border:none; background:var(--bg-soft,#EEF1FA);
  color:var(--ink-2,#4A4F6A); font-size:18px; cursor:pointer; line-height:1; }
.st-mp-close:hover{ background:var(--line,#E7EAF6); }
.st-mp-kind-tabs{ display:flex; gap:6px; padding:0 18px 12px; }
.st-mp-kind{ flex:1; padding:8px 0; border-radius:9px; border:1px solid var(--line,#E7EAF6);
  background:var(--bg-soft,#EEF1FA); color:var(--ink-3,#8A90AB); font-size:13px; font-weight:600; cursor:pointer; transition:.15s; }
.st-mp-kind:hover{ color:var(--ink,#16192B); }
.st-mp-kind.active{ background:linear-gradient(135deg,#4F5DFF,#38BDF8); color:#fff; border-color:transparent; }
.st-mp-list{ flex:1; overflow-y:auto; padding:0 14px 14px; display:flex; flex-direction:column; gap:6px; }
.st-mp-empty{ text-align:center; padding:30px; color:var(--ink-3,#8A90AB); font-size:13px; }
.st-mp-item{ display:flex; align-items:center; gap:11px; padding:11px 12px; border-radius:12px; text-align:left;
  border:1px solid transparent; background:transparent; color:inherit; cursor:pointer; transition:.15s; }
.st-mp-item:hover{ background:var(--bg-soft,#EEF1FA); }
.st-mp-item.active{ background:rgba(79,93,255,.06); border-color:rgba(79,93,255,.4); }
.st-mp-ic{ width:36px; height:36px; border-radius:10px; flex-shrink:0; display:grid; place-items:center;
  background:var(--bg-soft,#EEF1FA); color:#38BDF8; }
.st-mp-ic svg{ width:19px; height:19px; }
.st-mp-item.active .st-mp-ic{ background:linear-gradient(135deg,#4F5DFF,#38BDF8); color:#fff; }
.st-mp-meta{ flex:1; min-width:0; }
.st-mp-meta b{ display:block; font-size:13.5px; color:var(--ink,#16192B); font-weight:650; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.st-mp-meta small{ display:block; font-size:11px; color:var(--ink-3,#8A90AB); margin-top:1px; }
.st-mp-price{ flex-shrink:0; font-size:11px; color:#4F5DFF; font-weight:700; }
/* v1.71.69 A4 模型对比：勾选框 + 对比按钮 */
.st-mp-row{ position:relative; display:flex; align-items:stretch; gap:6px; }
.st-mp-row .st-mp-item{ flex:1; }
.st-mp-check{ flex-shrink:0; width:32px; border-radius:12px; border:1px solid var(--line,#E7EAF6);
  background:transparent; color:var(--ink-3,#8A90AB); font-size:15px; font-weight:700; cursor:pointer; transition:.15s; }
.st-mp-check:hover{ border-color:rgba(79,93,255,.4); color:var(--primary,#4F5DFF); }
.st-mp-check.on{ background:linear-gradient(135deg,#4F5DFF,#38BDF8); color:#fff; border-color:transparent; }
.st-mp-compare{ padding:4px 14px 14px; }
.st-mp-cmp-btn{ width:100%; padding:11px 0; border-radius:12px; border:none;
  background:linear-gradient(135deg,#4F5DFF,#38BDF8); color:#fff; font-size:13.5px; font-weight:700; cursor:pointer; transition:.15s; }
.st-mp-cmp-btn:disabled{ background:var(--bg-soft,#EEF1FA); color:var(--ink-3,#8A90AB); cursor:not-allowed; }

/* v1.71.75 抽屉滑出动画 */
@keyframes stSheetUp{ from{ transform:translateY(48px); opacity:0; } to{ transform:translateY(0); opacity:1; } }
/* v1.71.75 抽屉打开时的全屏轻遮罩（body::after 可被点击命中 → 点遮罩即关闭） */
body.st-sheet-open::after{ content:''; position:fixed; inset:0; z-index:70;
  background:rgba(18,22,45,.42); animation:stFadeIn .2s ease; }
@keyframes stFadeIn{ from{ opacity:0; } to{ opacity:1; } }

/* ---------- 响应式 ---------- */
@media (max-width:860px){
  .st-canvas{ padding:16px 12px 14px; }
  .st-compose{ padding:10px 12px 16px; }
  .st-chat-scroll{ padding:12px 10px; }
  .st-cards{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:12px; }
  .st-apps{ grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); }
  .st-bubble{ max-width:88%; }
}
@media (max-width:560px){
  .st-top{ padding:0 12px; gap:10px; }
  .st-logo span{ display:none; }
  .st-cards{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .st-apps{ grid-template-columns:repeat(2,1fr); gap:8px; }
  .st-card textarea{ min-height:52px; }
  /* v1.91 手机端生成钮图标化：覆盖 v1.71.84 的「恢复文字」规则，≤860 一致为圆形箭头 */
  .st-send span{ display:none; }
  .st-send{ padding:0 14px; }
  .st-param-btn{ padding:7px 11px; font-size:12px; }
  /* v1.71.74 手机端：平铺功能按钮隐藏，改为「+」聚合按钮展开面板（输入框上方） */
  .st-desktop-only{ display:none !important; }
  .st-plus-btn{ display:inline-flex; }
  /* v1.91.8 回形针附件钮：与 + 图标同排对齐（同高同圆角） */
  .st-attach-wrap{ display:inline-block; }
  .st-clip-btn{ width:40px; padding:0; justify-content:center; }
  /* v1.91.7 + 面板横向卡片网格：display 由 hidden 属性控制，位置由 JS 计算（+ 图标上方/下方） */
  .st-plus-pop{ grid-template-columns:repeat(2,1fr); }
  /* v1.71.75 手机端参数收进「设置」底部抽屉：chips 行默认隐藏，输入卡只剩 输入框+工具行 */
  .st-params-btn{ display:inline-flex; }
  .st-params-bar{ display:none; }
  .st-params-bar.open{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:80;
    flex-direction:column; align-items:stretch; max-width:none; margin:0;
    background:var(--card,#fff); border:none; border-top:1px solid var(--line,#E7EAF6);
    border-radius:20px 20px 0 0; padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));
    box-shadow:0 -12px 40px rgba(18,22,45,.22); max-height:72dvh; overflow-y:auto;
    animation:stSheetUp .22s ease; }
  .st-params-head{ display:flex; }
  /* v1.91.2 抽屉参数整齐化：两列网格（按钮全宽、面板就地展开跨两列），
     修复此前 flex-wrap 下 chips 宽窄不一、换行参差的杂乱观感 */
  .st-params-bar.open .st-params{ display:grid; grid-template-columns:1fr 1fr; gap:8px 10px; }
  .st-params-bar.open .st-param{ display:contents; }
  .st-params-bar.open .st-param-btn{ width:100%; height:42px; justify-content:space-between;
    padding:0 12px; background:var(--bg-soft,#EEF1FA); border-radius:12px; }
  .st-params-bar.open .st-param-sep{ grid-column:1 / -1; margin:4px 0 0; }
  .st-params-bar.open .st-param-panel{ grid-column:1 / -1; }
  /* 抽屉内参数选项就地展开（文档流，不浮层、不裁剪、不遮挡） */
  .st-params-bar.open .st-param-panel{ position:static; box-shadow:none; border:none;
    background:transparent; padding:2px 0 6px; max-width:100%; min-width:0; width:100%; }
  /* v1.71.76 负向词面板防横向乱滑 → v1.91.2 起由 grid + display:contents 接管
     （.st-param 已不产生盒子，旧 flex-shrink 规则失效；面板 width:100% 同样防溢出） */
  .st-params-bar.open .st-seed-wrap, .st-params-bar.open .st-neg-wrap{ min-width:0; width:100%; }
  .st-params-bar.open .st-neg-presets{ flex-wrap:wrap; max-width:100%; }
  .st-params-bar.open .st-param-btn{ background:#fff; border-color:var(--line,#E7EAF6); }
  .st-tool-btn{ padding:0 10px; }
  .st-model-pill .pill-full{ display:none; }
  .st-model-pill{ max-width:none; padding:0 10px; }
  .st-msg-media img, .st-msg-media video{ max-height:280px; }
  .st-clear span{ display:none; }
  .st-clear{ padding:6px 9px; right:10px; }
  /* v1.71.68 手机端让位给 hamburger 展开按钮（left:14px + 30px 宽） */
  .st-points-pill{ left:50px; padding:5px 9px; gap:4px; }
  .st-points-pill span{ display:none; }
  .st-clear-history span{ display:none; }
  .st-clear-history{ padding:6px 9px; }
  .st-gallery-bar{ padding:10px 12px 0; flex-wrap:wrap; gap:6px; }
  .st-gallery-filter{ margin-left:0; margin-right:auto; order:3; width:100%; }
  .st-filter-chip{ flex:1; text-align:center; padding:5px 0; }
  .st-params-tools{ margin-left:0; }
}

/* ---------- v1.71.64 体验增强：拖拽高亮 / 大图预览 ---------- */
.st-card.st-dragover{ border-color:var(--primary,#4F5DFF); border-style:dashed;
  background:rgba(79,93,255,.04); box-shadow:var(--glow-l,0 12px 28px rgba(80,70,255,.28)); }
.st-att-thumb{ position:relative; width:60px; height:60px; border-radius:10px; overflow:hidden;
  border:1px solid var(--line,#E7EAF6); flex-shrink:0; }
.st-att-thumb img{ width:100%; height:100%; object-fit:cover; cursor:zoom-in; }
.st-att-tag{ position:absolute; left:2px; bottom:2px; padding:0 4px; border-radius:4px; background:rgba(0,0,0,.65);
  color:#fff; font-size:9px; line-height:14px; pointer-events:none; }
.st-att-rm{ position:absolute; top:2px; right:2px; width:18px; height:18px; border-radius:50%; border:none;
  background:rgba(0,0,0,.7); color:#fff; font-size:11px; cursor:pointer; line-height:18px; text-align:center; padding:0; }

/* ---------- v1.71.64 手机端深度适配（v1.71.65 更新为即梦式布局） ---------- */
@media (max-width:860px){
  /* hero 标题缩放 */
  .st-hero-title{ font-size:28px; }
}
@media (max-width:560px){
  /* 模型弹窗改为底部滑出 sheet（拇指可达，对齐原生 App 交互） */
  .st-model-mask{ align-items:flex-end; }
  .st-mp-sheet{ width:100%; max-height:82dvh; border-radius:20px 20px 0 0; }
  .st-mp-kind{ padding:10px 0; }
  /* 参数气泡面板防溢出屏幕（左对齐兜底 + 最大宽） */
  .st-param-panel{ left:0; right:auto; max-width:calc(100vw - 32px); min-width:0; }
  /* 技能浮层防溢出 */
  .st-skill-pop{ max-width:calc(100vw - 40px); }
  /* 种子/负向词面板宽度收进屏幕 */
  .st-seed-wrap, .st-neg-wrap{ min-width:0; width:calc(100vw - 64px); }
  .st-neg-wrap textarea{ min-width:0; width:100%; }
  /* 输入卡与按钮触控尺寸（≥40px 触控热区） */
  .st-card{ padding:11px 12px 10px; border-radius:18px; }
  .st-card textarea{ font-size:15px; }
  .st-tool-btn{ height:40px; padding:0 11px; }
  .st-model-pill{ height:40px; }
  .st-send{ height:40px; padding:0 16px; }
  /* v1.91 生成钮图标化：≤860 一致为圆形箭头（与桌面同构） */
  .st-send span{ display:none; }
  .st-compose{ padding:8px 12px 14px; }
  /* 参数 chips 行：斩断固有宽度传播，仅限横向滚动，杜绝手机端溢出 */
  .st-toolbar{ min-width:0; max-width:100%; }
  .st-toolbar-left{ min-width:0; max-width:100%; }
  .st-toolbar-left .st-params{ min-width:0; max-width:100%; }
  /* 附件缩略图缩小 */
  .st-att-thumb{ width:46px; height:46px; }
  /* 视图切换条收窄 */
  .st-view-tab{ padding:6px 14px; }
  .st-viewbar{ padding:8px 10px 0; }
  /* v1.91 积分胶囊窄屏收紧：仅图标+数字（gap 4px、padding 收窄） */
  /* v1.91.4 修复「会话记录展开钮不见」：手机端 viewbar 左侧 side-open（30px）与
     积分胶囊同位重叠、胶囊白底在后层把按钮盖住。改为并排：钮 left:10px、胶囊 left:48px */
  .st-side-open{ left:10px; }
  .st-points-pill{ left:48px; padding:6px 10px; gap:4px; }
  .st-points-pill b{ font-size:13px; }
  .st-work-text b{ font-size:14px; }
  /* hero 手机端：标题/胶囊/应用卡缩放（即梦式保持居中） */
  /* v1.71.74 手机端 hero 精简：压缩标题/模式/chips 高度，确保输入卡首屏可见 */
  .st-welcome{ padding:8px 12px 18px; }
  .st-hero-title{ font-size:19px; margin-bottom:10px; }
  .st-hero-mode{ padding:6px 14px; font-size:12.5px; }
  .st-hero-modes{ margin-bottom:12px; }
  .st-hero-dock{ margin:0 auto 12px; }
  /* 技能 chips 横滑选项（v1.84 对标对话页布局，不再堆叠换行） */
  .st-hero-chips{ justify-content:flex-start; flex-wrap:nowrap; overflow-x:auto; padding-bottom:4px; gap:6px; }
  .st-chip{ flex-shrink:0; padding:6px 10px; font-size:11.5px; }
  /* 灵感卡片固定两列 + 仅显示前 6 张（防把输入卡挤出首屏） */
  .st-apps{ grid-template-columns:repeat(2,1fr); gap:8px; }
  .st-apps .st-app:nth-child(n+7){ display:none; }
  .st-app-cover{ height:64px; }
  .st-app-cover svg{ width:24px; height:24px; }
  .st-app-meta{ padding:9px 10px 8px; }
  .st-app-meta b{ font-size:12px; }
  .st-app-meta small{ font-size:10.5px; }
  .st-app-kind{ display:none; }
  /* v1.71.68 会话侧栏手机端：改为左侧滑入抽屉 */
  .st-sidebar{ position:fixed; left:0; top:var(--nav-h,64px); bottom:0; width:min(80vw,300px);
    z-index:40; padding:12px 10px; transform:translateX(-100%); transition:transform .24s ease;
    background:var(--bg,#F6F7FB); border-right:none; box-shadow:0 0 0 100vmax rgba(18,22,45,0); }
  .st-sidebar.open{ transform:translateX(0); box-shadow:0 12px 40px rgba(18,22,45,.28); }
  .st-sidebar.collapsed{ width:min(80vw,300px); padding:12px 10px; }
  .st-sidebar .st-side-close{ display:inline-flex; }
  .st-side-open{ display:inline-flex; }
}
@media (max-width:380px){
  .st-cards{ grid-template-columns:repeat(2,1fr); gap:8px; }
  .st-tool-btn{ padding:0 8px; }
  .st-param-btn{ padding:6px 9px; font-size:11.5px; }
  .st-hero-title{ font-size:20px; }
  .st-apps{ grid-template-columns:repeat(2,1fr); gap:8px; }
  /* v1.91.4 窄屏：积分数字压缩、胶囊左移收紧，避免与居中的视图 Tab 重叠 */
  .st-points-pill{ left:44px; padding:5px 8px; }
  .st-points-pill b{ font-size:12px; }
  .st-view-tab{ padding:6px 10px; }
}

/* ---------- v1.91 手机端输入区整理：功能选项与输入框分开、整齐排列 ---------- */
@media (max-width:560px){
  /* 输入框独立成块（圆角内嵌块），与下方功能选项清晰分区 */
  .st-input-wrap{ background:var(--bg-soft,#EEF1FA); border:1px solid var(--line,#E7EAF6);
    border-radius:14px; padding:10px 12px 16px; }
  .st-input-wrap textarea{ min-height:64px; }
  .st-input-tools{ top:6px; right:6px; }
  /* v1.91.5 用户要求：去除输入框内的文生图/图生图/图生视频三 Tab
     （入口保留在「+」聚合面板中，桌面端 >560px 不受影响） */
  .st-mode-tabs{ display:none; }
  /* 工具行与输入框分离：功能按钮整齐换行排列，不再与输入框挤在一起 */
  .st-toolbar{ margin-top:9px; flex-wrap:wrap; gap:8px; align-items:center; }
  .st-toolbar-left{ display:flex; flex-wrap:wrap; gap:7px; overflow:visible; min-width:0; max-width:100%; align-items:center; }
  .st-tool-btn{ height:38px; padding:0 12px; }
  /* v1.91 排序定版：发送钮（圆形箭头）独行右对齐；积分已迁移至顶栏闪电位 */
  .st-send{ width:40px; height:40px; min-width:40px; padding:0; border-radius:50%;
    align-self:center; margin-top:0; order:0; flex-shrink:0; justify-content:center; }
  /* v1.91 生成钮图标化：仅保留 ↑ 箭头（与桌面同构），title 保留「生成」语义 */
  .st-send span{ display:none; }
  .st-send svg{ width:18px; height:18px; }
  /* 「更多技能」弹层手机端横滑 + 「》」指示（桌面为铺满换行） */
  .st-skill-pop{ flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; scrollbar-width:none;
    -webkit-overflow-scrolling:touch; max-width:calc(100vw - 40px); scroll-snap-type:x proximity; }
  .st-skill-pop::-webkit-scrollbar{ display:none }
  .st-skill-item{ flex:0 0 auto; scroll-snap-align:start; }
}
