/* ============================================================
   嘉立创客户行业研究平台 — 光感磨砂玻璃设计系统（亮色）
   扁平 · 透明 · 流光 · 倾斜动效 · 滚动入场
   ============================================================ */

/* ── 1. 设计令牌 ── */
:root {
  /* 鼠标坐标（JS 写入） */
  --mx: 50%; --my: 0%;

  /* 文字 */
  --ink: #0f172a;      /* 主文字 — 深墨 */
  --ink-2: #334155;    /* 次文字 */
  --ink-3: #64748b;    /* 弱文字 */
  --ink-4: #94a3b8;    /* 最弱文字 */

  /* 分割线 */
  --line: rgba(15, 23, 42, 0.08);
  --line-hi: rgba(15, 23, 42, 0.16);

  /* 品牌 */
  --brand: #0ea5e9;
  --brand-2: #2563eb;
  --brand-3: #7c3aed;

  /* 玻璃面板（扁平半透明，无 backdrop-filter 避免卡顿） */
  --glass-1: rgba(255, 255, 255, 0.55);   /* 轻量：标签/徽章 */
  --glass-2: rgba(255, 255, 255, 0.70);   /* 中量：卡片/面板 */
  --glass-3: rgba(255, 255, 255, 0.88);   /* 重：弹窗/输入框 */
  --glass-border: rgba(15, 23, 42, 0.08);
  --glass-border-hi: rgba(15, 23, 42, 0.18);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  --glass-shadow-sm: 0 4px 14px -6px rgba(15, 23, 42, 0.10);
  --glass-shadow-md: 0 12px 32px -14px rgba(15, 23, 42, 0.12);
  --glass-shadow-lg: 0 22px 52px -20px rgba(15, 23, 42, 0.14);

  /* ── 液态玻璃（iOS26 风格）控件令牌 ── */
  --lg-blur: blur(20px) saturate(185%);
  --lg-bg: linear-gradient(160deg, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0.38) 100%);
  --lg-bg-hi: linear-gradient(160deg, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.55) 100%);
  --lg-accent: linear-gradient(160deg, rgba(56,189,248,0.92) 0%, rgba(37,99,235,0.92) 100%);
  --lg-accent-press: linear-gradient(160deg, rgba(37,99,235,0.96) 0%, rgba(29,78,216,0.96) 100%);

  /* 未按下：内高光勾勒玻璃边缘 + 柔和外投影 */
  --lg-shadow:
    inset 0 1px 0.5px rgba(255,255,255,0.95),
    inset 0 -1px 0.5px rgba(255,255,255,0.42),
    inset 0 0 0 1px rgba(255,255,255,0.45),
    0 1px 2px rgba(15,23,42,0.05),
    0 6px 16px -8px rgba(15,23,42,0.16);
  --lg-shadow-hi:
    inset 0 1px 0.5px rgba(255,255,255,1),
    inset 0 -1px 0.5px rgba(255,255,255,0.5),
    inset 0 0 0 1px rgba(255,255,255,0.6),
    0 2px 4px rgba(15,23,42,0.05),
    0 14px 30px -12px rgba(15,23,42,0.2);
  --lg-shadow-accent:
    inset 0 1px 0.5px rgba(255,255,255,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.22),
    0 2px 4px rgba(37,99,235,0.16),
    0 10px 24px -10px rgba(37,99,235,0.5);
  --lg-shadow-accent-hi:
    inset 0 1px 0.5px rgba(255,255,255,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.28),
    0 3px 6px rgba(37,99,235,0.18),
    0 18px 36px -12px rgba(37,99,235,0.55);
  /* 按压：玻璃被压陷 —— 深内阴影 + 外投影收缩 */
  --lg-shadow-press:
    inset 0 3px 8px rgba(12,32,74,0.42),
    inset 0 1px 1px rgba(12,32,74,0.3),
    inset 0 -1px 0.5px rgba(255,255,255,0.18),
    0 1px 1px rgba(15,23,42,0.08);

  /* 动效曲线 */
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ── 2. Reset & Base ── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  position: relative;
  min-height: 100vh;
  overflow-x: visible;
}

/* ── 3. 动态流光背景 ── */
/* 底色：冷白径向渐变 */
body {
  background:
    radial-gradient(130% 120% at 50% -10%, #e8f4fc 0%, #f0f6ff 30%, #fafbff 60%, #fefefe 100%);
  background-attachment: fixed;
}

/* 漂移光球层（GPU 合成，仅 transform） */
body::before {
  content: '';
  position: fixed;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 480px at 20% 15%, rgba(56, 189, 248, 0.13), transparent 60%),
    radial-gradient(580px 400px at 78% 25%, rgba(139, 92, 246, 0.09), transparent 55%),
    radial-gradient(640px 420px at 45% 82%, rgba(16, 185, 129, 0.07), transparent 58%);
  animation: bgDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes bgDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  30%  { transform: translate3d(5vw, -4vh, 0) scale(1.03); }
  60%  { transform: translate3d(-4vw, 5vh, 0) scale(0.98); }
  100% { transform: translate3d(3vw, 2vh, 0) scale(1.02); }
}

/* 游走呼吸光点 */
body::after {
  content: '';
  position: fixed;
  top: 8%; left: 12%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 16s ease-in-out infinite;
  will-change: transform, opacity;
  pointer-events: none; z-index: 0;
}
@keyframes pulseGlow {
  0%   { opacity: 0.35; transform: translate3d(0, 0, 0) scale(1); }
  33%  { opacity: 0.75; transform: translate3d(14vw, 8vh, 0) scale(1.3); }
  66%  { opacity: 0.45; transform: translate3d(-8vw, 16vh, 0) scale(0.9); }
  100% { opacity: 0.35; transform: translate3d(0, 0, 0) scale(1); }
}

/* 极淡网格底纹 */
body > .grid-overlay,
.grid-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 0%, #000 15%, transparent 70%);
}

header, main, #toast { position: relative; z-index: 10; }

/* 按钮与交互元素始终悬浮于内容之上 */
.lg-btn, .btn-ghost, .btn-primary, .btn-danger,
.chip, .back-btn, .ktab, .block-edit-data,
.news-refresh, .tile-add-btn, .industry-add-btn,
.back-top, .company-tile, .site-link {
  position: relative;
  z-index: 15;
}

/* ── 4. 鼠标跟随光斑（交互式流光） ── */
.cursor-glow,
.cursor-glow-core {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(.2,.8,.2,1);
}
.cursor-glow {
  top: 0; left: 0;
  width: 600px; height: 600px;
  margin: -300px 0 0 -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.10) 0%, rgba(139, 92, 246, 0.05) 40%, transparent 65%);
  transform: translate3d(var(--mx, -1000px), var(--my, -1000px), 0);
}
.cursor-glow-core {
  top: 0; left: 0;
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, transparent 55%);
  transform: translate3d(var(--mx, -1000px), var(--my, -1000px), 0);
}

/* ── 5. 统一按钮系统 · iOS26 液态玻璃 ──
   无边框 / 圆角矩形 / 多层内高光模拟玻璃厚度 / 柔和外投影
   按下 → 强调色 + 玻璃被压陷（内阴影 + 下沉） */
.btn-ghost, .btn-primary, .btn-danger, .chip, .back-btn,
.block-edit-data, .news-refresh, .ktab, .tile-add-btn, .lg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.52rem 0.95rem;
  border-radius: 0.85rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: none;
  outline: none;
  background: var(--lg-bg);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  color: var(--ink-2);
  box-shadow: var(--lg-shadow);
  transition:
    transform 0.34s var(--spring),
    box-shadow 0.3s var(--smooth),
    background 0.24s var(--smooth),
    color 0.2s var(--smooth);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
/* 顶部弧形高光——液态玻璃的“镜面” */
.btn-ghost::after, .btn-primary::after, .btn-danger::after,
.chip::after, .back-btn::after, .block-edit-data::after,
.tile-add-btn::after, .ktab::after, .news-refresh::after, .lg-btn::after {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.12) 70%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.24s var(--smooth);
}
.btn-ghost > *, .btn-primary > *, .btn-danger > *,
.chip > *, .back-btn > *, .ktab > *, .lg-btn > * { position: relative; z-index: 2; }

.btn-ghost:hover, .chip:hover, .back-btn:hover, .ktab:hover,
.block-edit-data:hover, .news-refresh:hover, .tile-add-btn:hover, .lg-btn:hover {
  background: var(--lg-bg-hi);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--lg-shadow-hi);
}
/* 主按钮：液态玻璃 + 品牌色透光 */
.btn-primary {
  background: var(--lg-accent);
  color: #fff;
  box-shadow: var(--lg-shadow-accent);
}
.btn-primary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.04);
  box-shadow: var(--lg-shadow-accent-hi);
}
.btn-primary::after { background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.06) 70%, transparent 100%); }
/* 危险按钮：同一套玻璃语言，仅文字着色 */
.btn-danger { color: #e11d48; }
.btn-danger:hover {
  background: var(--lg-bg-hi);
  color: #be123c;
  transform: translateY(-2px);
  box-shadow: var(--lg-shadow-hi);
}
/* 选中态 = 强调色玻璃 */
.btn-ghost.active, .chip.active, .ktab.active, .lg-btn.active {
  background: var(--lg-accent);
  color: #fff;
  box-shadow: var(--lg-shadow-accent);
}
.btn-ghost.active::after, .chip.active::after, .ktab.active::after, .lg-btn.active::after {
  background: linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0.05) 70%, transparent 100%);
}

/* 按压：变强调色 + 玻璃压陷下去 */
.btn-ghost:active, .btn-primary:active, .btn-danger:active,
.chip:active, .back-btn:active, .ktab:active,
.block-edit-data:active, .news-refresh:active, .tile-add-btn:active, .lg-btn:active {
  background: var(--lg-accent-press);
  color: #fff;
  transform: translateY(1px) scale(0.965);
  box-shadow: var(--lg-shadow-press);
  transition-duration: 0.07s;
}
.btn-ghost:active::after, .btn-primary:active::after, .btn-danger:active::after,
.chip:active::after, .back-btn:active::after, .ktab:active::after,
.block-edit-data:active::after, .news-refresh:active::after,
.tile-add-btn:active::after, .lg-btn:active::after { opacity: 0.25; }

/* 光泽扫过（所有交互控件共用） */
@keyframes g-sheen {
  0%   { transform: translateX(-120%) skewX(-18deg); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateX(220%) skewX(-18deg); opacity: 0; }
}
.btn-ghost::before, .btn-primary::before, .btn-danger::before,
.chip::before, .back-btn::before, .block-edit-data::before,
.tile-add-btn::before, .ktab::before, .news-refresh::before, .lg-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.5) 45%, transparent 100%);
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
  pointer-events: none; z-index: 1;
}
.btn-ghost:hover::before, .btn-primary:hover::before, .btn-danger:hover::before,
.chip:hover::before, .back-btn:hover::before, .block-edit-data:hover::before,
.tile-add-btn:hover::before, .ktab:hover::before, .news-refresh:hover::before,
.lg-btn:hover::before {
  animation: g-sheen 0.75s var(--smooth);
}

/* ── 5b. 顶栏：液态玻璃条 ── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: linear-gradient(180deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.52) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 -1px 0 rgba(255,255,255,0.6),
    0 1px 0 rgba(15,23,42,0.05),
    0 10px 30px -20px rgba(15,23,42,0.28);
}
.site-header-inner {
  max-width: 80rem; margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 0.7rem; cursor: pointer; flex-shrink: 0; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.82rem; color: #fff;
  background: var(--lg-accent);
  box-shadow: var(--lg-shadow-accent);
  transition: transform 0.34s var(--spring), box-shadow 0.3s var(--smooth);
}
.brand:hover .brand-mark { transform: translateY(-2px) scale(1.04); box-shadow: var(--lg-shadow-accent-hi); }
.brand-text h1 { font-size: 0.95rem; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.brand-text p { font-size: 0.68rem; color: var(--ink-3); margin-top: 1px; }
.header-search { flex: 1; min-width: 170px; position: relative; }
.header-actions { display: flex; align-items: center; gap: 0.45rem; flex-shrink: 0; }
.header-actions .lg-btn { padding: 0.5rem 0.85rem; font-size: 0.8rem; }

/* 编辑模式操作按钮组（在编辑按钮左边显示） */
.edit-action-group {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.4rem;
  padding-right: 0.5rem;
  border-right: 1px solid var(--glass-border);
  animation: fadeInSlide 0.25s var(--smooth);
}
.edit-action-group .action-btn {
  padding: 0.4rem 0.65rem;
  font-size: 0.75rem;
}
.edit-action-group .action-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(1);
}
@keyframes fadeInSlide {
  from { opacity: 0; transform: translateX(8px); }
  to { opacity: 1; transform: translateX(0); }
}
@media (max-width: 860px) {
  .header-search { order: 3; flex-basis: 100%; }
  .brand-text p { display: none; }
  .header-actions .lg-btn span { display: none; }
  .header-actions .lg-btn { padding: 0.55rem 0.7rem; }
  .edit-action-group .action-btn span { display: none; }
  .edit-action-group { gap: 0.2rem; padding-right: 0.3rem; }
}

/* ── 6. 统一输入框系统 ── */
input, textarea, select, .cd-input, .search-box {
  background: var(--lg-bg);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  border: none;
  border-radius: 0.85rem;
  color: var(--ink);
  box-shadow: var(--lg-shadow);
  transition:
    background 0.22s var(--smooth),
    box-shadow 0.28s var(--smooth),
    transform 0.28s var(--spring);
}
input:hover, textarea:hover, .cd-input:hover, .search-box:hover {
  background: var(--lg-bg-hi);
  box-shadow: var(--lg-shadow-hi);
}
input:focus, textarea:focus, select:focus, .cd-input:focus, .search-box:focus-within {
  outline: none;
  background: var(--lg-bg-hi);
  box-shadow:
    inset 0 1px 0.5px rgba(255,255,255,1),
    inset 0 0 0 1.5px rgba(56,189,248,0.65),
    0 0 0 4px rgba(56,189,248,0.14),
    0 10px 24px -12px rgba(15,23,42,0.2);
  transform: translateY(-1px);
}
.search-box input {
  background: transparent;
  border: none;
  box-shadow: none;
}
.search-box input:focus { transform: none; }
input::placeholder, textarea::placeholder { color: var(--ink-4); }

/* ── 7. 玻璃面板通用 ── */
/* 全站统一：扁平 · 光感 · 液态磨砂玻璃 */
.glass, .glass-strong, .chart-box, .stat, .company-card, .empty-state {
  position: relative;
  border: none;
  border-radius: 1rem; /* 四角等距小圆弧 */
  background: linear-gradient(165deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.42) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(178%);
  backdrop-filter: blur(20px) saturate(178%);
  box-shadow: var(--lg-shadow);
  overflow: hidden; isolation: isolate;
  transition:
    transform 0.32s var(--spring),
    box-shadow 0.32s var(--smooth),
    background 0.24s var(--smooth);
}
/* 顶部镜面高光 */
.glass::before, .glass-strong::before, .chart-box::before,
.stat::before, .company-card::before, .empty-state::before {
  content: '';
  position: absolute; inset: 1px 1px auto 1px; height: 34%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.glass > *, .glass-strong > *, .chart-box > *, .stat > *,
.company-card > *, .empty-state > * { position: relative; z-index: 1; }
.glass:hover, .chart-box:hover, .stat:hover, .company-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(165deg, rgba(255,255,255,0.84) 0%, rgba(255,255,255,0.56) 100%);
  box-shadow: var(--lg-shadow-hi);
}

.gradient-text {
  background: linear-gradient(120deg, #0ea5e9 0%, #2563eb 45%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.divider { height: 1px; background: var(--line); margin: 1rem 0; }

/* ── 8. 标签 / 徽章 ── */
.tag, .tag-soft, .stock-badge, .news-src, .search-kbd {
  display: inline-flex; align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem; font-weight: 600;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  color: var(--ink-2);
  box-shadow: var(--glass-inset), var(--glass-shadow-sm);
  transition: all 0.2s ease;
}
.tag-soft { background: #f1f5f9; }
.tag:hover, .tag-soft:hover {
  background: var(--glass-3);
  transform: translateY(-1px);
}

/* ── 9. 返回按钮 ── */
.back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border-radius: 999px;
  font-size: 0.875rem;
}
.back-btn:hover { transform: translateX(-3px); }

/* ── 10. 统计块 ── */
.stat {
  padding: 1rem 1.1rem;
}
.stat:hover {
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: var(--glass-inset), 0 14px 34px -16px rgba(14, 165, 233, 0.15);
}

/* ── 11. 图表容器 ── */
.chart-box {
  padding: 1.35rem;
  /* border-radius 继承 .glass 的 1rem，四角等距圆弧 */
}
.chart-canvas-wrap { position: relative; height: 260px; }
/* ★ 合作坐标系卡片：整体接近正方形，不参与flex拉伸 */
.coop-scatter-card {
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  flex: 0 0 auto !important; /* ★ 尊重自身aspect-ratio，不被flex拉高 */
}
/* ★ 散点图容器：填充卡片剩余空间，内部画布正方形居中 */
.scatter-wrap {
  height: auto !important;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scatter-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ═══════════════════════════════════════
   首页 — 行业矩阵 + 企业卡片
   ═══════════════════════════════════════ */

/* ── 12. 首页标题区 ── */
.home-hero {
  text-align: center;
  padding: 1.5rem 0 1rem;
}
.home-hero h2 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--ink) 0%, var(--brand) 50%, var(--brand-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.home-hero p {
  color: var(--ink-3);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}
.home-stats {
  display: flex; justify-content: center; gap: 1.5rem;
  margin-top: 0.8rem; flex-wrap: wrap;
}
.home-stat-item {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.82rem; color: var(--ink-3); font-weight: 600;
}

/* ── 13. 首页控件栏 ── */
.home-controls { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.chip {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
}
.chip .fav-count {
  background: rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  padding: 0 0.4rem;
  font-size: 0.72rem; font-weight: 800;
}
.chip:not(.active) .fav-count { background: #f1f5f9; color: var(--ink-3); }

/* ── 14. 首页：行业侧栏 + 独立公司卡（无外层大框） ── */
/* ── 首页行容器：完全开放，不裁剪任何子元素阴影 ── */
.home-rows {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  overflow: visible;
  clip-path: none;
  padding: 0.5rem 0.3rem; /* 给阴影留空间 */
}

/* 一个行业分区：左侧行业名 + 右侧公司卡阵列 */
/* 关键：不用 align-items:stretch，让右侧自然高度，避免网格裁剪阴影 */
.home-row {
  display: grid;
  grid-template-columns: 208px 1fr;
  gap: 1.1rem;
  align-items: start;
  background: none;
  border: none;
  box-shadow: none;
  overflow: visible;
  clip-path: none;
}
.home-row:hover { transform: none; box-shadow: none; }

/* 左侧：行业名称 + 磨砂玻璃（高度撑满右侧） */
.home-row-label {
  position: sticky; top: 84px;
  align-self: stretch;
  display: flex; flex-direction: column;
  gap: 0.65rem;
  cursor: pointer;
  padding: 1.15rem 1.05rem 1.25rem;
  border-radius: 1.35rem;
  color: var(--ink);
  background: linear-gradient(165deg, color-mix(in srgb, var(--c, #38bdf8) 14%, transparent) 0%, color-mix(in srgb, var(--c, #38bdf8) 5%, transparent) 100%);
  border: 1px solid transparent; /* 去实线边框，保留布局，边缘由光影勾勒 */
  -webkit-backdrop-filter: blur(26px) saturate(200%);
  backdrop-filter: blur(26px) saturate(200%);
  /* iOS26 液态玻璃：顶部高光 + 同色柔光外晕（无硬边框、无描边线） */
  box-shadow:
    var(--lg-shadow),
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 0 18px -4px color-mix(in srgb, var(--c, #38bdf8) 35%, transparent),
    0 20px 40px -14px color-mix(in srgb, var(--c, #38bdf8) 28%, transparent);
  transition: transform 0.36s var(--spring), box-shadow 0.32s var(--smooth), background 0.28s var(--smooth);
  /* 裁剪光晕，不让它溢出到外部 */
  overflow: hidden;
}
/* 行业色透光晕 —— 更高饱和度 + 透明有色玻璃 */
.home-row-label::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90% 80% at 15% 12%, var(--c, #38bdf8) 0%, rgba(255,255,255,0.08) 45%, transparent 72%);
  opacity: 0.22;
  pointer-events: none; z-index: -1;
  transition: opacity 0.35s var(--smooth), transform 0.6s var(--smooth);
}
.home-row-label::after {
  content: '';
  position: absolute; inset: 1px 1px auto 1px; height: 42%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 100%);
  pointer-events: none;
}
.home-row-label:hover {
  transform: translateY(-3px);
  box-shadow:
    var(--lg-shadow-hi),
    0 0 22px -2px color-mix(in srgb, var(--c, #38bdf8) 42%, transparent),
    0 24px 48px -10px color-mix(in srgb, var(--c, #38bdf8) 32%, transparent);
}
.home-row-label:hover::before { opacity: 0.42; transform: scale(1.06); }
.home-row-label:active {
  transform: translateY(1px) scale(0.985);
  box-shadow: inset 0 3px 9px rgba(12,32,74,0.16), inset 0 0 0 1px rgba(255,255,255,0.4), 0 1px 2px rgba(15,23,42,0.06);
}
.home-row-label .hr-icon {
  font-size: 1.6rem; line-height: 1;
  width: 44px; height: 44px; border-radius: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 12px -6px rgba(15,23,42,0.22);
}
.home-row-label .hr-name {
  font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink);
}
.home-row-label .hr-meta { font-size: 0.72rem; color: var(--ink-3); font-weight: 600; }
.home-row-label .hr-enter {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700; color: var(--brand);
  transition: gap 0.25s var(--smooth);
}
.home-row-label:hover .hr-enter { gap: 0.55rem; }

/* 右侧：公司卡阵列 —— 充足内边距确保阴影不被截断 */
.home-row-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(138px, 1fr));
  gap: 1.4rem 1rem;
  padding: 0.8rem 0.6rem 1.2rem; /* 上右下左：底部多留阴影空间 */
  background: none;
  overflow: visible;
  clip-path: none;
}

/* ── 15. 紧凑视图：行业卡片网格 ── */
.home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .home-grid { grid-template-columns: 1fr; } }

/* 紧凑视图同样去掉大框：标题为独立玻璃条，公司卡各自独立 */
.industry-card {
  display: flex; flex-direction: column;
  gap: 0.7rem;
  background: none; border: none; box-shadow: none;
  position: relative;
  overflow: visible;
  clip-path: none;
}
.industry-card:hover { transform: none; box-shadow: none; }

/* 行业标题条：液态玻璃 */
.industry-card-header {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  color: var(--ink);
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 1rem;
  background: linear-gradient(165deg, color-mix(in srgb, var(--c, #38bdf8) 14%, transparent) 0%, color-mix(in srgb, var(--c, #38bdf8) 5%, transparent) 100%);
  border: 1px solid transparent; /* 去实线边框，边缘由光影勾勒 */
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  backdrop-filter: blur(24px) saturate(200%);
  box-shadow:
    var(--lg-shadow),
    inset 0 1px 0 rgba(255,255,255,0.55),
    0 0 16px -4px color-mix(in srgb, var(--c, #38bdf8) 35%, transparent),
    0 18px 36px -12px color-mix(in srgb, var(--c, #38bdf8) 28%, transparent);
  transition: transform 0.34s var(--spring), box-shadow 0.3s var(--smooth), background 0.24s var(--smooth);
}
.industry-card-header::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(90% 80% at 12% 18%, var(--c, #38bdf8) 0%, rgba(255,255,255,0.08) 45%, transparent 72%);
  opacity: 0.22; pointer-events: none; z-index: -1;
  transition: opacity 0.3s var(--smooth);
}
.industry-card-header:hover {
  transform: translateY(-2px);
  background: linear-gradient(165deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.56) 100%);
  box-shadow:
    var(--lg-shadow-hi),
    0 0 20px -2px color-mix(in srgb, var(--c, #38bdf8) 40%, transparent),
    0 22px 42px -10px color-mix(in srgb, var(--c, #38bdf8) 30%, transparent);
}
.industry-card-header:hover::before { opacity: 0.42; }
.industry-card-header:active {
  transform: translateY(1px) scale(0.985);
  background: var(--lg-accent-press);
  color: #fff;
  box-shadow: var(--lg-shadow-press);
}
.industry-icon {
  font-size: 1.15rem; line-height: 1; flex-shrink: 0;
  width: 32px; height: 32px; border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 3px 8px -5px rgba(15,23,42,0.25);
}
.industry-name { font-weight: 800; font-size: 0.92rem; letter-spacing: -0.01em; }
.industry-count {
  margin-left: auto;
  font-size: 0.7rem; font-weight: 700; color: var(--ink-3);
  background: rgba(255,255,255,0.62);
  padding: 3px 9px; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.industry-card-header:active .industry-count { color: #fff; background: rgba(255,255,255,0.22); }

/* 行业卡片内容区 */
.industry-card-body { padding: 0; position: relative; }
.industry-company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.8rem;
  padding: 0.4rem;
  overflow: visible;
}
@media (min-width: 1280px) {
  .industry-company-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
}

/* 添加行业按钮 */
.industry-add-btn {
  grid-column: 1 / -1;
  padding: 0.85rem;
  border-radius: 1rem;
  border: 2px dashed var(--glass-border-hi);
  background: var(--glass-1);
  color: var(--ink-3);
  font-weight: 600; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: all 0.25s var(--smooth);
}
.industry-add-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(56, 189, 248, 0.08);
  transform: translateY(-2px);
}

/* ── 16. 企业选项卡（完全悬浮浮空，阴影不受任何约束） ── */
/* 每家公司 = 一块独立液态磨砂玻璃选项卡，真正浮在页面上方 */
.company-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 0.85rem 0.55rem 0.9rem;
  border-radius: 1.05rem;
  border: none;
  background: linear-gradient(165deg, rgba(255,255,255,0.66) 0%, rgba(255,255,255,0.38) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(175%);
  backdrop-filter: blur(18px) saturate(175%);
  cursor: pointer;
  /* 完全不用 isolation/contain —— 让阴影自由溢出 */
  box-shadow: var(--lg-shadow);
  transition:
    transform 0.34s var(--spring),
    box-shadow 0.32s var(--smooth),
    background 0.22s var(--smooth);
  min-width: 84px;
  min-height: 92px;
  /* 悬浮层级：高于所有背景和容器 */
  z-index: 20;
  /* 3D 倾斜 */
  perspective: 620px;
  transform-style: preserve-3d;
  /* 确保不被任何父元素裁剪 */
  overflow: visible;
  clip-path: none;
  /* 外边距给阴影留出溢出空间 */
  margin: 4px;
}
/* 顶部镜面高光 */
.company-tile::before {
  content: '';
  position: absolute; inset: 1px 1px auto 1px; height: 44%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.62) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.company-tile > * { position: relative; z-index: 1; }
.company-tile:hover {
  transform: translateY(-4px) scale(1.025);
  background: linear-gradient(165deg, rgba(255,255,255,0.86) 0%, rgba(255,255,255,0.56) 100%);
  box-shadow: var(--lg-shadow-hi), 0 0 26px -8px color-mix(in srgb, var(--c, #38bdf8) 55%, transparent);
}
.company-tile::after {
  content: '';
  position: absolute; left: 12%; right: 12%; bottom: 0;
  height: 2.5px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--c, #38bdf8), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.32s var(--smooth);
  z-index: 1;
}
.company-tile:hover::after { transform: scaleX(1); }
/* 按下：强调色 + 玻璃压陷 */
.company-tile:active {
  transform: translateY(1px) scale(0.965);
  background: var(--lg-accent-press);
  box-shadow: var(--lg-shadow-press);
  transition-duration: 0.07s;
}
.company-tile:active .company-tile-name { color: #fff; }
.company-tile:active::before { opacity: 0.2; }

/* 倾斜效果性能优化：所有倾斜目标提升到合成器层 */
.company-tile, .industry-card, .home-row, .company-card, .stat, .chart-box,
.stock-card, .hero-card, .glass, .glass-strong, .coop-col, .block-item,
.news-item, .bl-item, .kv, .chain-row, .detail-news-sidebar, .tl-item, .share-row {
  will-change: transform;
}

/* 紧凑模式 */
.compact-mini { min-height: 40px; padding: 0.5rem; justify-content: center; }
.compact-mini .company-tile-name { font-size: 11.5px; }
.home-compact .company-tile { min-height: 40px; padding: 0.5rem; }
.home-compact .company-tile-name { font-size: 11.5px; }

/* 编辑模式虚线 */
.editable-active .company-tile {
  border-style: dashed !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
}
.editable-active .company-tile:hover {
  border-style: solid !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}
.editable-active .tile-fav,
.editable-active .tile-site { display: none !important; }

/* ── 编辑模式：卡片拖拽/拉伸 ── */
.editable-draggable {
  position: relative;
  cursor: grab;
  transition: box-shadow 0.2s, outline 0.2s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.editable-draggable:hover {
  transform: none; /* 覆盖 .coop-col 等卡片的 hover 上移，避免编辑模式下视觉跳动 */
}
.editable-draggable:active { cursor: grabbing; }
.editable-draggable.is-dragging {
  outline: 2px solid rgba(56, 189, 248, 0.6);
  z-index: 100;
  opacity: 0.92;
  transform: none !important;
  transition: none !important;
}
/* 拉伸手柄（右下角） */
.card-resize-handle {
  position: absolute;
  right: 0; bottom: 0;
  width: 18px; height: 18px;
  cursor: nwse-resize;
  z-index: 9999;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 0.2s;
}
.editable-active .card-resize-handle { opacity: 1; }
.card-resize-handle::after {
  content: '';
  position: absolute;
  right: 3px; bottom: 3px;
  width: 10px; height: 10px;
  border-right: 2px solid rgba(56, 189, 248, 0.55);
  border-bottom: 2px solid rgba(56, 189, 248, 0.55);
  border-radius: 0 0 4px 0;
}
.card-resize-handle:hover::after {
  border-color: rgba(56, 189, 248, 0.9);
}
.editable-draggable.is-resizing .card-resize-handle { opacity: 1; }
/* 拖拽提示图标（卡片右上角） */
.card-drag-hint {
  position: absolute;
  top: 6px; right: 6px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(56, 189, 248, 0.45);
  font-size: 11px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 9;
}
.editable-active .card-drag-hint { opacity: 1; }
.editable-draggable:hover .card-drag-hint { color: rgba(56, 189, 248, 0.75); }

/* ── 编辑模式：12列正方形网格背景（局部父容器，位于卡片下方） ── */
.snap-grid {
  position: absolute;
  left: 0; top: 0;
  z-index: 0;
  pointer-events: none;
  display: none;
  background-image:
    linear-gradient(to right, rgba(99,102,241,0.22) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99,102,241,0.16) 1px, transparent 1px);
  /* 位置、尺寸与 background-size 由 updateGridOverlaySize() 根据父容器 content box 动态设置 */
}
.snap-grid.active { display: block; }

/* ── 17. Logo 容器 ── */
.logo-box {
  width: 88px; min-width: 64px; height: 44px;
  border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--glass-border);
  flex-shrink: 0; padding: 3px 5px;
  position: relative;
  box-shadow: var(--glass-inset), 0 2px 8px -4px rgba(15, 23, 42, 0.08);
}
.logo-box img { width: 100%; height: 100%; object-fit: contain; display: block; }
.logo-fallback {
  width: 100%; height: 100%; border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3); font-weight: 800; font-size: 0.8rem;
}
.logo-lazy .logo-fallback { transition: opacity 0.3s ease; }
.logo-upgrade {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: contain; opacity: 0;
  transition: opacity 0.35s ease; pointer-events: none;
}
.logo-upgrade.show { opacity: 1; }

/* ── 18. 企业名称 / 子标题 ── */
.company-tile-name {
  font-size: 12.5px; font-weight: 700; color: var(--ink);
  text-align: center; line-height: 1.25;
  width: 100%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; padding: 0 2px;
}
.company-tile-sub {
  font-size: 10px; color: var(--ink-4);
  text-align: center; line-height: 1.2;
  width: 100%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap; padding: 0 2px;
}

/* ── 19. 官网图标 / 收藏星标 ── */
.tile-site {
  position: absolute; top: 6px; right: 6px; z-index: 5;
  width: 22px; height: 22px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-3); color: var(--ink-3);
  border: 1px solid var(--glass-border);
  font-size: 10px; opacity: 0;
  transform: translateY(-2px);
  transition: all 0.18s ease; text-decoration: none;
}
.company-tile:hover .tile-site { opacity: 1; transform: translateY(0); color: var(--brand); }
.tile-site:hover { background: var(--brand); color: #fff; border-color: transparent; }

.tile-fav, .card-fav {
  position: absolute; z-index: 6;
  width: 24px; height: 24px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  background: var(--glass-3); border: 1px solid var(--glass-border);
  color: var(--ink-4); font-size: 0.72rem; cursor: pointer;
  opacity: 0; transition: all 0.16s ease;
}
.tile-fav { top: 6px; left: 6px; }
.card-fav { top: 6px; right: 6px; left: auto; }
.company-tile:hover .tile-fav,
.company-card:hover .card-fav { opacity: 1; }
.tile-fav:hover, .card-fav:hover { color: #f59e0b; border-color: rgba(245, 158, 11, 0.4); }
.tile-fav.active, .card-fav.active { color: #f59e0b; }
.tile-fav.active { opacity: 1; }
.hero-fav { position: static; opacity: 1; width: auto; padding: 0 0.9rem; gap: 0.4rem; }
.hero-fav.active { background: #fffbeb; border-color: rgba(245, 158, 11, 0.5); color: #d97706; }

/* ── 20. 行业页公司卡片 ── */
.company-card {
  position: relative;
  background: var(--glass-2);
  border: 1px solid var(--glass-border);
  border-radius: 1rem; padding: 1rem;
  cursor: pointer;
  box-shadow: var(--glass-inset), var(--glass-shadow-sm);
  transition:
    transform 0.3s var(--spring),
    box-shadow 0.3s var(--smooth),
    border-color 0.25s var(--smooth);
  perspective: 600px;
  transform-style: preserve-3d;
}
.company-card:hover {
  transform: translateY(-4px) rotateX(1.5deg);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: var(--glass-inset), 0 20px 44px -18px rgba(15, 23, 42, 0.14), 0 0 32px -10px rgba(56, 189, 248, 0.12);
}

/* 官网链接卡片 */
.site-link {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.85rem 1.1rem; border-radius: 1rem;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.08), rgba(37, 99, 235, 0.06));
  border: 1px solid rgba(56, 189, 248, 0.22);
  transition: all 0.2s ease; text-decoration: none;
}
.site-link:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 14px 30px -18px rgba(56, 189, 248, 0.2);
  transform: translateY(-2px);
}
.site-link-url {
  font-family: 'Inter', monospace;
  font-size: 0.9rem; color: #0369a1; font-weight: 600;
  word-break: break-all;
}

/* ── 21. 产业链 / 时间线 / 列表 ── */
.chain-row {
  display: grid; grid-template-columns: 88px 1fr; gap: 1rem;
  padding: 0.9rem 0;
  /* 去掉行间虚线边框 */
}
.chain-row:last-child { border-bottom: none; }
.chain-stage {
  font-weight: 800; font-size: 0.85rem; color: #fff;
  border-radius: 0.6rem; padding: 0.35rem 0; text-align: center;
  height: fit-content;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.tl-item {
  position: relative; padding-left: 1.4rem; padding-bottom: 1.05rem;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ''; position: absolute; left: 3px; top: 6px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.16);
}
.tl-item::after {
  content: ''; position: absolute; left: 7px; top: 17px; bottom: 0;
  width: 1px; background: var(--line-hi);
}
.tl-item:last-child::after { display: none; }

.bullet-list li {
  position: relative; padding-left: 1.15rem; margin-bottom: 0.55rem;
  line-height: 1.65; color: var(--ink-2); font-size: 0.875rem;
}
.bullet-list li::before {
  content: ''; position: absolute; left: 0; top: 0.62em;
  width: 6px; height: 6px; border-radius: 2px; background: var(--brand);
}
.bullet-list.pos li::before { background: #10b981; }
.bullet-list.neg li::before { background: #f59e0b; }
.bullet-list.act li::before { background: #6366f1; }

/* 占比条 */
.share-row { margin-bottom: 0.85rem; }
.share-track {
  height: 7px; border-radius: 999px;
  background: #eef2f7; overflow: hidden;
}
.share-fill { height: 100%; border-radius: 999px; transition: width 0.7s cubic-bezier(.2,.8,.2,1); }

/* 正文段落 */
.prose-cn p { margin-bottom: 0.9rem; line-height: 1.85; color: var(--ink-2); font-size: 0.9rem; }
.prose-cn p:last-child { margin-bottom: 0; }
/* ★ 企业概况在详情行中可滚动（防止长文本撑高整行） */
.detail-row2 > .glass .prose-cn {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
}

.kv {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0.6rem 0.75rem;
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: 0.7rem;
}
.kv-k { font-size: 0.68rem; color: var(--ink-4); }
.kv-v { font-size: 0.82rem; font-weight: 700; color: var(--ink); line-height: 1.35; }

.stars { color: #f59e0b; letter-spacing: 0.08em; }

.sec-title {
  display: flex; align-items: center; gap: 0.55rem;
  font-weight: 800; color: var(--ink);
  margin-bottom: 0.9rem; font-size: 1rem;
}

/* ── 22. 要点条（统一玻璃） ── */
.bl-item {
  font-size: 0.85rem; line-height: 1.5; color: var(--ink-2);
  padding: 0.55rem 0.75rem; margin-bottom: 0.5rem;
  border-radius: 0.7rem;
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--ink-4);
}
.bl-item:last-child { margin-bottom: 0; }
.bl-item.pos { border-left-color: #10b981; background: rgba(16, 185, 129, 0.06); }
.bl-item.act { border-left-color: #6366f1; background: rgba(99, 102, 241, 0.06); }
.bl-item.neg { border-left-color: #f59e0b; background: rgba(245, 158, 11, 0.06); }

/* 要点/链路/时间线统一玻璃 —— tl-item 不需要边框（纯文字列表） */
.bl-item, .kv {
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  transition: background 0.22s var(--smooth), transform 0.28s var(--spring);
}
/* chain-row 去掉独立方框，内容直接显示在卡片内 */
.chain-row {
  transition: none;
}
.tl-item {
  background: transparent;
  border: none;
  transition: none;
}
.bl-item:hover, .kv:hover {
  background: var(--glass-2);
  transform: translateX(3px);
  border-color: var(--glass-border-hi);
}

/* ── 23. 内容块操作按钮 ── */
.block-edit-data {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700;
  color: var(--brand);
  background: rgba(56, 189, 248, 0.10);
  border-color: rgba(56, 189, 248, 0.25);
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.block-edit-data:hover {
  background: rgba(56, 189, 248, 0.18);
  transform: translateY(-1px);
}
.block-remove {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-left: 0.4rem;
  font-size: 0.78rem; color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 0.55rem; cursor: pointer;
}
.block-remove:hover {
  background: rgba(220, 38, 38, 0.16);
  transform: translateY(-1px) rotate(-4deg);
}

/* 图表数据编辑多行输入 */
.cd-input {
  width: 100%; font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.82rem; color: var(--ink);
  background: var(--glass-3);
  border: 1px solid var(--glass-border);
  border-radius: 0.7rem; padding: 0.55rem 0.7rem;
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cd-input:focus {
  outline: none; border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* 添加公司按钮 */
.tile-add-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 104px; border-radius: 0.85rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.58) 0%, rgba(255,255,255,0.32) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: var(--lg-shadow), inset 0 1px 0 rgba(255,255,255,0.5);
  color: var(--ink-2); font-size: 1.35rem; cursor: pointer;
  transition: transform 0.28s var(--spring), box-shadow 0.28s var(--smooth), background 0.28s var(--smooth);
}
.tile-add-btn::before {
  content: '';
  position: absolute; inset: 1px 1px auto 1px; height: 42%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.55) 0%, transparent 100%);
  pointer-events: none;
}
.tile-add-btn:hover {
  background: linear-gradient(165deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.46) 100%);
  color: var(--brand); transform: translateY(-2px) scale(1.03);
  box-shadow: var(--lg-shadow-hi), inset 0 1px 0 rgba(255,255,255,0.6);
}

/* 编辑模式下名称可编辑 */
.editable-active .company-tile-name {
  outline: 2px dashed rgba(56, 189, 248, 0.4);
  outline-offset: 2px; border-radius: 4px; padding: 0 4px;
  cursor: text; background: var(--glass-3);
}
.editable-active .company-tile-name:focus {
  outline-color: var(--brand); background: #fff;
}

/* Logo 编辑按钮 */
.tile-edit-logo {
  position: absolute; z-index: 10; top: 4px; right: 4px;
  height: 22px; padding: 0 8px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; gap: 3px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border: 1px solid rgba(255,255,255,0.7); color: #fff;
  font-size: 0.62rem; font-weight: 700; cursor: pointer;
  opacity: 0; box-shadow: 0 3px 10px -4px rgba(245,158,11,0.7);
  transition: all 0.16s ease;
}
.editable-active .tile-edit-logo { opacity: 1 !important; }
.company-tile:hover .tile-edit-logo { opacity: 0.92; }
.editable-active .tile-edit-logo::after { content: '改图'; }
.tile-edit-logo:hover {
  background: linear-gradient(135deg, #d97706, #b45309);
  transform: scale(1.08);
}

/* ── 24. 动画关键帧 ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.fade-up { animation: fadeUp 0.55s var(--smooth) both; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: scale(1); } }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.view-in { animation: viewIn 0.4s cubic-bezier(.2,.8,.2,1) both; }

/* 滚动入场动画类（JS IntersectionObserver 触发） */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 0.6s var(--smooth), transform 0.6s var(--spring);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
/* 交错延迟 */
.scroll-reveal.d1 { transition-delay: 0.04s; }
.scroll-reveal.d2 { transition-delay: 0.08s; }
.scroll-reveal.d3 { transition-delay: 0.12s; }
.scroll-reveal.d4 { transition-delay: 0.16s; }
.scroll-reveal.d5 { transition-delay: 0.20s; }

/* ── 25. 搜索系统 ── */
.search-box {
  display: flex; align-items: center; gap: 0.55rem;
  height: 40px; padding: 0 0.75rem; border-radius: 0.8rem;
  color: var(--ink-3);
}
.search-box i { font-size: 0.85rem; }
.search-box input {
  flex: 1; min-width: 0; border: none; outline: none;
  background: transparent; font-size: 0.875rem; color: var(--ink); font-family: inherit;
}
.search-kbd {
  font-family: 'Inter', monospace; font-size: 0.7rem; font-weight: 700;
  color: var(--ink-3); background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-radius: 0.4rem; padding: 0.1rem 0.4rem; line-height: 1.4;
}

.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  max-height: 60vh; overflow-y: auto;
  background: var(--glass-3);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border-hi);
  border-radius: 1rem;
  box-shadow: var(--glass-inset), 0 24px 56px -22px rgba(15, 23, 42, 0.12);
  padding: 0.4rem; animation: fadeUp 0.18s ease both;
}
.search-group-label {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-4);
  padding: 0.55rem 0.6rem 0.3rem;
}
.search-item {
  display: flex; align-items: center; gap: 0.65rem;
  padding: 0.5rem 0.6rem; border-radius: 0.7rem; cursor: pointer;
  transition: background 0.14s ease;
}
.search-item:hover, .search-item.active { background: rgba(56, 189, 248, 0.08); }
.search-ico {
  width: 30px; height: 30px; border-radius: 0.55rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff; flex-shrink: 0;
}
.search-title { font-size: 0.85rem; font-weight: 700; color: var(--ink); line-height: 1.2; }
.search-sub { font-size: 0.72rem; color: var(--ink-4); line-height: 1.2; }
.search-empty { padding: 1.1rem; text-align: center; color: var(--ink-4); font-size: 0.85rem; }

/* ── 26. 面包屑 ── */
.breadcrumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem;
  font-size: 0.82rem;
}
.breadcrumb .crumb a, .breadcrumb .crumb > span {
  color: var(--ink-3); text-decoration: none; font-weight: 600;
  padding: 0.15rem 0.1rem;
}
.breadcrumb .crumb a { transition: color 0.15s ease; }
.breadcrumb .crumb a:hover { color: var(--brand); }
.breadcrumb .crumb .current { color: var(--ink); font-weight: 800; }
.breadcrumb .crumb-sep { color: var(--ink-4); }

/* ── 27. 滚动进度条 ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 60;
  background: linear-gradient(90deg, var(--brand), var(--brand-2) 60%, var(--brand-3));
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
  transition: width 0.1s linear; pointer-events: none;
}

/* ── 28. 返回顶部 ── */
/* 回到顶部：悬浮液态玻璃球 */
.back-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(165deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.45) 100%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.6);
  color: var(--brand); font-size: 1rem; cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -2px 6px rgba(15,23,42,0.06),
    0 8px 28px -8px rgba(15,23,42,0.18),
    0 4px 12px -4px rgba(56,189,248,0.15);
  opacity: 0; transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(.2,.8,.2,1);
}
.back-top.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-top:hover {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border-color: transparent;
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 14px 38px -10px rgba(37,99,235,0.45),
    0 6px 16px -4px rgba(15,23,42,0.15);
}

/* ── 29. 弹窗 / 编辑器 ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(15, 23, 42, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem; animation: fadeIn 0.2s ease both;
}
.modal-card {
  width: 100%; max-width: 420px;
  background: var(--glass-3);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--glass-border-hi);
  border-radius: 1.25rem; padding: 1.4rem 1.5rem;
  box-shadow: var(--glass-inset), 0 30px 70px -20px rgba(15, 23, 42, 0.14);
  animation: scaleIn 0.22s cubic-bezier(.2,.8,.2,1) both;
}
.modal-close {
  width: 32px; height: 32px; border-radius: 0.6rem;
  border: 1px solid var(--glass-border);
  background: var(--glass-2); color: var(--ink-3);
  cursor: pointer; transition: all 0.15s ease;
}
.modal-close:hover { background: var(--glass-3); color: var(--ink); }

.modal-overlay:not(.show) { display: none; }

/* Logo 编辑器弹窗 */
.editor-box {
  width: 100%; max-width: 380px;
  background: var(--glass-3);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid var(--glass-border-hi);
  border-radius: 1.25rem; padding: 1.3rem 1.4rem 1.5rem;
  box-shadow: var(--glass-inset), 0 30px 70px -20px rgba(15, 23, 42, 0.14);
  animation: scaleIn 0.22s cubic-bezier(.2,.8,.2,1) both;
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: 1rem;
}

.editor-stage {
  position: relative; box-sizing: border-box;
  width: 294px; height: 150px; margin: 0 auto 0.4rem; padding: 0;
  border: 3px solid rgba(200, 210, 220, 0.6);
  border-radius: 0.8rem;
  background:
    linear-gradient(45deg, #f1f5f9 25%, transparent 25%, transparent 75%, #f1f5f9 75%) 0 0/18px 18px,
    linear-gradient(45deg, #f1f5f9 25%, #fff 25%, #fff 75%, #f1f5f9 75%) 9px 9px/18px 18px;
  overflow: hidden; cursor: grab; user-select: none;
}
.editor-stage.grabbing { cursor: grabbing; }
.editor-img-wrap {
  position: absolute; top: 12px; left: 21px;
  width: 252px; height: 126px; overflow: hidden;
}
.editor-img-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transform-origin: center center; pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(15,23,42,0.10));
}
.editor-crop-frame {
  /* 红框 = 首页 logo 实际图片可见区域（像素级精确）
     无头浏览器实测：所有公司 logo 在 .logo-box 内渲染尺寸均为 76×36px
     首页 .logo-box 外框=88×44，padding=3px 5px，img object-fit:contain
     编辑器 .editor-img-wrap = 252×126px
     精确比例：宽 76/252=30.16%，高 36/126=28.57%
     居中：(252-76)/2/252=34.92%左，(126-36)/2/126=35.71%顶 */
  position: absolute;
  width: 30.16%;
  height: 28.57%;
  top: 35.71%;
  left: 34.92%;
  border: 2px dashed rgba(239, 68, 68, 0.85);
  border-radius: 0.4rem;
  pointer-events: none;
  z-index: 6;
}
.editor-frame-label {
  text-align: center; font-size: 0.66rem; font-weight: 700;
  color: #ef4444; margin: 0.35rem 0 0.55rem;
}
.editor-crop-rect {
  position: absolute; box-sizing: border-box;
  border: 1.5px solid var(--brand);
  background: rgba(56, 189, 248, 0.10); cursor: move; z-index: 7; display: none;
}
.cropping .editor-crop-rect { display: block; }
.cropping .editor-crop-frame { opacity: 0.22; }
.cropping .editor-frame-label { display: none; }
.editor-crop-rect .ch {
  position: absolute;
  background: #fff; border: 2px solid var(--brand);
  border-radius: 3px; box-shadow: 0 1px 4px rgba(15,23,42,0.18);
  z-index: 8;
}
/* ── 四边长条控制柄（拖动整条边） ── */
.editor-crop-rect .ch.n {
  top: -6px; left: 10%; right: 10%; height: 10px;
  cursor: ns-resize; border-radius: 4px;
}
.editor-crop-rect .ch.s {
  bottom: -6px; left: 10%; right: 10%; height: 10px;
  cursor: ns-resize; border-radius: 4px;
}
.editor-crop-rect .ch.e {
  top: 10%; bottom: 10%; right: -6px; width: 10px;
  cursor: ew-resize; border-radius: 4px;
}
.editor-crop-rect .ch.w {
  top: 10%; bottom: 10%; left: -6px; width: 10px;
  cursor: ew-resize; border-radius: 4px;
}
/* ── 四角小方块（保留，用于对角拉伸） ── */
.editor-crop-rect .ch.corner {
  width: 14px; height: 14px;
}
.editor-crop-rect .ch.corner.tl { top: -7px; left: -7px; cursor: nwse-resize; }
.editor-crop-rect .ch.corner.tr { top: -7px; right: -7px; cursor: nesw-resize; }
.editor-crop-rect .ch.corner.bl { bottom: -7px; left: -7px; cursor: nesw-resize; }
.editor-crop-rect .ch.corner.br { bottom: -7px; right: -7px; cursor: nwse-resize; }

.editor-controls { display: flex; flex-direction: column; gap: 0.6rem; }
.cropping .editor-controls { opacity: 0.4; pointer-events: none; }
.ec-row {
  display: grid; grid-template-columns: 72px 1fr 46px;
  align-items: center; gap: 0.6rem;
  font-size: 0.78rem; color: var(--ink-2);
}
.ec-row label { font-weight: 600; }
.ec-val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 0.72rem; }
.editor-hint { font-size: 0.72rem; color: var(--ink-4); margin: 0.5rem 0 0.2rem; text-align: center; }

.ec-row input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: #e2e8f0; outline: none; cursor: pointer;
}
.ec-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 2px 6px rgba(56,189,248,0.35); transition: transform .12s ease;
}
.ec-row input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
.ec-row input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand);
  box-shadow: 0 2px 6px rgba(56,189,248,0.35);
}
.ec-row input[type="range"]::-moz-range-track { height: 6px; border-radius: 999px; background: #e2e8f0; }

.modal-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; margin-top: 1rem; }
.crop-actions { display: none; }
.cropping .crop-actions { display: flex; }
.cropping .base-actions { display: none; }
.editor-toolbar { display: flex; gap: 0.5rem; margin: 0.4rem 0 0.1rem; }

/* V2 编辑器专用 */
.v2-editor { max-width: 420px; }
.v2-section-title { font-size: 0.8rem; font-weight: 700; color: var(--ink-3); margin: 0.9rem 0 0.45rem; letter-spacing: 0.02em; }
.v2-field { margin-bottom: 0.65rem; }
.v2-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); margin-bottom: 0.25rem; }
.v2-label small { font-weight: 400; color: var(--ink-4); font-size: 0.7rem; }
.v2-input {
  width: 100%; padding: 0.55rem 0.75rem;
  border-radius: 0.7rem; border: 1px solid var(--glass-border);
  background: var(--glass-2); color: var(--ink);
  font-size: 0.85rem; outline: none;
  box-sizing: border-box; transition: border-color 0.2s;
}
.v2-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(56,189,248,0.15); }
.v2-toolbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.45rem; margin: 0.5rem 0; }
.v2-btn {
  display: flex !important; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; padding: 0.55rem 0.3rem !important;
  font-size: 0.72rem !important; border-radius: 0.7rem !important; min-height: auto !important;
}
.v2-btn i { font-size: 0.95rem; }
.v2-btn span { font-size: 0.68rem; opacity: 0.85; }

.corner-handle {
  position: absolute; z-index: 8; width: 14px; height: 14px;
  background: #fff; border: 2px solid var(--brand, #0ea5e9);
  border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: nwse-resize; transition: transform 0.12s ease;
}
.corner-handle:hover { transform: scale(1.25); }
.ch-tl { top: 6px; left: 6px; cursor: nwse-resize; }
.ch-tr { top: 6px; right: 6px; cursor: nesw-resize; }
.ch-bl { bottom: 6px; left: 6px; cursor: nesw-resize; }
.ch-br { bottom: 6px; right: 6px; cursor: nwse-resize; }

.shortcut-list { list-style: none; margin: 0; padding: 0; }
.shortcut-list li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line); font-size: 0.85rem; color: var(--ink-2);
}
.shortcut-list li:last-child { border-bottom: none; }
.shortcut-list kbd {
  font-family: 'Inter', monospace; font-size: 0.72rem; font-weight: 700;
  color: var(--ink); background: var(--glass-1);
  border: 1px solid var(--glass-border);
  border-bottom-width: 2px; border-radius: 0.45rem;
  padding: 0.15rem 0.5rem; white-space: nowrap;
}

/* ── 30. 空状态 ── */
.empty-state { text-align: center; padding: 3.5rem 1rem; color: var(--ink-4); }
.empty-ico { font-size: 2.4rem; margin-bottom: 0.75rem; opacity: 0.4; }
.empty-title { font-size: 1.05rem; font-weight: 800; color: var(--ink-2); }
.empty-sub { font-size: 0.85rem; margin-top: 0.35rem; }

/* ── 31. 股价卡 / K线 ── */
.stock-card { position: relative; overflow: hidden; }
.stock-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 100% 0%, rgba(56,189,248,0.08), transparent 55%);
  pointer-events: none;
}
.stock-badge {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--brand); background: rgba(56, 189, 248, 0.10);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 0.2rem 0.55rem; border-radius: 999px;
}
.stock-price { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1; }
.stock-chg { font-variant-numeric: tabular-nums; align-self: flex-end; padding-bottom: 0.35rem; }
.stock-demo { border-left: 3px solid rgba(245, 158, 11, 0.45); }

.live-dot {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em;
  color: #10b981; padding: 0.18rem 0.5rem; border-radius: 999px;
  background: rgba(16, 185, 129, 0.10); border: 1px solid rgba(52, 211, 153, 0.25);
}
.live-dot i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #10b981; display: inline-block;
  animation: live-pulse 1.6s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  50%      { opacity: 0.5; box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
}

/* 价格跳动闪烁：涨=红 跌=绿（中国习惯） */
@keyframes tick-up-flash {
  0%   { color: #ef4444; text-shadow: 0 0 18px rgba(239, 68, 68, 0.7); transform: translateY(-2px); }
  100% { text-shadow: none; transform: translateY(0); }
}
@keyframes tick-down-flash {
  0%   { color: #10b981; text-shadow: 0 0 18px rgba(16, 185, 129, 0.7); transform: translateY(2px); }
  100% { text-shadow: none; transform: translateY(0); }
}
.stock-price.tick-up   { animation: tick-up-flash 0.85s var(--smooth); }
.stock-price.tick-down { animation: tick-down-flash 0.85s var(--smooth); }
.stock-price { transition: color 0.3s var(--smooth); font-variant-numeric: tabular-nums; }

.stock-mini { display: flex; gap: 0.9rem; flex-wrap: wrap; padding-bottom: 0.3rem; }
.sm-item { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.sm-k { font-size: 0.62rem; font-weight: 600; color: var(--ink-4); }
.sm-v { font-size: 0.8rem; font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }

.kline-tabs { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.ktab { font-size: 0.72rem; padding: 0.28rem 0.75rem; border-radius: 999px; }
.kline-hint { margin-left: auto; font-size: 0.66rem; color: var(--ink-4); }

.kline-wrap {
  position: relative; height: 260px; margin-top: 0.6rem;
  border-radius: 0.9rem; padding: 0.4rem;
  background: var(--glass-1); border: 1px solid var(--glass-border);
  animation: kline-in 0.45s var(--smooth);
}
@keyframes kline-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.kline-wrap canvas { position: relative; z-index: 1; }
.kline-loading {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center;
  color: var(--brand); font-size: 1.1rem;
  background: rgba(255,255,255,0.7);
}

/* ── 32. 新闻列表 ── */
.news-meta { margin-left: 0.6rem; font-size: 0.66rem; font-weight: 600; color: var(--ink-4); }
.news-refresh { margin-left: auto; }
.news-list { display: flex; flex-direction: column; gap: 0.5rem; }
.news-item {
  padding: 0.75rem 0.85rem; border-radius: 0.85rem;
  background: var(--glass-1);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
  animation: fadeUp 0.4s var(--smooth) both;
}
.news-item:nth-child(1) { animation-delay: 0.02s; }
.news-item:nth-child(2) { animation-delay: 0.06s; }
.news-item:nth-child(3) { animation-delay: 0.10s; }
.news-item:nth-child(4) { animation-delay: 0.14s; }
.news-item:nth-child(5) { animation-delay: 0.18s; }
.news-item.is-link:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateX(4px);
}
.news-head { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.2rem; }
.news-time { font-size: 0.66rem; font-weight: 700; color: var(--brand); letter-spacing: 0.02em; }
.news-src {
  font-size: 0.66rem; font-weight: 600; color: var(--ink-4);
  background: var(--glass-1); padding: 0.1rem 0.4rem; border-radius: 0.3rem;
}
.news-text { font-size: 0.86rem; line-height: 1.55; color: var(--ink-2); font-weight: 500; }
.news-sum { font-size: 0.74rem; line-height: 1.5; color: var(--ink-4); margin-top: 0.25rem; }
.news-go {
  font-size: 0.72rem; color: var(--ink-4); font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.2rem;
  opacity: 0; transform: translateX(-4px); transition: all 0.2s ease;
}
.news-item.is-link:hover .news-go { opacity: 1; color: var(--brand); transform: translate(2px, -2px); }

/* ── 33. 编辑模式 ── */
.editable-active [data-editable="true"] {
  outline: 1px dashed rgba(56, 189, 248, 0.5);
  outline-offset: 3px; border-radius: 4px;
  transition: background 0.15s ease;
}
.editable-active [data-editable="true"]:hover { background: rgba(56, 189, 248, 0.06); }
.editable-active [data-editable="true"]:focus {
  outline: 2px solid rgba(56, 189, 248, 0.8);
  background: rgba(56, 189, 248, 0.04);
}

/* ── 34. 焦点环 ── */
:focus-visible {
  outline: 2px solid rgba(56, 189, 248, 0.7);
  outline-offset: 2px; border-radius: 0.5rem;
}
.company-tile { outline: none; }
.company-tile:focus-visible {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
  transform: translateY(-3px);
}

/* ── 35. 滚动条 ── */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; border: 2px solid #f1f5f9; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── 36. 移动端适配 ── */
@media (max-width: 900px) {
  .home-row { grid-template-columns: 1fr; gap: 0.75rem; }
  .home-row-label { position: static; min-height: 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .home-row-label .hr-enter { margin-top: 0; margin-left: auto; }
}
@media (max-width: 640px) {
  .home-row-grid { grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); }
  .chain-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .search-box { height: 38px; }
  .search-kbd { display: none; }
}

/* ============================================================
   ── 38. 企业详情：首行双框（身份卡 + 实时股价） ──
   ============================================================ */
.hero-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 1rem;
  margin-bottom: 1.35rem;
  align-items: stretch;
}
@media (max-width: 1024px) { .hero-duo { grid-template-columns: 1fr; } }

.hero-card {
  position: relative;
  display: flex; flex-direction: column;
  gap: 0.85rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.3rem;
  border: none;
  background: linear-gradient(165deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.44) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--lg-shadow);
  overflow: hidden; isolation: isolate;
  transition: transform 0.34s var(--spring), box-shadow 0.3s var(--smooth);
}
.hero-card::before {
  content: '';
  position: absolute; inset: 1px 1px auto 1px; height: 34%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.hero-card > * { position: relative; z-index: 1; }
.hero-card:hover { transform: translateY(-2px); box-shadow: var(--lg-shadow-hi); }

/* 左：企业身份 */
.hero-id-top { display: flex; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.hero-logo {
  width: 64px; height: 64px; border-radius: 1rem; padding: 8px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.66);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 6px 16px -8px rgba(15,23,42,0.24);
}
.hero-title-row { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.hero-name { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.2; }
.hero-ind-tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.72rem; font-weight: 700;
  padding: 0.22rem 0.6rem; border-radius: 999px;
  color: var(--c, #0ea5e9);
  background: color-mix(in srgb, var(--c, #0ea5e9) 12%, rgba(255,255,255,0.6));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), inset 0 0 0 1px color-mix(in srgb, var(--c,#0ea5e9) 26%, transparent);
}
.hero-sub { font-size: 0.8rem; color: var(--ink-3); margin-top: 0.3rem; font-weight: 600; }
.hero-sub2 { font-size: 0.8rem; color: var(--ink-2); margin-top: 0.15rem; }
.hero-fav { margin-left: auto; flex-shrink: 0; padding: 0.42rem 0.75rem; font-size: 0.76rem; }

/* 官网行（并入身份卡） */
.hero-site {
  margin-top: auto;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.95rem;
  background: rgba(255,255,255,0.5);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), inset 0 0 0 1px rgba(255,255,255,0.5), 0 3px 10px -8px rgba(15,23,42,0.3);
  text-decoration: none;
  transition: transform 0.3s var(--spring), box-shadow 0.28s var(--smooth), background 0.22s var(--smooth);
}
.hero-site:hover { transform: translateY(-2px); background: rgba(255,255,255,0.78); box-shadow: var(--lg-shadow-hi); }
.hero-site:active {
  transform: translateY(1px) scale(0.985);
  background: var(--lg-accent-press);
  box-shadow: var(--lg-shadow-press);
}
.hero-site:active .hero-site-k, .hero-site:active .hero-site-url,
.hero-site:active .hero-site-go, .hero-site:active i { color: #fff; }
.hero-site-k { font-size: 0.76rem; font-weight: 700; color: var(--ink-2); }
.hero-site-url {
  font-size: 0.7rem; color: var(--ink-4);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.hero-site-go { font-size: 0.72rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.hero-site.is-empty { color: var(--ink-4); font-size: 0.78rem; justify-content: center; }

/* 右：股价卡 */
.hero-stock-head { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
.hero-stock-head .stock-badge { margin-left: auto; }
.hero-stock-price { display: flex; align-items: flex-end; gap: 0.75rem; flex-wrap: wrap; }
.hero-stock-price .stock-price { font-size: 2rem; font-weight: 800; }
.hero-stock-price .stock-mini { margin-left: auto; }
.hero-nostock { justify-content: flex-start; }
.nostock-body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; color: var(--ink-4); font-size: 0.82rem; min-height: 180px;
}
.nostock-body i { font-size: 1.8rem; opacity: 0.5; }
.stock-note { font-size: 0.66rem; color: var(--ink-4); }
.stock-demo { border-left: none; }

/* 山形图交互提示 */
.kline-tip {
  font-size: 0.64rem; color: var(--ink-4);
  display: flex; align-items: center; gap: 0.3rem; margin-top: 0.35rem;
}
.kline-wrap { cursor: grab; user-select: none; }
.kline-wrap canvas.is-panning, .kline-wrap:active { cursor: grabbing; }
.ktab-reset { padding: 0.28rem 0.55rem; }
.kline-hint.is-stale { color: #d97706; font-weight: 700; }

/* ============================================================
   ── 39. 与嘉立创的合作：分栏分类 ──
   ============================================================ */
.coop-section { margin-bottom: 1.5rem; }
.coop-head {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.coop-head-sub { font-size: 0.7rem; color: var(--ink-4); font-weight: 600; }
.coop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 0.85rem;
  align-items: start;
}
.coop-col {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 1.15rem;
  padding: 0.95rem 1rem 1.05rem;
  background: linear-gradient(165deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.42) 100%);
  -webkit-backdrop-filter: blur(20px) saturate(178%);
  backdrop-filter: blur(20px) saturate(178%);
  box-shadow: var(--lg-shadow);
  overflow: hidden; isolation: isolate;
  transition: transform 0.34s var(--spring), box-shadow 0.3s var(--smooth);
}
.coop-col::before {
  content: '';
  position: absolute; inset: 1px 1px auto 1px; height: 36%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.58) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.coop-col > * { position: relative; z-index: 1; }
.coop-col:hover { transform: translateY(-3px); box-shadow: var(--lg-shadow-hi); }
.coop-col-head {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.8rem; font-weight: 800; letter-spacing: -0.01em;
  padding-bottom: 0.55rem; margin-bottom: 0.7rem;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}
.coop-col-head i {
  width: 24px; height: 24px; border-radius: 0.55rem;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}
.coop-col.tone-brand .coop-col-head { color: #0369a1; }
.coop-col.tone-brand .coop-col-head i { background: rgba(56,189,248,0.16); color: #0284c7; }
.coop-col.tone-pos   .coop-col-head { color: #047857; }
.coop-col.tone-pos   .coop-col-head i { background: rgba(16,185,129,0.16); color: #059669; }
.coop-col.tone-act   .coop-col-head { color: #4338ca; }
.coop-col.tone-act   .coop-col-head i { background: rgba(99,102,241,0.16); color: #4f46e5; }
.coop-col.tone-neg   .coop-col-head { color: #b45309; }
.coop-col.tone-neg   .coop-col-head i { background: rgba(245,158,11,0.16); color: #d97706; }
.coop-col-body { font-size: 0.83rem; line-height: 1.65; color: var(--ink-2); }
.coop-col-body .bullet-list { margin: 0.4rem 0 0; }
.coop-sum { margin-top: 0.55rem; padding-top: 0.55rem; border-top: 1px dashed rgba(15,23,42,0.08); }
.coop-note { font-size: 0.78rem; color: var(--ink-3); margin-top: 0.5rem; line-height: 1.6; }
.coop-potential {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 0.7rem; padding-top: 0.6rem;
  border-top: 1px dashed rgba(15,23,42,0.08);
}
.coop-potential-k { font-size: 0.72rem; font-weight: 700; color: var(--ink-3); }

/* ============================================================
   ── 40. 自定义内容块：12 列自适应网格 · 可拖拽 · 可缩放 ──
   ============================================================ */
.block-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: start;
}
.block-item {
  grid-column: span var(--bw, 6);
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.1rem 1.15rem;
  border-radius: 1.2rem;
  min-width: 0;
}
.block-item.has-h { height: var(--bh, auto); }
.block-item .block-scroll { flex: 1; min-height: 0; overflow: auto; }
.block-item .block-chart { flex: 1; min-height: 160px; position: relative; }
.block-item:not(.has-h) .block-chart { height: 240px; }
@media (max-width: 900px) {
  .block-grid { grid-template-columns: 1fr; }
  .block-item { grid-column: 1 / -1; height: auto !important; }
}

/* 编辑态 */
.block-grid.is-editing .block-item {
  cursor: grab;
  box-shadow: var(--lg-shadow), inset 0 0 0 1.5px rgba(56,189,248,0.32);
}
.block-grid.is-editing .block-item.is-dragging { opacity: 0.45; cursor: grabbing; }
.block-grid.is-editing .block-item.drop-target {
  box-shadow: var(--lg-shadow-hi), inset 0 0 0 2px rgba(56,189,248,0.85);
  transform: scale(1.01);
}
.block-grid.is-editing .block-item.is-resizing {
  box-shadow: var(--lg-shadow-hi), inset 0 0 0 2px rgba(37,99,235,0.7);
  transition: none;
}
.block-tools {
  position: absolute; top: 0.55rem; right: 0.6rem;
  display: flex; align-items: center; gap: 0.3rem;
  z-index: 3;
}
.block-drag, .block-w {
  display: inline-flex; align-items: center; justify-content: center;
  height: 22px; padding: 0 0.45rem; border-radius: 0.5rem;
  font-size: 0.62rem; font-weight: 700; color: var(--ink-3);
  background: rgba(255,255,255,0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 6px -4px rgba(15,23,42,0.3);
}
.block-drag { cursor: grab; }
.block-resize {
  position: absolute; right: 3px; bottom: 3px;
  width: 20px; height: 20px;
  cursor: nwse-resize; z-index: 4;
  border-radius: 0 0 1.1rem 0;
  background:
    linear-gradient(135deg, transparent 46%, rgba(56,189,248,0.85) 47%, rgba(56,189,248,0.85) 53%, transparent 54%),
    linear-gradient(135deg, transparent 66%, rgba(56,189,248,0.6) 67%, rgba(56,189,248,0.6) 73%, transparent 74%);
  transition: filter 0.2s ease;
}
.block-resize:hover { filter: brightness(1.25) saturate(1.4); }

/* 新建内容栏 */
.add-bar { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.add-bar-k { font-size: 0.8rem; font-weight: 700; color: var(--ink-3); display: inline-flex; align-items: center; gap: 0.35rem; }
.add-bar-tip { font-size: 0.68rem; color: var(--ink-4); display: inline-flex; align-items: center; gap: 0.3rem; margin-left: auto; }

/* ============================================================
   ── 41. 企业详情：英雄卡片照片区域 + 第二行布局
   ============================================================ */

/* 企业照片区域（英雄卡片中间，可横向滚动） */
.hero-photo-area {
  position: relative;
  flex: 1;
  min-height: 180px;
  max-height: 280px;
  margin: 0.5rem 0;
  border-radius: 0.9rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(56,189,248,0.06) 0%, rgba(139,92,246,0.04) 50%, rgba(16,185,129,0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-photo-scroll {
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(15,23,42,0.15) transparent;
  -webkit-overflow-scrolling: touch;
}
.hero-photo-scroll::-webkit-scrollbar { height: 5px; }
.hero-photo-scroll::-webkit-scrollbar-track { background: transparent; }
.hero-photo-scroll::-webkit-scrollbar-thumb {
  background: rgba(15,23,42,0.12);
  border-radius: 999px;
}
.hero-photo-img {
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0.6rem;
  flex-shrink: 0;
}
/* 上传按钮（液态玻璃 + 风格统一） */
.hero-photo-upload {
  position: absolute;
  z-index: 5;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  background: linear-gradient(165deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.45) 100%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border: 1.5px solid rgba(255,255,255,0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 4px 14px -6px rgba(15,23,42,0.18),
    0 0 0 1px rgba(56,189,248,0.2);
  color: var(--brand);
  font-size: 1.15rem;
  transition: transform 0.3s var(--spring), box-shadow 0.28s var(--smooth), background 0.22s var(--smooth);
}
.hero-photo-upload:hover {
  transform: scale(1.08);
  background: linear-gradient(165deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.62) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 8px 22px -10px rgba(15,23,42,0.22),
    0 0 0 2px rgba(56,189,248,0.35);
}
.hero-photo-upload:active {
  transform: scale(0.94);
  box-shadow:
    inset 0 2px 6px rgba(12,32,74,0.25),
    0 2px 6px -4px rgba(15,23,42,0.15);
}

/* 第二行：新闻侧栏 + 企业概况 + 画像雷达 —— 右列决定行高，左中匹配 */
.detail-row2 {
  overflow: visible;
  align-items: stretch; /* ★ 三列全高拉伸：左中上端=企业画像顶端，下端=合作坐标系底端 */
}
/* 左中两列：由右列决定行高（stretch），内部滚动 */
.detail-row2 > .glass {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
/* ★ 新闻侧栏：overflow:hidden 不让内容撑高整行，内部列表自行滚动 */
.detail-row2 > .glass.detail-news-sidebar {
  overflow: hidden;
}
.detail-row2 > .flex {
  display: flex;
  flex-direction: column;
}
.detail-row2 > .flex > .glass {
  flex: 1 1 auto; /* ★ 企业画像+合作坐标系分摊右列高度 */
  min-height: 0;
}
@media (max-width: 1024px) {
  .detail-row2 {
    grid-template-columns: 1fr !important;
  }
  .detail-news-sidebar {
    order: 3; /* 移动端新闻放最后 */
  }
}
/* 新闻侧栏（窄） */
.detail-news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow: hidden; /* ★ 不让内容撑高整行，由右列决定行高，内部列表滚动 */
}
.detail-news-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  min-height: 0;
  overflow-y: auto; /* ★ 允许滚动 */
  padding-right: 4px; /* 滚动条空间 */
  /* ★ 确保新闻项可点击 */
  pointer-events: auto;
}
/* ★ 新闻项可交互：hover 效果 + cursor */
.detail-news-list .news-item {
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.detail-news-list .news-item:hover {
  background: rgba(248,250,252,0.8);
  border-color: rgba(148,163,184,0.25);
  transform: translateX(2px);
}
.detail-news-list .news-item {
  animation: fadeUp 0.35s var(--smooth) both;
}
.detail-news-list .news-item:nth-child(1) { animation-delay: 0.01s; }
.detail-news-list .news-item:nth-child(2) { animation-delay: 0.04s; }
.detail-news-list .news-item:nth-child(3) { animation-delay: 0.07s; }
.detail-news-list .news-item:nth-child(4) { animation-delay: 0.10s; }
.detail-news-list .news-item:nth-child(5) { animation-delay: 0.13s; }
.detail-news-list .news-item:nth-child(6) { animation-delay: 0.16s; }
.detail-news-list .news-item:nth-child(7) { animation-delay: 0.19s; }
.detail-news-list .news-item:nth-child(8) { animation-delay: 0.22s; }

/* 山形图实时价格标注 */
.mountain-price-tag {
  position: absolute;
  top: 8px; left: 10px;
  z-index: 5;
  padding: 0.25rem 0.55rem;
  border-radius: 0.55rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  pointer-events: none;
  white-space: nowrap;
  background: linear-gradient(165deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.52) 100%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.85),
    0 3px 10px -4px rgba(15,23,42,0.15);
  font-variant-numeric: tabular-nums;
}
.mountain-price-tag.up { color: #ef4444; border-color: rgba(239,68,68,0.25); background: linear-gradient(165deg, rgba(254,242,242,0.75) 0%, rgba(254,226,226,0.45) 100%); }
.mountain-price-tag.down { color: #10b981; border-color: rgba(16,185,129,0.25); background: linear-gradient(165deg, rgba(209,250,229,0.7) 0%, rgba(187,247,208,0.4) 100%); }

/* ── 38. 添加新企业弹窗（液态磨砂玻璃） ── */
.add-co-box {
  max-width: 420px;
  background: linear-gradient(165deg, rgba(255,255,255,0.72) 0%, rgba(255,255,255,0.45) 100%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--glass-border-hi);
  border-radius: 1.25rem;
  padding: 1.4rem 1.5rem 1.5rem;
  box-shadow: var(--lg-shadow), 0 30px 70px -20px rgba(15,23,42,0.12);
}
.addco-fields {
  display: flex; flex-direction: column; gap: 0.85rem;
  margin: 0.8rem 0 1.2rem;
}
.addco-logo-area {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem;
  width: 100%; height: 90px;
  border: 2px dashed var(--glass-border);
  border-radius: 0.8rem;
  background: rgba(248,250,252,0.6);
  cursor: pointer;
  transition: all 0.22s var(--smooth);
}
.addco-logo-area:hover {
  border-color: var(--brand);
  background: rgba(56,189,248,0.06);
}
.addco-plus {
  font-size: 1.4rem; color: var(--ink-3);
  transition: color 0.2s;
}
.addco-logo-area:hover .addco-plus { color: var(--brand); }
.addco-hint { font-size: 0.72rem; color: var(--ink-3); }
.addco-logo-preview {
  width: 80px; height: 80px;
  object-fit: contain;
  border-radius: 0.6rem;
  border: 1px solid var(--glass-border);
  margin: 0 auto; display: block;
}
.v2-textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--glass-border);
  border-radius: 0.65rem;
  font-size: 0.85rem;
  font-family: inherit;
  background: rgba(255,255,255,0.7);
  color: var(--ink);
  resize: vertical;
  min-height: 60px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.v2-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

/* ── 37. 减少动效偏好 ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .scroll-reveal { opacity: 1; transform: none; }
}
