/* =========================================================
   晨星文创 AI 创作工作台 — 样式系统
   简约大气 · 浅色/深色双主题
   ========================================================= */

/* ---------- 基础兜底 ----------
   [hidden] 属性必须永远生效：作者样式表中的 display:flex 等声明
   会覆盖 UA 样式表的 [hidden]{display:none}（特异性更高），
   曾导致登录页 fixed 全屏遮罩在"隐藏"后仍盖住整个应用。 */
[hidden] { display: none !important; }

/* ---------- 设计令牌 ---------- */
:root {
  --primary: #5b5bd6;
  --primary-hover: #4a4ac4;
  --primary-weak: #eef0ff;
  --primary-text: #ffffff;
  --success: #16a34a;
  --success-weak: #e7f6ec;
  --danger: #dc2626;
  --danger-weak: #fdeaea;
  --warning: #d97706;
  --warning-weak: #fdf3e3;
  --info: #2563eb;
  --info-weak: #e8f0fe;

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --shadow: 0 4px 12px rgba(16, 24, 40, .08), 0 2px 4px rgba(16, 24, 40, .04);
  --shadow-lg: 0 16px 40px rgba(16, 24, 40, .16);
  --sidebar-w: 256px;
  --topbar-h: 60px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

/* 浅色 */
[data-theme="light"] {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --surface-2: #f1f2f5;
  --surface-3: #e9ebf0;
  --text: #1f2430;
  --text-2: #4b5563;
  --text-muted: #8b93a1;
  --border: #e6e8ee;
  --border-strong: #d4d8e0;
  --hover: #f4f5f8;
  --overlay: rgba(17, 24, 39, .45);
}

/* 深色 */
[data-theme="dark"] {
  --bg: #0f1115;
  --surface: #171a21;
  --surface-2: #1d212b;
  --surface-3: #242a36;
  --text: #e7e9ef;
  --text-2: #b6bccb;
  --text-muted: #7e8696;
  --border: #2a2f3a;
  --border-strong: #3a4150;
  --hover: #1f2430;
  --primary-weak: #232347;
  --success-weak: #14301f;
  --danger-weak: #34171a;
  --warning-weak: #33260f;
  --info-weak: #14233f;
  --overlay: rgba(0, 0, 0, .6);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 6px 18px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, .6);
}

/* ---------- 基础 ---------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ---------- 通用组件 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text); padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; transition: all .15s ease; white-space: nowrap;
}
.btn:hover { background: var(--hover); border-color: var(--text-muted); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-text); }
.btn.primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--hover); }
.btn.danger { color: var(--danger); border-color: var(--danger); background: var(--surface); }
.btn.danger:hover { background: var(--danger-weak); }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.btn.icon { padding: 8px; border-radius: 10px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.input, .select, .textarea {
  width: 100%; background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 9px 12px; font-size: 13px; font-family: inherit; transition: border .15s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--primary); }
.textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
#m1textout { max-height: 420px; overflow-y: auto; white-space: pre-wrap; word-break: break-word; }
#m1desc { min-height: 180px; }
.label { font-size: 12px; color: var(--text-2); font-weight: 600; margin-bottom: 6px; display: block; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
.badge {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px;
  padding: 2px 8px; border-radius: 999px; font-weight: 600;
  background: var(--surface-3); color: var(--text-2);
}
.badge.primary { background: var(--primary-weak); color: var(--primary); }
.badge.success { background: var(--success-weak); color: var(--success); }
.badge.danger { background: var(--danger-weak); color: var(--danger); }
.badge.warning { background: var(--warning-weak); color: var(--warning); }
.badge.info { background: var(--info-weak); color: var(--info); }

.tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: 11px;
  padding: 2px 8px; border-radius: 6px; background: var(--surface-3); color: var(--text-2);
  border: 1px solid var(--border);
}
.tag .x { cursor: pointer; opacity: .6; }
.tag .x:hover { opacity: 1; }

.divider { height: 1px; background: var(--border); margin: 12px 0; }
.muted { color: var(--text-muted); }
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; }
.spread { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }

/* ---------- 登录页（科技感动态背景，与 hero-v2 同款） ---------- */
.login-screen {
  position: fixed; inset: 0; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(1100px 540px at 12% 8%, rgba(124,58,237,.45), transparent 60%),
    radial-gradient(900px 520px at 92% 18%, rgba(59,130,246,.40), transparent 62%),
    radial-gradient(820px 700px at 50% 110%, rgba(236,72,153,.32), transparent 62%),
    radial-gradient(520px 380px at 78% 86%, rgba(56,225,255,.22), transparent 65%),
    linear-gradient(160deg, #0b0a1f 0%, #1a1147 38%, #2b1a5e 68%, #14304f 100%);
  overflow: hidden;
}
/* 浮动光球 3 颗（呼应 hero-v2-orb） */
.login-screen::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(280px 280px at 8% 14%, rgba(109,94,240,.55), transparent 65%),
    radial-gradient(220px 220px at 86% 28%, rgba(217,70,239,.40), transparent 65%),
    radial-gradient(180px 180px at 28% 86%, rgba(6,182,212,.42), transparent 65%);
  filter: blur(2px);
  animation: loginOrbFloat 14s ease-in-out infinite alternate;
}
@keyframes loginOrbFloat {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(20px,-16px) scale(1.06); }
}
/* 轨道网格叠加 */
.login-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .08;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.login-screen .scan-line {
  position: absolute; left: 0; right: 0; height: 110px; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(103, 232, 249, .12), transparent);
  animation: loginScan 7s linear infinite;
}
@keyframes loginScan { 0% { top: -130px; } 100% { top: 110%; } }
/* 粒子点缀（科技感小亮点） */
.login-screen .particles {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.login-screen .particles i {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,.7);
  animation: loginTwinkle 4.5s ease-in-out infinite;
}
@keyframes loginTwinkle { 0%,100% { opacity: .15; transform: scale(.8); } 50% { opacity: .95; transform: scale(1.3); } }
/* 右下角装饰圆环组 */
.login-screen .rings-deco {
  position: absolute; right: -80px; bottom: -120px; width: 360px; height: 360px;
  pointer-events: none; opacity: .55;
}
.login-screen .rings-deco i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, .55);
  animation: ringSpin 30s linear infinite;
}
.login-screen .rings-deco i:nth-child(2) { inset: 44px; border-color: rgba(6, 182, 212, .45); animation-duration: 22s; animation-direction: reverse; }
.login-screen .rings-deco i:nth-child(3) { inset: 92px; border-style: solid; border-color: rgba(232, 121, 249, .35); animation-duration: 16s; }
/* 左上角装饰圆环组（对称） */
.login-screen .rings-deco-tl {
  position: absolute; left: -60px; top: -90px; width: 260px; height: 260px;
  pointer-events: none; opacity: .42;
}
.login-screen .rings-deco-tl i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(56, 225, 255, .35);
  animation: ringSpin 24s linear infinite reverse;
}
.login-screen .rings-deco-tl i:nth-child(2) { inset: 36px; border-style: dashed; border-color: rgba(139, 92, 246, .35); animation-duration: 18s; animation-direction: normal; }
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* 登录卡：玻璃拟态（半透明 + 模糊） */
.login-card {
  width: 420px; max-width: 92vw;
  background: rgba(20, 16, 48, .55);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .08);
  padding: 36px 34px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  color: #fff;
  position: relative; z-index: 5;
}
/* LOGO 区：透明背景，与卡片同呼吸 */
.login-logo { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.login-logo-svg { width: 56px; height: 56px; flex-shrink: 0; filter: drop-shadow(0 4px 16px rgba(34, 211, 238, .35)); }
.login-logo-text { display: flex; flex-direction: column; gap: 2px; }
.login-logo-name {
  font-size: 26px; font-weight: 900; letter-spacing: 4px; line-height: 1.1;
  background: linear-gradient(90deg, #22d3ee, #a78bfa, #f0abfc);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: logoGradFlow 5s linear infinite;
}
@keyframes logoGradFlow { to { background-position: 200% 0; } }
.login-logo-tag { font-size: 14px; font-weight: 700; letter-spacing: 1px; opacity: .92; }
.login-logo-sub { font-size: 11.5px; color: rgba(255,255,255,.65); letter-spacing: .5px; margin-top: 2px; }
/* LOGO 旧样式（被 SVG 取代后保留以防其他处使用） */
.login-logo .mark {
  width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #8b5cf6);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; box-shadow: var(--shadow);
}
.login-logo h1 { font-size: 19px; }
.login-logo p { font-size: 12px; color: var(--text-muted); }
.login-roles { display: flex; gap: 10px; margin-top: 18px; }
.login-role {
  flex: 1; border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 12px;
  text-align: center; cursor: pointer; background: var(--surface); transition: all .15s;
}
.login-role:hover { border-color: var(--primary); background: var(--primary-weak); }
.login-role .t { font-weight: 700; font-size: 13px; }
.login-role .d { font-size: 11px; color: var(--text-muted); margin-top: 3px; }

/* 登录表单面板：设计师 / 超级管理员 隔离双表单 */
/* 登录卡片：设计师登录为主面板，居中放大 */
.login-card { width: 560px; }
.login-main-title {
  font-weight: 800; font-size: 18px; margin-bottom: 16px;
  color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.login-main-title::before {
  content: ""; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #22d3ee, #a78bfa);
  box-shadow: 0 0 8px rgba(139, 92, 246, .55);
}
.login-main .lbl {
  display: block; font-size: 13px; color: rgba(255,255,255,.78);
  margin-bottom: 6px; font-weight: 600;
}
.login-main .input.lg {
  height: 46px; font-size: 15px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
}
.login-main .input.lg::placeholder { color: rgba(255,255,255,.45); }
.login-main .input.lg:focus {
  border-color: rgba(139, 92, 246, .65);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, .22);
  outline: none;
}
.login-main .btn.lg {
  padding: 13px 0; font-size: 16px; font-weight: 700; justify-content: center; text-align: center;
  background: linear-gradient(135deg, #6d5ef0, #8b5cf6, #d946ef);
  background-size: 180% 180%;
  border: none; color: #fff;
  box-shadow: 0 8px 24px rgba(109,94,240,.45);
  animation: loginBtnFlow 4s ease-in-out infinite;
  transition: transform .15s, box-shadow .15s;
}
.login-main .btn.lg:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(109,94,240,.6);
}
@keyframes loginBtnFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.login-main .btn.ghost.sm {
  background: transparent; border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.85);
}
.login-main .btn.ghost.sm:hover {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.45); color: #fff;
}
.login-main .muted { color: rgba(255,255,255,.55); }

/* 管理员登录弹窗面板样式 */
.login-panel {
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 16px 16px 14px;
  background: var(--surface); margin-bottom: 14px;
}
.login-panel.admin { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary-weak); }
.login-panel-title { font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.login-panel .lbl { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; font-weight: 600; }
.login-panel .input { width: 100%; box-sizing: border-box; }
.btn.block { width: 100%; }

/* 管理员入口（右下角小提示，点击弹窗登录） */
.login-admin-entry {
  position: fixed; right: 26px; bottom: 22px;
  border: 1px solid rgba(255,255,255,.28); border-radius: 999px;
  background: rgba(255,255,255,.10); color: rgba(255,255,255,.85);
  font-size: 12px; padding: 7px 16px; cursor: pointer;
  backdrop-filter: blur(6px); transition: all .15s; letter-spacing: .5px;
  z-index: 5;
}
.login-admin-entry:hover { background: rgba(255,255,255,.22); color: #fff; border-color: rgba(255,255,255,.55); }


/* ---------- 应用框架 ---------- */
.app-shell { display: flex; height: 100vh; overflow: hidden; }
.workspace { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* 侧边栏 */
.sidebar {
  width: var(--sidebar-w); flex-shrink: 0; background: var(--surface);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  padding: 16px 12px; gap: 4px; transition: background .25s;
}
.sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 16px; }
.sidebar .brand .mark {
  width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), #8b5cf6);
  display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow-sm);
}
.sidebar .brand b { font-size: 14px; }
.sidebar .brand span { font-size: 11px; color: var(--text-muted); display: block; }
.nav-group-label {
  font-size: 10px; color: rgba(139, 92, 246, .75); padding: 14px 12px 5px;
  font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  font-family: "Orbitron", "Rajdhani", "Exo 2", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.nav-item {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 10px;
  color: var(--text-2); font-weight: 500; cursor: pointer; transition: all .13s; position: relative;
}
.nav-item:hover { background: var(--hover); color: var(--text); }
.nav-item.active { background: var(--primary-weak); color: var(--primary); font-weight: 700; }
.nav-item .ico { width: 20px; height: 20px; display: grid; place-items: center; color: inherit; }
.nav-item .lock { margin-left: auto; font-size: 11px; color: var(--warning); }
.sidebar .spacer { flex: 1; }
.sidebar .me {
  display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--surface-2);
}
.sidebar .me .avatar {
  width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg,#6366f1,#8b5cf6);
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.sidebar .me .nm { font-size: 13px; font-weight: 600; }
.sidebar .me .rl { font-size: 11px; color: var(--text-muted); }

/* 顶栏 */
.topbar {
  height: var(--topbar-h); flex-shrink: 0; background: var(--surface);
  border-bottom: 1px solid var(--border); display: flex; align-items: center;
  gap: 14px; padding: 0 20px; position: sticky; top: 0; z-index: 20;
}
.topbar .crumbs { font-size: 14px; font-weight: 700; }
.topbar .search {
  flex: 1; max-width: 420px; position: relative;
}
.topbar .search input {
  background: var(--surface-2); border: 1px solid transparent; border-radius: 10px;
  padding: 8px 12px 8px 34px; width: 100%; color: var(--text); font-size: 13px;
}
.topbar .search input:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.topbar .search .si { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.topbar .icon-btn {
  position: relative; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  display: grid; place-items: center; color: var(--text-2);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.topbar .icon-btn svg { display: block; }
.topbar .icon-btn:hover { background: var(--hover); color: var(--text); }
.topbar .dot {
  position: absolute; top: 7px; right: 8px; min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--danger); color: #fff; border-radius: 999px; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--surface);
}

/* 主区 */
.app-main {
  flex: 1; overflow-y: auto; padding: 22px 24px 60px;
  background:
    radial-gradient(1100px 460px at 88% -12%, rgba(139,92,246,.08), transparent 62%),
    radial-gradient(900px 400px at -8% 12%, rgba(56,189,248,.07), transparent 60%),
    radial-gradient(700px 380px at 96% 96%, rgba(236,72,153,.05), transparent 60%);
}
[data-theme="dark"] .app-main {
  background:
    radial-gradient(1100px 460px at 88% -12%, rgba(139,92,246,.14), transparent 62%),
    radial-gradient(900px 400px at -8% 12%, rgba(56,189,248,.10), transparent 60%),
    radial-gradient(700px 380px at 96% 96%, rgba(236,72,153,.08), transparent 60%);
}
.page-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 14px; flex-wrap: wrap; }
.page-head h2 { font-size: 20px; font-weight: 800; }
.page-head .sub { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.section-title { font-size: 14px; font-weight: 700; margin: 22px 0 12px; letter-spacing: .02em; }

/* ---------- 首页 V2（Bento + 玻璃拟态 + AI 科技感） ---------- */
.hero-v2 {
  position: relative; overflow: hidden; border-radius: 24px; padding: 36px 36px 20px;
  background: linear-gradient(125deg, #0f0c29 0%, #1a1147 35%, #2d1b69 65%, #1e3a5f 100%);
  color: #fff; box-shadow: 0 20px 50px rgba(15,12,41,.4); min-height: 220px;
}
.hero-v2-orb { position: absolute; border-radius: 50%; filter: blur(40px); pointer-events: none; opacity: .7; }
.hero-v2-orb.o1 { width: 300px; height: 300px; top: -100px; right: -60px; background: radial-gradient(circle, rgba(109,94,240,.8), transparent 65%); animation: heroOrb1 8s ease-in-out infinite alternate; }
.hero-v2-orb.o2 { width: 220px; height: 220px; bottom: -80px; right: 35%; background: radial-gradient(circle, rgba(217,70,239,.6), transparent 65%); animation: heroOrb2 10s ease-in-out infinite alternate; }
.hero-v2-orb.o3 { width: 180px; height: 180px; top: 40%; left: -60px; background: radial-gradient(circle, rgba(6,182,212,.5), transparent 65%); animation: heroOrb3 12s ease-in-out infinite alternate; }
@keyframes heroOrb1 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(-30px,20px) scale(1.1); } }
@keyframes heroOrb2 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(20px,-15px) scale(.9); } }
@keyframes heroOrb3 { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(25px,10px) scale(1.15); } }
.hero-v2-grid-overlay {
  position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-v2-content { position: relative; z-index: 5; }
.hero-v2-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  font-size: 12px; padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(10px); letter-spacing: .3px;
}
.hero-v2-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 8px #4ade80; animation: heroPulse 2s ease-in-out infinite; }
@keyframes heroPulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero-v2-title { font-size: 30px; font-weight: 900; margin-top: 14px; letter-spacing: .5px; }
.hero-v2-grad {
  display: inline-block;
  background: linear-gradient(90deg, #a78bfa, #f0abfc, #67e8f9); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: gradShift 6s ease-in-out infinite alternate;
}
@keyframes gradShift { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(30deg); } }
.hero-v2-sub { font-size: 14px; opacity: .82; margin-top: 8px; max-width: 520px; line-height: 1.6; }
.hero-v2-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-v2-btn { padding: 11px 20px; font-size: 13.5px; font-weight: 700; border-radius: 14px; display: inline-flex; align-items: center; gap: 6px; }
.hero-v2-btn.primary { background: linear-gradient(135deg, #6d5ef0, #8b5cf6); border: none; color: #fff; box-shadow: 0 6px 20px rgba(109,94,240,.5); }
.hero-v2-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(109,94,240,.65); }
.hero-v2-btn.glass { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(8px); }
.hero-v2-btn.glass:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }
.hero-v2-btn-ico { font-size: 16px; }
.hero-v2-pulse { position: relative; z-index: 5; display: flex; gap: 24px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.hp-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,.7); }
.hp-dot { width: 8px; height: 8px; border-radius: 50%; }
.hp-dot.live { background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: heroPulse 2s infinite; }
.hp-num { font-size: 16px; font-weight: 800; color: #fff; }
.hp-lbl { opacity: .7; }

/* Bento 网格 */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 14px; margin-top: 20px; }
.bento-card { position: relative; border-radius: 20px; overflow: hidden; cursor: pointer; transition: all .25s cubic-bezier(.4,0,.2,1); border: 1px solid rgba(255,255,255,.08); background: var(--bc); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.bento-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.bento-glow { position: absolute; top: -50%; right: -30%; width: 200px; height: 200px; border-radius: 50%; background: rgba(255,255,255,.15); filter: blur(30px); pointer-events: none; }
.bento-body { position: relative; z-index: 1; padding: 72px 20px 20px 20px; height: 100%; display: flex; flex-direction: column; color: #fff; }
.bento-lg { grid-column: span 2; grid-row: span 2; }
.bento-md { grid-column: span 1; grid-row: span 2; }
.bento-sm { grid-column: span 1; grid-row: span 1; }
.bento-ico { font-size: 32px; margin-bottom: 8px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.3)); }
.bento-lg .bento-ico { font-size: 48px; }
.bento-body h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,.3); }
.bento-body p { font-size: 15.5px; opacity: .85; line-height: 1.6; flex: 1; }
.bento-tags { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.bento-tags .bt { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.bento-go { margin-top: auto; font-size: 15px; font-weight: 700; opacity: .9; }
.bento-sm .bento-go { font-size: 18px; }

/* 数据概览条 */
.stat-strip {
  display: flex; align-items: center; justify-content: space-around; margin-top: 16px; padding: 18px 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-sm);
}
.ss-item { text-align: center; flex: 1; }
.ss-val { font-size: 24px; font-weight: 900; color: var(--primary); }
.ss-lbl { font-size: 11px; color: var(--text-muted); margin-top: 4px; }
.ss-divider { width: 1px; height: 36px; background: var(--border); }

/* 响应式 */
.stat::after { content: ""; position: absolute; right: -24px; top: -24px; width: 80px; height: 80px; border-radius: 50%; background: var(--primary-weak); opacity: .5; }
.stat .v { font-size: 22px; font-weight: 800; position: relative; z-index: 1; }
.stat .k { font-size: 12px; color: var(--text-muted); margin-top: 2px; position: relative; z-index: 1; }

/* ---------- 列表/表格 ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar .grow { flex: 1; min-width: 160px; }
.list { display: flex; flex-direction: column; gap: 10px; }
.list-item {
  display: flex; align-items: center; gap: 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; transition: all .13s;
}
.list-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.list-item .thumb {
  width: 46px; height: 46px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center;
  font-size: 20px; background: var(--surface-2); color: var(--primary);
}
.list-item .meta { min-width: 0; }
.list-item .meta .t { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .meta .s { font-size: 12px; color: var(--text-muted); }

table.tbl { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
table.tbl th, table.tbl td { padding: 11px 14px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--border); }
table.tbl th { background: var(--surface-2); color: var(--text-2); font-weight: 700; font-size: 12px; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tr:hover td { background: var(--hover); }

/* ---------- 网格（素材/模板） ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: all .15s; box-shadow: var(--shadow-sm);
}
.tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tile .cover { height: 120px; display: grid; place-items: center; font-size: 40px; background: var(--surface-2); color: var(--text-muted); position: relative; }
.tile .cover img { width: 100%; height: 100%; object-fit: cover; }
.tile .star { position: absolute; top: 8px; right: 8px; font-size: 16px; filter: grayscale(1); opacity: .7; }
.tile .star.on { filter: none; opacity: 1; color: #f5b50a; }
.tile .body { padding: 10px 12px; }
.tile .body .t { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .body .s { font-size: 11px; color: var(--text-muted); margin-top: 2px; }

/* ---------- 模板卡片遮罩标题（盖住 AI 可能生成的乱码文字） ---------- */
.tile .tpl-cover { position: relative; border-radius: 12px; overflow: hidden; }
.tile .tpl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .tpl-mask {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56px;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
  display: flex; align-items: flex-end; padding: 8px 10px;
  pointer-events: none;
}
.tile .tpl-title {
  color: #fff; font-size: 12.5px; font-weight: 700; line-height: 1.35;
  text-shadow: 0 1px 4px rgba(0,0,0,.5); letter-spacing: .3px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; word-break: break-all;
}
.tile .star { position: absolute; top: 8px; right: 8px; z-index: 2; }

/* ---------- 进度条 ---------- */
.progress { height: 7px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.progress > i { display: block; height: 100%; background: var(--primary); border-radius: 999px; transition: width .3s; }
.progress.success > i { background: var(--success); }
.progress.failed > i { background: var(--danger); }

/* ---------- 模态框/抽屉 ---------- */
.modal-root, .drawer-root { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.modal-mask { position: fixed; inset: 0; background: var(--overlay); pointer-events: auto; animation: fade .2s; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }
.modal {
  position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); width: 520px; max-width: 94vw; max-height: 88vh; overflow: auto; pointer-events: auto;
  animation: pop .18s ease;
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%) } to { opacity: 1; transform: translate(-50%, -50%) } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--border); }
.modal-head h3 { font-size: 16px; font-weight: 800; }
.modal-body { padding: 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--border); }
.field { margin-bottom: 16px; }
.lbl { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 5px; font-weight: 600; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 420px; max-width: 94vw;
  background: var(--surface); border-left: 1px solid var(--border); box-shadow: var(--shadow-lg);
  pointer-events: auto; display: flex; flex-direction: column; animation: slideIn .22s ease;
}
@keyframes slideIn { from { transform: translateX(40px); opacity: .4 } to { transform: none; opacity: 1 } }
.drawer-head { padding: 16px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 18px; }
.drawer-foot { padding: 14px 18px; border-top: 1px solid var(--border); }

/* 通知下拉 */
.notif-pop {
  position: fixed; top: 56px; right: 70px; width: 360px; max-height: 460px; overflow: auto;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); pointer-events: auto; z-index: 110; animation: pop .16s;
}
.notif-item { display: flex; gap: 11px; padding: 12px 14px; border-bottom: 1px solid var(--border); cursor: pointer; }
.notif-item:hover { background: var(--hover); }
.notif-item.unread { background: var(--primary-weak); }
.notif-item .ni { font-size: 18px; }
.notif-item .nt { font-size: 13px; font-weight: 600; }
.notif-item .ns { font-size: 12px; color: var(--text-muted); }
.notif-item .nd { font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* 用户菜单 */
.menu-pop {
  position: fixed; top: 56px; right: 20px; width: 220px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  pointer-events: auto; z-index: 110; padding: 6px; animation: pop .16s;
}
.menu-pop .mi { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border-radius: 8px; cursor: pointer; font-size: 13px; }
.menu-pop .mi:hover { background: var(--hover); }
.menu-pop .mi.danger { color: var(--danger); }

/* Toast */
.toast-root { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 10px; font-size: 13px;
  box-shadow: var(--shadow-lg); animation: toastIn .2s; max-width: 80vw;
}
.toast.success { background: var(--success); color: #fff; }
.toast.danger { background: var(--danger); color: #fff; }
.toast.warning { background: var(--warning); color: #fff; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }

/* ---------- 创作模块编辑器 ---------- */
.editor-split { display: grid; grid-template-columns: 280px 1fr 260px; gap: 14px; height: calc(100vh - var(--topbar-h) - 90px); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.panel .ph { padding: 11px 14px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: space-between; }
.panel .pb { padding: 14px; overflow-y: auto; }

.canvas-stage {
  background:
    linear-gradient(45deg, var(--surface-2) 25%, transparent 25%) -10px 0,
    linear-gradient(-45deg, var(--surface-2) 25%, transparent 25%) -10px 0,
    linear-gradient(45deg, transparent 75%, var(--surface-2) 75%),
    linear-gradient(-45deg, transparent 75%, var(--surface-2) 75%);
  background-size: 20px 20px; background-color: var(--surface-3);
  position: relative; border-radius: var(--radius); overflow-y: auto; display: grid; place-items: center;
}
.draggable { position: absolute; cursor: move; user-select: none; border: 1px dashed transparent; }
.draggable.sel { border-color: var(--primary); }
.layer-item { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 8px; cursor: pointer; font-size: 12.5px; }
.layer-item:hover { background: var(--hover); }
.layer-item.sel { background: var(--primary-weak); color: var(--primary); }
.layer-item .eye { cursor: pointer; opacity: .6; }
.layer-item .eye:hover { opacity: 1; }
.layer-item.off { opacity: .45; }
.layer-item .grow { flex: 1; }
.layer-item .lay-btn { cursor: pointer; opacity: .5; font-size: 11px; padding: 0 3px; user-select: none; }
.layer-item .lay-btn:hover { opacity: 1; color: var(--primary); }
.m3row { cursor: pointer; }
.m3row.sel { outline: 2px solid var(--primary); }
.m3canvas-wrap { background: #0d0f14; }
.m3cv-tip-fail { color: var(--warning); }

/* 修调 / 文案 参数 */
.opt-row { display: flex; align-items: center; gap: 8px; padding: 7px 0; font-size: 13px; }
.seg { display: flex; border: 1px solid var(--border-strong); border-radius: 8px; overflow: hidden; }
.seg button { border: none; background: var(--surface); padding: 6px 12px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.seg button.on { background: var(--primary); color: #fff; }
.opt-row .seg button { border: none; background: var(--surface); padding: 6px 12px; font-size: 12px; color: var(--text-2); }
.opt-row .seg button.on { background: var(--primary); color: #fff; }
.slider { width: 100%; }
.swatch { width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--border-strong); cursor: pointer; }

/* 3D 预览（真实 WebGL 渲染） */
.viewer-3d { width: 100%; height: 480px; background: var(--surface-2); border-radius: var(--radius); position: relative; overflow: hidden; }
#m4canvas-wrap { position: absolute; inset: 0; }
#m4canvas-wrap canvas { display: block; width: 100%; height: 100%; }
.m4-hint { position: absolute; left: 10px; bottom: 10px; font-size: 11px; color: #fff; background: rgba(0,0,0,.4); padding: 3px 9px; border-radius: 6px; pointer-events: none; z-index: 2; }
.view-item, .wall-item { display: flex; justify-content: space-between; align-items: center; padding: 6px 9px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 7px; font-size: 12px; cursor: pointer; }
.view-item .x, .wall-item .x { color: #ef4444; cursor: pointer; font-weight: 700; padding-left: 8px; }
.wall-item .x { font-size: 11px; }

/* 空态 */
.empty { text-align: center; color: var(--text-muted); padding: 60px 20px; }
.empty .ei { font-size: 46px; opacity: .4; }
.empty p { margin-top: 10px; font-size: 13px; }

/* 小工具 */
.kbd { display: inline-block; padding: 1px 7px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface-2); font-size: 11px; font-family: ui-monospace, monospace; }
.pill-toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.switch { width: 40px; height: 22px; border-radius: 999px; background: var(--surface-3); position: relative; transition: .2s; flex-shrink: 0; }
.switch.on { background: var(--primary); }
.switch::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; background: #fff; top: 2px; left: 2px; transition: .2s; box-shadow: var(--shadow-sm); }
.switch.on::after { left: 20px; }

/* m3 图层编辑器 */
.m3lay-stage { position: relative; width: 100%; max-width: 960px; margin: 0 auto; min-height: 400px; background: #f0f0f3; background-image: linear-gradient(45deg, #e8e8ec 25%, transparent 25%), linear-gradient(-45deg, #e8e8ec 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #e8e8ec 75%), linear-gradient(-45deg, transparent 75%, #e8e8ec 75%); background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0; border-radius: 8px; overflow: hidden; }
.m3lay-el { position: absolute; transition: opacity .15s; cursor: move; }
.m3lay-el.sel { outline: 2px solid var(--primary); outline-offset: 2px; }
.m3lay-el img { display: block; border-radius: 4px; }
.m3lay-vis { width: 20px; text-align: center; }
.m3lay-vis.off { opacity: .4; }
.m3lay-op { -webkit-appearance: none; appearance: none; height: 4px; background: var(--border); border-radius: 2px; }
.m3lay-op::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); cursor: pointer; }

/* 响应式 */
@media (max-width: 980px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-lg, .bento-md, .bento-sm { grid-column: span 1; grid-row: span 1; min-height: 160px; }
  .stat-strip { flex-direction: column; gap: 12px; }
  .ss-divider { width: 80%; height: 1px; }
  .editor-split { grid-template-columns: 1fr; height: auto; }
  .sidebar { width: 64px; }
  .sidebar .brand b, .sidebar .brand span, .nav-item span.txt, .nav-group-label, .sidebar .me .info { display: none; }
}
.legacy-warning { position: fixed; bottom: 0; left: 0; right: 0; background: var(--warning); color: #fff; text-align: center; padding: 10px; font-size: 13px; z-index: 300; }

/* ===== 页面切换过渡动画 ===== */
.app-main.anim { animation: pageIn .22s ease; }
@keyframes pageIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ===== 存储不足常驻横幅 ===== */
.storage-banner { padding: 9px 16px; font-size: 13px; display: flex; align-items: center; gap: 6px; }
.storage-banner.warn { background: var(--warning-weak); color: var(--warning); border-bottom: 1px solid var(--warning); }
.storage-banner.full { background: var(--danger-weak); color: var(--danger); border-bottom: 1px solid var(--danger); }
.storage-banner b { cursor: pointer; }

/* ===== 使用指南 ===== */
.help-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.help-card { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.help-card .hi { font-size: 26px; line-height: 1; }
.help-card .hb h3 { margin: 0 0 4px; font-size: 15px; }
.help-card .hb p { margin: 0; font-size: 12.5px; color: var(--text-muted); line-height: 1.6; }
.rule-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.rule { display: flex; gap: 10px; align-items: flex-start; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.rule .rk { font-size: 18px; white-space: nowrap; }
.rule .rv { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 980px) {
  .help-grid, .rule-grid { grid-template-columns: 1fr; }
}

/* ===== AI 创作助手（浮动按钮 + 对话面板） ===== */
.ai-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
  font-size: 24px; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
}
.ai-fab:hover { transform: translateY(-2px) scale(1.04); }
.ai-fab-label { display: none; }
.ai-fab::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(99,102,241,.5); animation: aiPulse 2.2s ease-out infinite;
}
@keyframes aiPulse { 0% { transform: scale(.95); opacity: .8; } 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }

.ai-panel {
  position: fixed; right: 22px; bottom: 88px; z-index: 201;
  width: 372px; max-width: calc(100vw - 32px); height: 540px; max-height: calc(100vh - 120px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: none; flex-direction: column; overflow: hidden;
}
.ai-panel.open { display: flex; animation: aiPop .18s ease; }
@keyframes aiPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

.ai-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.ai-title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.ai-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--success-weak); }
.ai-actions { display: flex; align-items: center; gap: 8px; }
.ai-x { border: none; background: transparent; color: var(--text-muted); font-size: 15px; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.ai-x:hover { background: var(--hover); color: var(--text); }

.ai-msgs { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.ai-bubble { display: flex; gap: 8px; align-items: flex-start; max-width: 92%; }
.ai-bubble .ai-avatar { width: 28px; height: 28px; border-radius: 9px; background: var(--surface-3); display: grid; place-items: center; font-size: 15px; flex: 0 0 auto; }
.ai-bubble .ai-text { background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px; border-top-left-radius: 4px; padding: 9px 12px; font-size: 13px; line-height: 1.65; white-space: pre-wrap; word-break: break-word; }
.ai-bubble.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-bubble.user .ai-avatar { background: var(--primary-weak); }
.ai-bubble.user .ai-text { background: var(--primary); color: #fff; border-color: var(--primary); border-radius: 12px; border-top-right-radius: 4px; }

.ai-typing { display: inline-flex; gap: 3px; align-items: center; }
.ai-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); opacity: .5; animation: aiBlink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .2s; }
.ai-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* 推理模型（GLM-5.2 / DeepSeek-R1）的“思考过程”折叠块 */
.ai-reason { margin: 0 0 6px 0; border: 1px dashed var(--border-strong); border-radius: 10px; background: var(--surface-3); font-size: 12px; color: var(--text-2); overflow: hidden; }
.ai-reason > summary { list-style: none; cursor: pointer; padding: 6px 10px; user-select: none; font-weight: 600; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.ai-reason > summary::-webkit-details-marker { display: none; }
.ai-reason > summary::before { content: "▸"; font-size: 10px; transition: transform .15s; }
.ai-reason[open] > summary::before { content: "▾"; }
.ai-reason-text { padding: 2px 10px 9px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; color: var(--text-muted); border-top: 1px solid var(--border); }

.ai-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px 0; }
.ai-chip { font-size: 11.5px; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); cursor: pointer; transition: all .15s; }
.ai-chip:hover { background: var(--primary-weak); color: var(--primary); border-color: var(--primary); }

.ai-input { display: flex; gap: 8px; align-items: flex-end; padding: 10px 12px; border-top: 1px solid var(--border); background: var(--surface); }
.ai-input textarea {
  flex: 1; resize: none; border: 1px solid var(--border-strong); border-radius: 10px;
  padding: 9px 11px; font-family: inherit; font-size: 13px; line-height: 1.5; max-height: 120px;
  background: var(--surface); color: var(--text);
}
.ai-input textarea:focus { outline: none; border-color: var(--primary); }
.ai-send {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; border: none;
  background: var(--primary); color: #fff; font-size: 15px; cursor: pointer; transition: background .15s;
}
.ai-send:hover { background: var(--primary-hover); }
.ai-send:disabled { opacity: .5; cursor: not-allowed; }

/* ---- AI 图片上传/预览 ---- */
.ai-attach {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); font-size: 16px; cursor: pointer; transition: all .15s;
  display: flex; align-items: center; justify-content: center;
}
.ai-attach:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-weak); }
.ai-img-preview {
  display: flex; gap: 6px; padding: 8px 12px; flex-wrap: wrap; border-top: 1px solid var(--border);
  background: var(--surface-2); max-height: 100px; overflow-y: auto;
}
.ai-img-thumb {
  position: relative; width: 56px; height: 56px; border-radius: 8px; overflow: hidden; flex-shrink: 0;
  border: 1px solid var(--border-strong);
}
.ai-img-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ai-img-del {
  position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; border: none;
  background: rgba(0,0,0,.65); color: #fff; font-size: 10px; cursor: pointer; display: flex;
  align-items: center; justify-content: center; line-height: 1;
}
.ai-img-del:hover { background: #e53e3e; }

/* 用户气泡内图片 */
.ai-bubble-imgs { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.ai-bubble-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }

@media (max-width: 520px) {
  .ai-panel { right: 12px; left: 12px; width: auto; bottom: 80px; }
  .ai-fab { right: 14px; bottom: 14px; }
}

/* ---------- AI 配置卡片 ---------- */
.ai-config-card .input { font-size: 13px; }
.ai-config-card .label { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--text); }
.ai-config-card code { background: var(--surface-3); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.ai-config-card #aicfgServerInfo code { font-size: 11px; }
.ai-config-card #aiToggleKeyBtn { white-space: nowrap; }


/* ===== 模块5：图文视频生成 ===== */
.m5-imgprev { margin-top: 8px; border: 1px dashed var(--border); border-radius: 10px; height: 120px; display: grid; place-items: center; overflow: hidden; background: var(--surface-2); }
.m5-imgprev img { width: 100%; height: 100%; object-fit: cover; }

/* 播放器 */
.m5-player { border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.m5-screen { position: relative; width: 100%; overflow: hidden; background: #0b0b12; }
.m5-frame { position: absolute; inset: 0; }
.m5-bg { position: absolute; inset: -6%; }
.m5-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m5-deco { position: absolute; right: 8%; top: 6%; font-size: 88px; opacity: .18; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, .3)); }
.m5-vignette { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .38) 100%),
  repeating-linear-gradient(115deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 16px); }
.m5-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px 18px; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .66)); animation: m5capIn .7s ease both; }
.m5-cap-badge { display: inline-block; font-size: 10px; letter-spacing: 1px; padding: 2px 8px; border-radius: 20px;
  background: rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .55); margin-bottom: 6px; }
.m5-cap-t { font-size: 22px; font-weight: 800; letter-spacing: 1.5px; text-shadow: 0 2px 12px rgba(0, 0, 0, .55); }
.m5-cap-s { font-size: 12px; opacity: .94; margin-top: 4px; letter-spacing: .5px; }
@keyframes m5capIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 运镜动画（Ken Burns 风格） */
.m5-a-zoomIn { animation-name: m5ZoomIn; animation-timing-function: ease-in-out; animation-fill-mode: forwards; }
.m5-a-zoomOut { animation-name: m5ZoomOut; animation-timing-function: ease-in-out; animation-fill-mode: forwards; }
.m5-a-panLR { animation-name: m5PanLR; animation-timing-function: ease-in-out; animation-fill-mode: forwards; }
.m5-a-panUD { animation-name: m5PanUD; animation-timing-function: ease-in-out; animation-fill-mode: forwards; }
.m5-a-shine { animation-name: m5Shine; animation-timing-function: ease-in-out; animation-fill-mode: forwards; }
@keyframes m5ZoomIn { from { transform: scale(1); } to { transform: scale(1.16); } }
@keyframes m5ZoomOut { from { transform: scale(1.16); } to { transform: scale(1); } }
@keyframes m5PanLR { from { transform: scale(1.1) translateX(-3.5%); } to { transform: scale(1.1) translateX(3.5%); } }
@keyframes m5PanUD { from { transform: scale(1.12) translateY(-3%); } to { transform: scale(1.12) translateY(3%); } }
@keyframes m5Shine { from { filter: brightness(.86) saturate(1); } to { filter: brightness(1.16) saturate(1.18); } }

/* =========================================================
   科技感升级 V3 —— 侧边栏品牌区 / 顶栏 / 首页 Hero / Bento / 数据条
   ========================================================= */

/* ---------- 侧边栏品牌区（logo 旁布局） ---------- */
.sidebar .brand {
  position: relative; display: flex; align-items: center; gap: 11px;
  padding: 8px 12px 18px; margin-bottom: 6px;
}
/* 底部渐变发光分隔线 */
.sidebar .brand::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, .75), rgba(232, 121, 249, .55), transparent);
  border-radius: 2px;
}
/* 品牌图标容器：深紫渐变圆角框 + 白色"晨星"二字 + 外圈呼吸光晕 */
.sidebar .brand-mark {
  position: relative; width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 11px; padding: 2px; display: grid; place-items: center;
  background: linear-gradient(135deg, #1a1147, #2d1b69, #1e3a5f);
  border: 1px solid rgba(139, 92, 246, .4);
  box-shadow: 0 0 14px rgba(99, 102, 241, .3), 0 4px 12px rgba(0, 0, 0, .25);
}
.sidebar .brand-mark::after {
  content: ""; position: absolute; inset: -3px; border-radius: 14px; pointer-events: none;
  border: 1px solid rgba(99, 102, 241, .35); animation: brandRing 3s ease-out infinite;
}
@keyframes brandRing { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(1.14); } }
.sidebar .brand-mark .logo-img {
  width: 36px; height: 36px; border-radius: 8px; object-fit: cover; display: none;
}
.sidebar .brand-mark .brand-logo-text {
  font-size: 15px; font-weight: 900; color: #fff; letter-spacing: 2px; line-height: 1;
}
/* 品牌文字 */
.sidebar .brand-txt { flex: 1; min-width: 0; }
.sidebar .brand-txt b {
  display: block; font-size: 15.5px; font-weight: 900; letter-spacing: .5px;
  background: linear-gradient(90deg, var(--text), #7c6cf0 85%); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; white-space: nowrap;
}
.sidebar .brand-txt b.brand-white {
  background: none; -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: #fff; color: #fff;
}
.sidebar .brand-sub {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 2px;
  font-size: 10.5px; color: var(--text-muted); letter-spacing: .3px; white-space: nowrap;
}
.sidebar .brand-live {
  width: 7px; height: 7px; border-radius: 50%; background: #34d399; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: brandLive 2s ease-out infinite;
}
@keyframes brandLive {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); }
  70% { box-shadow: 0 0 0 7px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
/* 左上角柔和光斑 */
.sidebar .brand::before {
  content: ""; position: absolute; top: -26px; left: -20px; width: 90px; height: 90px; pointer-events: none;
  background: radial-gradient(circle, rgba(99, 102, 241, .22), transparent 70%); border-radius: 50%;
}

/* ---------- 顶栏科技感 ---------- */
.topbar {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  box-shadow: 0 1px 0 rgba(99, 102, 241, .12) inset;
  position: relative;
}
/* 顶栏底部渐变细线 */
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, .4), rgba(232, 121, 249, .3), transparent);
  pointer-events: none;
}
.topbar .crumbs { display: flex; align-items: center; gap: 7px; }
.topbar .crumbs::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0;
  background: linear-gradient(135deg, #6366f1, #d946ef); box-shadow: 0 0 8px rgba(99, 102, 241, .7);
  transform: rotate(45deg);
}
.topbar .search input { transition: border .2s, box-shadow .2s; }
.topbar .search input:focus { border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, .14); }
.topbar .icon-btn { transition: all .18s cubic-bezier(.4, 0, .2, 1); position: relative; overflow: hidden; }
.topbar .icon-btn:hover { transform: translateY(-1px); border-color: #6366f1; color: #6366f1; box-shadow: 0 4px 14px rgba(99, 102, 241, .22); }

/* ---------- 首页 Hero V3 ---------- */
.hero-v2 {
  min-height: 248px; padding: 40px 40px 22px;
  background:
    radial-gradient(900px 380px at 80% -20%, rgba(139, 92, 246, .5), transparent 60%),
    radial-gradient(700px 320px at -10% 110%, rgba(6, 182, 212, .35), transparent 60%),
    linear-gradient(125deg, #0b0a1f 0%, #171144 38%, #2b1a5e 68%, #14304f 100%);
  border: 1px solid rgba(139, 92, 246, .22);
}
/* 背景轨道网格：更精细 + 微动画 */
.hero-v2-grid-overlay { opacity: .10; background-size: 34px 34px; animation: heroGridMove 22s linear infinite; }
@keyframes heroGridMove { from { background-position: 0 0; } to { background-position: 34px 34px; } }
/* 粒子点缀 */
.hero-v2-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-v2-particles::before, .hero-v2-particles::after {
  content: ""; position: absolute; border-radius: 50%; background: #fff;
  box-shadow:
    90px 60px 0 -1px rgba(255,255,255,.5), 210px 150px 0 -1px rgba(255,255,255,.4),
    330px 70px 0 -1px rgba(255,255,255,.35), 470px 160px 0 -1px rgba(255,255,255,.45),
    560px 40px 0 -1px rgba(255,255,255,.3), 130px 210px 0 -1px rgba(255,255,255,.3),
    640px 220px 0 -1px rgba(255,255,255,.35), 40px 150px 0 -1px rgba(255,255,255,.4);
  width: 2px; height: 2px; opacity: .8; animation: heroTwinkle 4.5s ease-in-out infinite;
}
.hero-v2-particles::after { animation-delay: 2.2s; opacity: .5; }
@keyframes heroTwinkle { 0%,100% { opacity: .15; } 50% { opacity: .85; } }
/* 扫描线 */
.hero-v2-scan {
  position: absolute; left: 0; right: 0; height: 90px; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(103, 232, 249, .08), transparent);
  animation: heroScan 7s linear infinite;
}
@keyframes heroScan { 0% { top: -110px; } 100% { top: 110%; } }
/* 右下角装饰圆环组 */
.hero-v2-rings { position: absolute; right: -60px; bottom: -90px; width: 320px; height: 320px; pointer-events: none; z-index: 1; opacity: .5; }
.hero-v2-rings i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, .5); animation: ringSpin 30s linear infinite;
}
.hero-v2-rings i:nth-child(2) { inset: 38px; border-color: rgba(6, 182, 212, .4); animation-duration: 22s; animation-direction: reverse; }
.hero-v2-rings i:nth-child(3) { inset: 82px; border-style: solid; border-color: rgba(232, 121, 249, .3); animation-duration: 16s; }
@keyframes ringSpin { to { transform: rotate(360deg); } }
/* 标题（置顶，确保用户名不被装饰层覆盖） */
.hero-v2-title { font-size: 34px; margin-top: 16px; text-shadow: 0 2px 30px rgba(109, 94, 240, .35); position: relative; z-index: 6; }
.hero-v2-grad {
  display: inline-block;
  background: linear-gradient(90deg, #a78bfa, #f0abfc, #67e8f9, #a78bfa);
  background-size: 220% 100%; animation: heroGradFlow 5s linear infinite;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@keyframes heroGradFlow { to { background-position: 220% 0; } }
/* 徽章：呼吸光环 */
.hero-v2-badge { position: relative; }
.hero-v2-badge::after {
  content: ""; position: absolute; inset: -3px; border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, .55); animation: badgeRing 2.4s ease-out infinite; pointer-events: none;
}
@keyframes badgeRing { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
/* 按钮发光 */
.hero-v2-btn.primary { background: linear-gradient(135deg, #6d5ef0, #8b5cf6, #d946ef); background-size: 180% 180%; animation: heroBtnFlow 4s ease-in-out infinite; }
@keyframes heroBtnFlow { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* 视频生成按钮：橙红流动渐变 */
.hero-v2-btn.video {
  background: linear-gradient(135deg, #f97316, #ef4444, #f97316);
  background-size: 200% 200%;
  animation: heroBtnFlow 4s ease-in-out infinite;
  border: none; color: #fff;
  box-shadow: 0 6px 20px rgba(249, 115, 22, .5);
  transition: transform .2s, box-shadow .2s;
}
.hero-v2-btn.video:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(239, 68, 68, .65); }

/* 素材库按钮：蓝青流动渐变 */
.hero-v2-btn.material {
  background: linear-gradient(135deg, #06b6d4, #10b981, #06b6d4);
  background-size: 200% 200%;
  animation: heroBtnFlow 4s ease-in-out infinite;
  border: none; color: #fff;
  box-shadow: 0 6px 20px rgba(6, 182, 212, .45);
  transition: transform .2s, box-shadow .2s;
}
.hero-v2-btn.material:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16, 185, 129, .6); }

.hero-v2-btn.glass { border-color: rgba(255, 255, 255, .28); }
.hero-v2-btn.glass:hover { box-shadow: 0 6px 22px rgba(6, 182, 212, .28); }
/* 右侧 AI 引擎状态卡（玻璃浮卡） */
.hero-v2-ai {
  position: absolute; right: 34px; bottom: 24px; z-index: 4; width: 218px;
  background: rgba(13, 15, 35, .55); border: 1px solid rgba(139, 92, 246, .35);
  border-radius: 16px; padding: 12px 14px; color: #fff;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 34px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  animation: heroAiFloat 5.5s ease-in-out infinite;
}
@keyframes heroAiFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-v2-ai .ai-card-top { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.hero-v2-ai .ai-card-top b { font-size: 12.5px; letter-spacing: 1px; flex: 1; }
.hero-v2-ai .ai-pulse { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: heroPulse 2s infinite; }
.hero-v2-ai .ai-tag {
  font-size: 9px; letter-spacing: 1.5px; font-weight: 800; color: #4ade80;
  border: 1px solid rgba(74, 222, 128, .5); border-radius: 20px; padding: 2px 8px; background: rgba(74, 222, 128, .08);
}
.hero-v2-ai .ai-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; padding: 5px 0; border-top: 1px dashed rgba(255, 255, 255, .1);
}
.hero-v2-ai .ai-row span { opacity: .65; }
.hero-v2-ai .ai-row b { font-weight: 700; font-size: 11.5px; background: linear-gradient(90deg, #c4b5fd, #67e8f9); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Hero 右侧科技感动态视觉 ---------- */
.hero-v2-visual {
  position: absolute; right: 260px; top: 50%; transform: translateY(-50%);
  width: 220px; height: 220px; pointer-events: none; z-index: 1;
}
.hero-v2-visual .hv-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(139, 92, 246, .35); animation: hvSpin 20s linear infinite;
}
.hero-v2-visual .hv-ring.r2 { inset: 28px; border-color: rgba(6, 182, 212, .3); animation-duration: 14s; animation-direction: reverse; }
.hero-v2-visual .hv-ring.r3 { inset: 58px; border-style: solid; border-color: rgba(232, 121, 249, .25); animation-duration: 10s; }
.hero-v2-visual .hv-ring.r4 { inset: 12px; border-color: rgba(74, 222, 128, .2); animation-duration: 26s; animation-direction: reverse; border-style: dotted; }
.hero-v2-visual .hv-ring.r5 { inset: 72px; border-color: rgba(251, 146, 60, .25); animation-duration: 18s; border-style: dashed; }
@keyframes hvSpin { to { transform: rotate(360deg); } }
.hero-v2-visual .hv-node {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: rgba(139, 92, 246, .85); box-shadow: 0 0 10px rgba(139, 92, 246, .6);
}
.hero-v2-visual .hv-node.n1 { top: 18%; left: 22%; animation: hvFloat1 5s ease-in-out infinite; }
.hero-v2-visual .hv-node.n2 { top: 72%; left: 78%; background: rgba(6, 182, 212, .85); box-shadow: 0 0 10px rgba(6, 182, 212, .6); animation: hvFloat2 6s ease-in-out infinite; }
.hero-v2-visual .hv-node.n3 { top: 78%; left: 18%; background: rgba(232, 121, 249, .85); box-shadow: 0 0 10px rgba(232, 121, 249, .6); animation: hvFloat3 7s ease-in-out infinite; }
.hero-v2-visual .hv-node.n4 { top: 22%; left: 82%; background: rgba(74, 222, 128, .75); box-shadow: 0 0 10px rgba(74, 222, 128, .5); animation: hvFloat1 8s ease-in-out infinite reverse; }
@keyframes hvFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6px,-8px); } }
@keyframes hvFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-7px,6px); } }
@keyframes hvFloat3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(5px,7px); } }
.hero-v2-visual .hv-line {
  position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(139,92,246,.4), transparent);
  transform-origin: left center;
}
.hero-v2-visual .hv-line.l1 { width: 80px; top: 30%; left: 30%; transform: rotate(35deg); animation: hvFade 4s ease-in-out infinite; }
.hero-v2-visual .hv-line.l2 { width: 60px; top: 60%; left: 50%; transform: rotate(-25deg); animation: hvFade 5s ease-in-out infinite 1s; }
.hero-v2-visual .hv-line.l3 { width: 70px; top: 50%; left: 20%; transform: rotate(65deg); animation: hvFade 6s ease-in-out infinite 2s; }
@keyframes hvFade { 0%,100% { opacity: .2; } 50% { opacity: .7; } }
.hero-v2-visual .hv-pulse {
  position: absolute; inset: 80px; border-radius: 50%; border: 1px solid rgba(99, 102, 241, .4);
  animation: hvPulse 3s ease-out infinite;
}
.hero-v2-visual .hv-pulse.p2 {
  inset: 60px; border-color: rgba(6, 182, 212, .35); animation: hvPulse 3s ease-out infinite 1.5s;
}
@keyframes hvPulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.2); opacity: 0; } }

/* 底部状态条让位右侧 AI 浮卡 */
.hero-v2-pulse { max-width: 56%; }

/* ---------- Bento 卡片 V3 ---------- */
.bento { gap: 16px; margin-top: 22px; }
.bento-card { border: 1px solid rgba(255, 255, 255, .1); }
.bento-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: 21px; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--ba2, 0deg), transparent 0 65%, rgba(255, 255, 255, .75) 85%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s; animation: brandSpin 5s linear infinite;
}
@property --ba2 { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.bento-card:hover::before { opacity: 1; }
/* 卡片内网格纹理 */
.bento-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 22px 22px;
}
/* 水印图标：底层半透明，与卡片背景融合 */
.bento-watermark {
  position: absolute; z-index: 0; pointer-events: none;
  opacity: 0.14; right: 10px; bottom: 10px;
  display: grid; place-items: center;
  transition: opacity .4s;
}
.bento-watermark svg { width: 100%; height: 100%; stroke: rgba(255,255,255,0.25); }
.bento-watermark-lg { width: 170px; height: 170px; right: 14px; bottom: 14px; }
.bento-watermark-md { width: 120px; height: 120px; right: 10px; bottom: 10px; }
.bento-watermark-sm { width: 90px; height: 90px; right: 8px; bottom: 8px; }
.bento-card:hover .bento-watermark { opacity: 0.24; }
/* Bento 文字上下浮动动画 */
@keyframes bentoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes bentoFloatSmall {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.bento-body h3 { animation: bentoFloat 3.2s ease-in-out infinite; }
.bento-body p { animation: bentoFloatSmall 3.2s ease-in-out 0.5s infinite; }
.bento-tags { animation: bentoFloatSmall 3.2s ease-in-out 1s infinite; }
.bento-go { animation: bentoFloat 3.2s ease-in-out 1.5s infinite; }
/* 右上角编号角标 */
.bento-num {
  position: absolute; top: 16px; right: 18px; font-size: 26px; font-weight: 900; line-height: 1;
  color: rgba(255, 255, 255, .16); letter-spacing: 1px; font-variant-numeric: tabular-nums;
  transition: color .3s;
}
.bento-card:hover .bento-num { color: rgba(255, 255, 255, .42); }
/* 右下角幽灵大图标 */
.bento-ghost {
  position: absolute; right: -14px; bottom: -18px; font-size: 110px; line-height: 1;
  color: rgba(255, 255, 255, .06); pointer-events: none; transform: rotate(-8deg);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), color .4s; z-index: 0;
}
.bento-card:hover .bento-ghost { transform: rotate(-2deg) translateY(-6px); color: rgba(255, 255, 255, .13); }
.bento-card:hover { box-shadow: 0 18px 46px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, .12); }

/* ---------- Bento 卡片科技感动态背景 ---------- */
.bento-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }

/* 通用动画关键帧 */
@keyframes fxSpin { to { transform: rotate(360deg); } }
@keyframes fxPulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes fxFloatA { 0%,100% { transform: translate(0,0); } 50% { transform: translate(5px,-6px); } }
@keyframes fxFloatB { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-4px,5px); } }
@keyframes fxFloatC { 0%,100% { transform: translate(0,0); } 50% { transform: translate(6px,4px); } }
@keyframes fxScanDown { 0% { top: 5%; opacity: 0; } 10% { opacity: .8; } 90% { opacity: .8; } 100% { top: 95%; opacity: 0; } }
@keyframes fxPlayScan { 0% { left: 12%; } 100% { left: 88%; } }
@keyframes fxCodeDrop { 0% { transform: translateY(-30px); opacity: 0; } 15% { opacity: .5; } 85% { opacity: .5; } 100% { transform: translateY(160px); opacity: 0; } }
@keyframes fxWaveX { 0%,100% { transform: scaleX(1); opacity: .15; } 50% { transform: scaleX(1.8); opacity: .4; } }
@keyframes fxSquareSpin { 0% { transform: translate(-50%,-50%) rotate(0deg); } 100% { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes fxSquareSpinR { 0% { transform: translate(-50%,-50%) rotate(0deg); } 100% { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes fxDotPulse { 0%,100% { opacity: .2; transform: scale(1); } 50% { opacity: .6; transform: scale(1.4); } }

/* m1 紫色 - 量子圆环 + 粒子脉冲 + 扫描线 */
.bento-fx-m1 .fx-ring { position: absolute; border-radius: 50%; animation: fxSpin linear infinite; }
.bento-fx-m1 .fx-ring.r1 { inset: 6%; border: 1px dashed rgba(255,255,255,.11); animation-duration: 20s; }
.bento-fx-m1 .fx-ring.r2 { inset: 26%; border: 1px solid rgba(255,255,255,.06); animation-duration: 14s; animation-direction: reverse; }
.bento-fx-m1 .fx-pulse { position: absolute; border-radius: 50%; animation: fxPulse ease-out infinite; }
.bento-fx-m1 .fx-pulse.p1 { inset: 30%; border: 1px solid rgba(167,139,250,.22); animation-duration: 3s; }
.bento-fx-m1 .fx-pulse.p2 { inset: 30%; border: 1px solid rgba(103,232,249,.18); animation-duration: 3s; animation-delay: 1.5s; }
.bento-fx-m1 .fx-node { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.3); box-shadow: 0 0 8px rgba(255,255,255,.15); }
.bento-fx-m1 .fx-node.n1 { top: 16%; left: 20%; animation: fxFloatA 5s ease-in-out infinite; }
.bento-fx-m1 .fx-node.n2 { top: 74%; left: 80%; animation: fxFloatB 6s ease-in-out infinite; }
.bento-fx-m1 .fx-node.n3 { top: 84%; left: 16%; width: 3px; height: 3px; animation: fxFloatC 7s ease-in-out infinite; }
.bento-fx-m1 .fx-scanline { position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(167,139,250,.25), transparent); animation: fxScanDown 5s ease-in-out infinite; }

/* m3 橙色 - 聚焦扫描框 + 十字瞄准 + 角落括号 */
.bento-fx-m3 .fx-ring { position: absolute; border-radius: 50%; animation: fxSpin linear infinite; }
.bento-fx-m3 .fx-ring.r1 { inset: 10%; border: 1px dashed rgba(255,255,255,.13); animation-duration: 12s; }
.bento-fx-m3 .fx-ring.r2 { inset: 24%; border: 1px solid rgba(255,255,255,.07); animation-duration: 9s; animation-direction: reverse; }
.bento-fx-m3 .fx-cross { position: absolute; background: linear-gradient(var(--dir,180deg), transparent, rgba(255,255,255,.18), transparent); }
.bento-fx-m3 .fx-cross.v { top: 28%; bottom: 28%; left: 50%; width: 1px; --dir: 180deg; }
.bento-fx-m3 .fx-cross.h { left: 28%; right: 28%; top: 50%; height: 1px; --dir: 90deg; }
.bento-fx-m3 .fx-pulse { position: absolute; border-radius: 50%; animation: fxPulse ease-out infinite; }
.bento-fx-m3 .fx-pulse.p1 { inset: 28%; border: 1px solid rgba(251,146,60,.25); animation-duration: 3.2s; }
.bento-fx-m3 .fx-corner { position: absolute; width: 16px; height: 16px; border-color: rgba(255,255,255,.14); border-style: solid; }
.bento-fx-m3 .fx-corner.c1 { top: 20%; left: 20%; border-width: 1px 0 0 1px; }
.bento-fx-m3 .fx-corner.c2 { top: 20%; right: 20%; border-width: 1px 1px 0 0; }
.bento-fx-m3 .fx-corner.c3 { bottom: 20%; left: 20%; border-width: 0 0 1px 1px; }
.bento-fx-m3 .fx-corner.c4 { bottom: 20%; right: 20%; border-width: 0 1px 1px 0; }

/* m5 粉紫 - 时间轴线 + 播放头扫描 + 帧脉冲 */
.bento-fx-m5 .fx-track { position: absolute; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.12) 0 5px, transparent 5px 11px); }
.bento-fx-m5 .fx-track.t1 { top: 26%; }
.bento-fx-m5 .fx-track.t2 { top: 50%; }
.bento-fx-m5 .fx-track.t3 { top: 74%; }
.bento-fx-m5 .fx-playhead { position: absolute; top: 18%; bottom: 18%; width: 1px; background: linear-gradient(180deg, transparent, rgba(232,121,249,.35), transparent); animation: fxPlayScan 4s ease-in-out infinite alternate; }
.bento-fx-m5 .fx-pulse { position: absolute; border-radius: 2px; animation: fxPulse ease-out infinite; }
.bento-fx-m5 .fx-pulse.p1 { inset: 36% 28%; border: 1px solid rgba(232,121,249,.2); animation-duration: 2.8s; }
.bento-fx-m5 .fx-pulse.p2 { inset: 36% 28%; border: 1px solid rgba(167,139,250,.15); animation-duration: 2.8s; animation-delay: 1.4s; }
.bento-fx-m5 .fx-node { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.25); box-shadow: 0 0 6px rgba(255,255,255,.1); }
.bento-fx-m5 .fx-node.n1 { top: 24%; left: 32%; animation: fxFloatA 4.5s ease-in-out infinite; }
.bento-fx-m5 .fx-node.n2 { top: 72%; left: 68%; animation: fxFloatB 5.5s ease-in-out infinite; }

/* m2 绿色 - 代码流竖线 + 双脉冲 + 波纹 */
.bento-fx-m2 .fx-code { position: absolute; width: 1px; background: linear-gradient(180deg, transparent, rgba(255,255,255,.2), transparent); animation: fxCodeDrop linear infinite; }
.bento-fx-m2 .fx-code.c1 { left: 18%; height: 35px; animation-duration: 3.2s; animation-delay: 0s; }
.bento-fx-m2 .fx-code.c2 { left: 34%; height: 55px; animation-duration: 4.2s; animation-delay: .6s; }
.bento-fx-m2 .fx-code.c3 { left: 52%; height: 28px; animation-duration: 2.6s; animation-delay: 1.4s; }
.bento-fx-m2 .fx-code.c4 { left: 70%; height: 45px; animation-duration: 3.8s; animation-delay: .2s; }
.bento-fx-m2 .fx-code.c5 { left: 86%; height: 32px; animation-duration: 2.9s; animation-delay: 1.8s; }
.bento-fx-m2 .fx-pulse { position: absolute; border-radius: 50%; animation: fxPulse ease-out infinite; }
.bento-fx-m2 .fx-pulse.p1 { inset: 28%; border: 1px solid rgba(74,222,128,.22); animation-duration: 3.2s; }
.bento-fx-m2 .fx-pulse.p2 { inset: 28%; border: 1px solid rgba(45,212,191,.16); animation-duration: 3.2s; animation-delay: 1.6s; }
.bento-fx-m2 .fx-wave { position: absolute; left: 8%; right: 8%; top: 58%; height: 1px; background: linear-gradient(90deg, transparent, rgba(74,222,128,.25), transparent); animation: fxWaveX 3.5s ease-in-out infinite; }

/* m4 蓝色 - 线框立方体 + 双环 + 点阵脉冲 */
.bento-fx-m4 .fx-ring { position: absolute; border-radius: 50%; animation: fxSpin linear infinite; }
.bento-fx-m4 .fx-ring.r1 { inset: 8%; border: 1px dashed rgba(103,232,249,.12); animation-duration: 16s; }
.bento-fx-m4 .fx-ring.r2 { inset: 22%; border: 1px solid rgba(103,232,249,.07); animation-duration: 11s; animation-direction: reverse; }
.bento-fx-m4 .fx-square { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; border: 1px solid rgba(103,232,249,.15); animation: fxSquareSpin 10s linear infinite; }
.bento-fx-m4 .fx-square::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(103,232,249,.1); animation: fxSquareSpinR 7s linear infinite; }
.bento-fx-m4 .fx-square::after { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(103,232,249,.07); animation: fxSquareSpin 5s linear infinite; }
.bento-fx-m4 .fx-pulse { position: absolute; border-radius: 50%; animation: fxPulse ease-out infinite; }
.bento-fx-m4 .fx-pulse.p1 { inset: 26%; border: 1px solid rgba(103,232,249,.2); animation-duration: 2.8s; }
.bento-fx-m4 .fx-dots { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; grid-template-columns: repeat(3, 5px); gap: 10px; }
.bento-fx-m4 .fx-dots i { display: block; width: 4px; height: 4px; border-radius: 50%; background: rgba(103,232,249,.25); animation: fxDotPulse 2s ease-in-out infinite; }
.bento-fx-m4 .fx-dots i:nth-child(2) { animation-delay: .3s; }
.bento-fx-m4 .fx-dots i:nth-child(3) { animation-delay: .6s; }
.bento-fx-m4 .fx-dots i:nth-child(4) { animation-delay: .9s; }
.bento-fx-m4 .fx-dots i:nth-child(5) { animation-delay: 1.2s; }
.bento-fx-m4 .fx-dots i:nth-child(6) { animation-delay: 1.5s; }
.bento-fx-m4 .fx-dots i:nth-child(7) { animation-delay: .4s; }
.bento-fx-m4 .fx-dots i:nth-child(8) { animation-delay: .7s; }
.bento-fx-m4 .fx-dots i:nth-child(9) { animation-delay: 1.0s; }

/* ---------- 数据概览条 V3（深色玻璃科技条） ---------- */
.stat-strip {
  margin-top: 16px; padding: 20px 26px; border-radius: 18px;
  background:
    radial-gradient(600px 200px at 12% -60%, rgba(99, 102, 241, .28), transparent 60%),
    radial-gradient(600px 200px at 88% -60%, rgba(6, 182, 212, .22), transparent 60%),
    linear-gradient(120deg, rgba(19, 17, 45, .96), rgba(24, 22, 62, .96));
  border: 1px solid rgba(139, 92, 246, .25); box-shadow: 0 14px 36px rgba(15, 12, 41, .35);
  position: relative; overflow: hidden;
}
.stat-strip::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .8), transparent);
}
.stat-strip .ss-item { position: relative; z-index: 1; }
.stat-strip .ss-val {
  font-size: 26px; color: transparent;
  background: linear-gradient(180deg, #fff, #c4b5fd); -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 0 24px rgba(139, 92, 246, .4);
}
.stat-strip .ss-lbl { color: rgba(255, 255, 255, .68); margin-top: 5px; font-size: 11.5px; }
.stat-strip .ss-divider { background: linear-gradient(180deg, transparent, rgba(139, 92, 246, .55), transparent); }
/* 存储用量迷你进度条 */
.ss-bar {
  display: block; height: 3px; margin: 8px auto 0; width: 74%; border-radius: 3px;
  background: rgba(255, 255, 255, .14); overflow: hidden; position: relative;
}
.ss-bar i {
  display: block; height: 100%; width: var(--w, 0%);
  background: linear-gradient(90deg, #818cf8, #e879f9, #67e8f9); border-radius: 3px;
  box-shadow: 0 0 8px rgba(139, 92, 246, .8); transition: width .8s cubic-bezier(.4, 0, .2, 1);
}

/* 响应式：小屏隐藏 AI 浮卡、收窄 hero */
@media (max-width: 1080px) {
  .hero-v2-ai { display: none; }
  .hero-v2-pulse { max-width: none; }
  .hero-v2 { padding: 32px 28px 20px; }
  .hero-v2-title { font-size: 28px; }
}
@media (max-width: 640px) {
  .hero-v2-title { font-size: 24px; }
  .hero-v2-actions .hero-v2-btn { padding: 9px 14px; }
}

/* 播放器控制条 */
.m5-ctrl { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(12, 12, 20, .92); color: #fff; }
.m5-btn { width: 30px; height: 30px; border-radius: 8px; border: none; background: rgba(255, 255, 255, .12);
  color: #fff; cursor: pointer; font-size: 13px; transition: background .15s; flex: 0 0 auto; }
.m5-btn:hover { background: rgba(255, 255, 255, .24); }
.m5-time { font-size: 11px; opacity: .85; font-variant-numeric: tabular-nums; white-space: nowrap; }
.m5-prog { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.m5-prog i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #818cf8, #e879f9); transition: width .1s linear; }
.m5-dots { display: flex; gap: 4px; flex: 0 0 auto; }
.m5-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .3); transition: background .2s, transform .2s; }
.m5-dots span.on { background: #e879f9; transform: scale(1.25); }
.m5-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .45); cursor: pointer; z-index: 5; }
.m5-ov-inner { text-align: center; color: #fff; }
.m5-ov-inner b { display: block; font-size: 40px; text-shadow: 0 4px 20px rgba(0, 0, 0, .6); }
.m5-ov-inner span { font-size: 12px; opacity: .85; letter-spacing: 2px; }

/* ---- M5：AI 真实视频播放器 ---- */
.m5-vwrap { position: relative; width: 100%; overflow: hidden; background: #000; }
.m5-video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.m5-vbadge { position: absolute; top: 10px; left: 10px; z-index: 6; padding: 3px 10px; border-radius: 999px;
  font-size: 11px; color: #fff; background: rgba(124, 58, 237, .82); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(124, 58, 237, .45); pointer-events: none; }

/* ---- M5：AI 视频生成等待界面 ---- */
.m5-waiting { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 320px; padding: 40px 20px; text-align: center;
  background: radial-gradient(420px 240px at 50% 32%, rgba(124, 58, 237, .16), transparent 70%), #0b0b14; }
.m5-wait-ring { width: 54px; height: 54px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .14);
  border-top-color: #a78bfa; border-right-color: #e879f9; animation: m5spin 1s linear infinite; }
@keyframes m5spin { to { transform: rotate(360deg); } }
.m5-wait-t { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 1px; }
.m5-wait-s { color: rgba(255, 255, 255, .72); font-size: 12px; }
.m5-wait-bar { width: min(360px, 78%); height: 5px; border-radius: 3px; overflow: hidden;
  background: rgba(255, 255, 255, .12); }
.m5-wait-bar i { display: block; height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, #818cf8, #e879f9); transition: width 1s linear; }
.m5-wait-time { color: rgba(255, 255, 255, .6); font-size: 12px; font-variant-numeric: tabular-nums; }
.m5-wait-tip { color: rgba(255, 255, 255, .38); font-size: 11px; }

/* =========================================================
   M1-M5 创作模块页 · 科技感深色主题（贴合主页 hero-v2）
   作用域：#app-main.tech-page（仅 m1-m5 路由）
   ========================================================= */
#app-main.tech-page {
  position: relative;
  background:
    radial-gradient(760px 420px at 88% -8%, rgba(124, 58, 237, .22), transparent 62%),
    radial-gradient(680px 400px at -6% 14%, rgba(56, 189, 248, .14), transparent 60%),
    radial-gradient(720px 460px at 96% 100%, rgba(236, 72, 153, .12), transparent 62%),
    linear-gradient(160deg, #0b0a1f 0%, #151035 42%, #231654 74%, #14283f 100%) !important;
}
#app-main.tech-page::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .055; z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
/* 装饰层与页面内容的层级 */
#app-main.tech-page .tech-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; border-radius: inherit; }
#app-main.tech-page > *:not(.tech-deco) { position: relative; z-index: 1; }

/* 装饰：光球（复用 hero-v2 动画） */
.tech-deco .t-orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; }
.tech-deco .t-orb.o1 { width: 300px; height: 300px; top: -110px; right: -70px; background: radial-gradient(circle, rgba(124, 58, 237, .8), transparent 65%); animation: heroOrb1 8s ease-in-out infinite alternate; }
.tech-deco .t-orb.o2 { width: 220px; height: 220px; bottom: -90px; left: 30%; background: radial-gradient(circle, rgba(217, 70, 239, .5), transparent 65%); animation: heroOrb2 10s ease-in-out infinite alternate; }
.tech-deco .t-orb.o3 { width: 170px; height: 170px; top: 46%; right: -70px; background: radial-gradient(circle, rgba(6, 182, 212, .42), transparent 65%); animation: heroOrb3 12s ease-in-out infinite alternate; }
/* 装饰：旋转圆环组 */
.tech-deco .t-ring { position: absolute; border-radius: 50%; }
.tech-deco .t-ring.r1 { width: 150px; height: 150px; top: 20%; left: 34%; border: 1px dashed rgba(167, 139, 250, .35); animation: techSpin 30s linear infinite; }
.tech-deco .t-ring.r1::after { content: ""; position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #a78bfa; top: -4px; left: 50%; box-shadow: 0 0 10px #a78bfa; }
.tech-deco .t-ring.r2 { width: 220px; height: 220px; top: 56%; right: 8%; border: 1px solid rgba(103, 232, 249, .18); animation: techSpin 22s linear infinite reverse; }
.tech-deco .t-ring.r2::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #67e8f9; top: 50%; left: -3px; box-shadow: 0 0 8px #67e8f9; }
@keyframes techSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
/* 装饰：顶部扫描线 */
.tech-deco .t-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .9), rgba(167, 139, 250, .9), transparent);
  filter: drop-shadow(0 0 8px rgba(103, 232, 249, .8)); animation: techScan 7s ease-in-out infinite; }
@keyframes techScan { 0%, 100% { transform: translateY(0); opacity: 0; } 8% { opacity: 1; } 55% { transform: translateY(56vh); opacity: .9; } 92% { opacity: 0; } }

/* 标题横幅（玻璃拟态，同 hero-v2 语言） */
#app-main.tech-page .page-head {
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  padding: 17px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
}
#app-main.tech-page .page-head h2 {
  color: #fff; font-size: 21px; font-weight: 800; letter-spacing: .3px;
  display: flex; align-items: center; gap: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
#app-main.tech-page .page-head h2::before {
  content: ""; width: 4px; height: 22px; border-radius: 4px; flex: 0 0 auto;
  background: linear-gradient(180deg, #22d3ee, #a78bfa, #d946ef);
  box-shadow: 0 0 12px rgba(167, 139, 250, .8);
}
#app-main.tech-page .page-head .sub { color: rgba(255, 255, 255, .62); }

/* 面板：深色玻璃拟态 */
#app-main.tech-page .panel {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .07);
}
#app-main.tech-page .panel .ph {
  padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: rgba(255, 255, 255, .92); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), transparent);
  position: relative;
}
#app-main.tech-page .panel .ph::before {
  content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #22d3ee, #a78bfa, #d946ef);
  box-shadow: 0 0 10px rgba(167, 139, 250, .5);
}
#app-main.tech-page .panel .pb { padding: 14px; overflow-y: auto; color: rgba(255, 255, 255, .85); }

/* 表单控件 */
#app-main.tech-page .input,
#app-main.tech-page .textarea,
#app-main.tech-page .select {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}
#app-main.tech-page .input::placeholder,
#app-main.tech-page .textarea::placeholder { color: rgba(255, 255, 255, .36); }
#app-main.tech-page .input:focus,
#app-main.tech-page .textarea:focus,
#app-main.tech-page .select:focus {
  border-color: #a78bfa; outline: none;
  background: rgba(255, 255, 255, .09);
  box-shadow: 0 0 0 3px rgba(167, 139, 250, .18), 0 0 18px rgba(167, 139, 250, .18);
}
#app-main.tech-page select option { background: #1a1147; color: #fff; }
#app-main.tech-page .label,
#app-main.tech-page .lbl { color: rgba(255, 255, 255, .68); }
#app-main.tech-page .muted { color: rgba(255, 255, 255, .45); }
#app-main.tech-page .opt-row { color: rgba(255, 255, 255, .78); }

/* 按钮 */
#app-main.tech-page .btn {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
#app-main.tech-page .btn:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .32); }
#app-main.tech-page .btn.primary {
  background: linear-gradient(120deg, #6d5ef0, #8b5cf6 45%, #d946ef);
  background-size: 220% 100%;
  border: none; color: #fff;
  animation: techBtnFlow 4s ease-in-out infinite alternate;
  box-shadow: 0 6px 22px rgba(139, 92, 246, .45);
}
#app-main.tech-page .btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, .6);
}
@keyframes techBtnFlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
#app-main.tech-page .btn.ghost { background: transparent; border-color: transparent; box-shadow: none; }
#app-main.tech-page .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
#app-main.tech-page .btn.danger { color: #fda4af; border-color: rgba(248, 113, 113, .5); background: rgba(248, 113, 113, .08); }
#app-main.tech-page .btn.danger:hover { background: rgba(248, 113, 113, .18); }
#app-main.tech-page .btn:disabled { opacity: .42; cursor: not-allowed; }

/* 分段控件 */
#app-main.tech-page .seg {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px; padding: 3px; gap: 2px;
}
#app-main.tech-page .seg button {
  background: transparent; border: none; padding: 6px 12px; font-size: 12px;
  color: rgba(255, 255, 255, .6); cursor: pointer; border-radius: 8px; transition: all .15s;
}
#app-main.tech-page .seg button:hover { color: #fff; background: rgba(255, 255, 255, .08); }
#app-main.tech-page .seg button.on {
  background: linear-gradient(135deg, #6d5ef0, #8b5cf6); color: #fff;
  box-shadow: 0 3px 12px rgba(109, 94, 240, .4);
}

/* 画布/预览舞台 */
#app-main.tech-page .canvas-stage {
  background:
    linear-gradient(45deg, rgba(255, 255, 255, .03) 25%, transparent 25%) -10px 0,
    linear-gradient(-45deg, rgba(255, 255, 255, .03) 25%, transparent 25%) -10px 0,
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .03) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .03) 75%),
    rgba(8, 6, 28, .5);
  background-size: 20px 20px;
  border: 1px dashed rgba(255, 255, 255, .16);
  border-radius: 14px;
}
/* 内嵌小卡片（M3 预览/蒙版工具） */
#app-main.tech-page .card {
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
}
/* 列表项 */
#app-main.tech-page .list-item {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
}
#app-main.tech-page .list-item:hover { border-color: rgba(255, 255, 255, .24); background: rgba(255, 255, 255, .08); }
#app-main.tech-page .list-item .t { color: #fff; }
#app-main.tech-page .list-item .s { color: rgba(255, 255, 255, .55); }
#app-main.tech-page .list-item .thumb { background: rgba(255, 255, 255, .08); color: #c4b5fd; }
#app-main.tech-page .m3row.sel { outline: 2px solid #a78bfa; box-shadow: 0 0 0 4px rgba(167, 139, 250, .18); }
#app-main.tech-page .list-item.sel { border-color: #a78bfa; box-shadow: 0 0 0 2px rgba(167, 139, 250, .25); }
/* M1 图层列表 */
#app-main.tech-page .layer-item { color: rgba(255, 255, 255, .82); }
#app-main.tech-page .layer-item:hover { background: rgba(255, 255, 255, .08); }
#app-main.tech-page .layer-item.sel { background: rgba(167, 139, 250, .22); color: #e9d5ff; }
#app-main.tech-page .layer-item .lay-btn:hover { color: #c4b5fd; }

/* 杂项组件 */
#app-main.tech-page .section-title { color: rgba(255, 255, 255, .8); }
#app-main.tech-page .divider { background: rgba(255, 255, 255, .1); }
#app-main.tech-page .progress { background: rgba(255, 255, 255, .1); }
#app-main.tech-page .progress > i { background: linear-gradient(90deg, #22d3ee, #a78bfa, #d946ef); }
#app-main.tech-page .slider { accent-color: #a78bfa; }
#app-main.tech-page .switch { background: rgba(255, 255, 255, .22); }
#app-main.tech-page .switch.on { background: linear-gradient(135deg, #6d5ef0, #8b5cf6); box-shadow: 0 0 10px rgba(139, 92, 246, .5); }
/* M3 / M4 画布深色底 */
#app-main.tech-page .m3canvas-wrap { background: #0b0e16; border: 1px solid rgba(255, 255, 255, .1); }
#app-main.tech-page .m3lay-stage {
  background: #0d0f16;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, .035) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, .035) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .035) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .035) 75%);
  background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  border: 1px solid rgba(255, 255, 255, .1);
}
#app-main.tech-page .viewer-3d { background: #0b0e16; border: 1px solid rgba(255, 255, 255, .1); }
/* 滚动条 */
#app-main.tech-page ::-webkit-scrollbar { width: 9px; height: 9px; }
#app-main.tech-page ::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .16); border-radius: 5px; }
#app-main.tech-page ::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, .28); }
#app-main.tech-page ::-webkit-scrollbar-track { background: transparent; }

/* =========================================================
   M1-M5 各自独立动态装饰（多元化，不刻板）
   ========================================================= */

/* ---------- M1 图文一键生成：AI 粒子闪烁 ---------- */
.tech-m1 .t-pixel { position: absolute; width: 4px; height: 4px; border-radius: 1px; background: #67e8f9; opacity: 0; box-shadow: 0 0 6px #67e8f9; animation: m1Pixel 2.5s ease-in-out infinite; }
.tech-m1 .t-pixel.p1 { top: 18%; left: 12%; animation-delay: 0s; }
.tech-m1 .t-pixel.p2 { top: 34%; left: 78%; animation-delay: .3s; }
.tech-m1 .t-pixel.p3 { top: 62%; left: 22%; animation-delay: .6s; }
.tech-m1 .t-pixel.p4 { top: 12%; left: 56%; animation-delay: .9s; }
.tech-m1 .t-pixel.p5 { top: 76%; left: 66%; animation-delay: 1.2s; }
.tech-m1 .t-pixel.p6 { top: 44%; left: 44%; animation-delay: 1.5s; }
.tech-m1 .t-pixel.p7 { top: 26%; left: 88%; animation-delay: 1.8s; }
.tech-m1 .t-pixel.p8 { top: 58%; left: 8%; animation-delay: .4s; }
.tech-m1 .t-pixel.p9 { top: 82%; left: 36%; animation-delay: .7s; }
.tech-m1 .t-pixel.p10 { top: 8%; left: 32%; animation-delay: 1.1s; }
.tech-m1 .t-pixel.p11 { top: 48%; left: 92%; animation-delay: 1.4s; }
.tech-m1 .t-pixel.p12 { top: 68%; left: 52%; animation-delay: 1.7s; }
.tech-m1 .t-pixel.p13 { top: 36%; left: 16%; animation-delay: 2.0s; }
.tech-m1 .t-pixel.p14 { top: 14%; left: 68%; animation-delay: 2.2s; }
.tech-m1 .t-pixel.p15 { top: 88%; left: 78%; animation-delay: .2s; }
@keyframes m1Pixel { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .85; transform: scale(1.2); } }

/* ---------- M2 AI文案策划：文字雨 ---------- */
.tech-m2 .t-rain { position: absolute; white-space: nowrap; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; color: rgba(103, 232, 249, .35); letter-spacing: 2px; writing-mode: vertical-rl; text-orientation: mixed; animation: m2Rain 8s linear infinite; }
.tech-m2 .t-rain.c1 { left: 8%; top: -20%; animation-delay: 0s; }
.tech-m2 .t-rain.c2 { left: 22%; top: -30%; animation-delay: 1.2s; color: rgba(167, 139, 250, .3); }
.tech-m2 .t-rain.c3 { left: 38%; top: -15%; animation-delay: 2.5s; color: rgba(236, 72, 153, .28); }
.tech-m2 .t-rain.c4 { left: 54%; top: -25%; animation-delay: .8s; color: rgba(103, 232, 249, .3); }
.tech-m2 .t-rain.c5 { left: 70%; top: -18%; animation-delay: 3.2s; color: rgba(167, 139, 250, .25); }
.tech-m2 .t-rain.c6 { left: 84%; top: -22%; animation-delay: 1.8s; color: rgba(236, 72, 153, .3); }
.tech-m2 .t-rain.c7 { left: 14%; top: -35%; animation-delay: 4.0s; color: rgba(103, 232, 249, .22); }
.tech-m2 .t-rain.c8 { left: 62%; top: -28%; animation-delay: 2.8s; color: rgba(167, 139, 250, .28); }
@keyframes m2Rain { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: .6; } 100% { transform: translateY(120vh); opacity: 0; } }

/* ---------- M3 智能图片修调：光栅扫描 ---------- */
.tech-m3 .t-raster { position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, rgba(103, 232, 249, .95), rgba(167, 139, 250, .95), transparent); filter: drop-shadow(0 0 12px rgba(103, 232, 249, .9)); animation: m3Raster 5s ease-in-out infinite; }
.tech-m3 .t-raster.r2 { animation-delay: 2.5s; opacity: .6; }
.tech-m3 .t-cross { position: absolute; border: 1px solid rgba(103, 232, 249, .2); }
.tech-m3 .t-cross.v { width: 1px; height: 40%; top: 30%; left: 50%; animation: m3CrossFade 4s ease-in-out infinite; }
.tech-m3 .t-cross.h { width: 40%; height: 1px; top: 50%; left: 30%; animation: m3CrossFade 4s ease-in-out infinite reverse; }
@keyframes m3Raster { 0%, 100% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(70vh); opacity: .95; } 90% { opacity: 0; } }
@keyframes m3CrossFade { 0%, 100% { opacity: .1; } 50% { opacity: .45; } }

/* ---------- M4 平面图转3D：几何网格旋转 ---------- */
.tech-m4 .t-geo { position: absolute; width: 200px; height: 200px; border: 1px solid rgba(103, 232, 249, .22); border-radius: 4px; animation: m4GeoSpin 12s linear infinite; }
.tech-m4 .t-geo::before { content: ""; position: absolute; inset: 20px; border: 1px solid rgba(167, 139, 250, .18); border-radius: 4px; }
.tech-m4 .t-geo::after { content: ""; position: absolute; inset: 40px; border: 1px solid rgba(236, 72, 153, .14); border-radius: 4px; }
.tech-m4 .t-geo.g2 { width: 160px; height: 160px; top: 50%; left: 70%; animation-duration: 18s; animation-direction: reverse; border-color: rgba(167, 139, 250, .18); }
.tech-m4 .t-geo.g3 { width: 120px; height: 120px; top: 20%; left: 20%; animation-duration: 10s; border-color: rgba(236, 72, 153, .16); }
@keyframes m4GeoSpin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.tech-m4 .t-ring.r3 { width: 180px; height: 180px; top: 40%; left: 45%; border: 1px dashed rgba(103, 232, 249, .28); animation: techSpin 16s linear infinite reverse; }

/* ---------- M5 图文视频生成：胶片帧流动 ---------- */
.tech-m5 .t-film { position: absolute; height: 2px; background: linear-gradient(90deg, transparent, rgba(236, 72, 153, .9), rgba(167, 139, 250, .9), transparent); filter: drop-shadow(0 0 10px rgba(236, 72, 153, .7)); animation: m5Film 6s ease-in-out infinite; }
.tech-m5 .t-film.f1 { top: 20%; left: -20%; width: 60%; animation-delay: 0s; }
.tech-m5 .t-film.f2 { top: 40%; left: -10%; width: 50%; animation-delay: 1.5s; }
.tech-m5 .t-film.f3 { top: 60%; left: -30%; width: 70%; animation-delay: 3s; }
.tech-m5 .t-film.f4 { top: 80%; left: -15%; width: 55%; animation-delay: 4.5s; }
.tech-m5 .t-sprocket { position: absolute; width: 6px; height: 6px; border-radius: 1px; background: rgba(236, 72, 153, .55); animation: m5Sprocket 6s ease-in-out infinite; }
.tech-m5 .t-sprocket.s1 { top: 19%; left: 10%; animation-delay: 0s; }
.tech-m5 .t-sprocket.s2 { top: 39%; left: 25%; animation-delay: 1.5s; }
.tech-m5 .t-sprocket.s3 { top: 59%; left: 15%; animation-delay: 3s; }
.tech-m5 .t-sprocket.s4 { top: 79%; left: 30%; animation-delay: 4.5s; }
@keyframes m5Film { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 85% { opacity: .7; } 100% { transform: translateX(140vw); opacity: 0; } }
@keyframes m5Sprocket { 0%, 100% { opacity: 0; transform: scale(.5); } 30% { opacity: 1; transform: scale(1); } 70% { opacity: .6; } }

/* =========================================================
   tech-page 下缺失的组件深色样式（创作管理 + 系统板块）
   ========================================================= */
#app-main.tech-page .toolbar { margin-bottom: 14px; }
#app-main.tech-page .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
#app-main.tech-page .tile {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); border-radius: 16px;
  overflow: hidden; cursor: pointer; transition: all .2s; backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
#app-main.tech-page .tile:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.35); box-shadow: 0 14px 36px rgba(0,0,0,.35), 0 0 20px rgba(167,139,250,.12); }
#app-main.tech-page .tile .cover { height: 130px; display: grid; place-items: center; font-size: 32px; background: linear-gradient(135deg, rgba(124,58,237,.25), rgba(236,72,153,.15)); color: rgba(255,255,255,.7); position: relative; overflow: hidden; }
#app-main.tech-page .tile .body { padding: 12px 14px; }
#app-main.tech-page .tile .t { font-weight: 700; font-size: 13.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#app-main.tech-page .tile .s { font-size: 11.5px; color: rgba(255,255,255,.5); margin-top: 4px; }
#app-main.tech-page .tile .star { position: absolute; top: 8px; right: 8px; font-size: 16px; color: rgba(255,255,255,.4); cursor: pointer; transition: color .15s; z-index: 2; }
#app-main.tech-page .tile .star.on { color: #fbbf24; text-shadow: 0 0 8px rgba(251,191,36,.5); }

#app-main.tech-page .tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; overflow: hidden; }
#app-main.tech-page .tbl thead th { text-align: left; padding: 10px 12px; font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); }
#app-main.tech-page .tbl tbody td { padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.82); vertical-align: middle; }
#app-main.tech-page .tbl tbody tr:hover td { background: rgba(255,255,255,.04); }

#app-main.tech-page .help-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); border-radius: 16px;
  padding: 16px; display: flex; gap: 14px; align-items: flex-start; backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: all .2s;
}
#app-main.tech-page .help-card:hover { border-color: rgba(167,139,250,.3); transform: translateY(-2px); }
#app-main.tech-page .help-card .hi { width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, rgba(124,58,237,.35), rgba(236,72,153,.2)); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
#app-main.tech-page .help-card h3 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 4px; }
#app-main.tech-page .help-card p { font-size: 12.5px; color: rgba(255,255,255,.6); line-height: 1.6; }

#app-main.tech-page .rule {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; transition: all .15s;
}
#app-main.tech-page .rule:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); }
#app-main.tech-page .rule .rk { font-weight: 700; font-size: 13px; color: #22d3ee; flex-shrink: 0; min-width: 110px; }
#app-main.tech-page .rule .rv { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.6; }

#app-main.tech-page .empty { color: rgba(255,255,255,.4); }
#app-main.tech-page .empty .ei { font-size: 44px; margin-bottom: 10px; opacity: .5; }

#app-main.tech-page .kbd {
  display: inline-block; padding: 1px 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px;
  background: rgba(255,255,255,.07); font-size: 11px; font-family: ui-monospace, monospace; color: rgba(255,255,255,.7);
}

#app-main.tech-page .tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 11px; background: rgba(124,58,237,.2); color: #c4b5fd; border: 1px solid rgba(124,58,237,.35);
}

#app-main.tech-page .card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); border-radius: 18px; backdrop-filter: blur(12px); box-shadow: 0 10px 28px rgba(0,0,0,.25); }

/* 项目列表 thumb 深色 */
#app-main.tech-page .list-item .thumb { background: rgba(255,255,255,.06); color: rgba(196,181,253,.85); border-radius: 10px; }

/* 网络图库分类按钮 */
#app-main.tech-page .toolbar .wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

