/* Generated file. Source: shared/brand/styles/life/life-tokens.css. Do not edit directly. Run: node tools/brand/sync-shared-brand.mjs */
/* ============================================================
   life-tokens.css — life.tomatronic.com 设计令牌
   继承 shared/brand/styles/brand-tokens.css，只做 life 扩展
   ============================================================ */

:root {
  /* ── 基底（继承品牌色） ── */
  --life-bg: var(--bg);                          /* #0A0A0C */
  --life-surface: var(--panel);                  /* #161620 */
  --life-surface-hover: var(--panel2);           /* #1c1c28 */

  /* ── 文字（继承品牌文字） ── */
  --life-text: var(--text);                      /* #E8E6E0 */
  --life-text-secondary: var(--muted-soft);      /* rgba(232,230,224,.78) */
  --life-text-muted: #5C5C72;

  /* ── Life 专属强调色：世界树绿（品牌 G 令牌） ── */
  --life-accent: var(--G);                       /* #43A316 */
  --life-accent-soft: rgba(67,163,22,0.14);
  --life-accent-line: rgba(67,163,22,0.42);
  --life-accent-hover: rgba(67,163,22,0.08);
  --life-accent-contrast: var(--text);
  --life-accent-glow: rgba(67,163,22,0.18);

  /* ── 辅色：深绿 ── */
  --life-accent-alt: #52B788;
  --life-accent-alt-hover: #3D9B6E;

  /* ── 状态色 ── */
  --life-success: #34D399;
  --life-warning: #FBBF24;
  --life-error: #F87171;
  --life-error-bg: rgba(248, 113, 113, 0.1);

  /* ── 边框 ── */
  --life-border: rgba(255,255,255,0.12);
  --life-border-light: var(--line-strong);        /* rgba(255,255,255,0.08) */

  /* ── 浮雕 ── */
  --life-emboss-highlight: rgba(255,255,255,0.10);
  --life-emboss-shadow: rgba(0,0,0,0.45);
  --life-emboss-depth: 0 2px 12px rgba(0,0,0,0.50);

  /* ── 终端 ── */
  --life-terminal-prompt: var(--life-accent);     /* #43A316 */

  /* ── 屏幕氛围 ── */
  --life-screen-glow: rgba(67,163,22,0.08);

  /* ── 圆角 ── */
  --life-radius-sm: 4px;
  --life-radius: 8px;
  --life-radius-lg: 16px;

  /* ── 间距（内边距） ── */
  --life-inset: 20px;
  --life-inset-sm: 12px;

  /* ── 字体（继承品牌） ── */
  --life-font: var(--font-main);                 /* Noto Sans SC */
  --life-font-mono: var(--font-mono);            /* JetBrains Mono */

  /* ── 动效 ── */
  --life-transition: 0.2s ease;

  /* ── z-index 层级（header 由 web-page-shell 管理） ── */
  --life-z-modal: 200;

  /* ── 卡片（新增） ── */
  --life-card-bg: var(--life-surface);
  --life-panel-bg: rgba(16, 18, 28, 0.95);
  --life-spec-label: var(--life-text-muted);
  --life-spec-value: var(--life-text);
  --life-section-accent: var(--life-accent-alt);
  --life-card-glow: var(--life-accent-glow);
  --life-status-active: var(--life-success);
  --life-grid-overlay: rgba(255,255,255,0.025);
  --life-card-radius: 12px;
  --life-card-padding: 14px;
}
