{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "linyi-theme",
  "type": "registry:style",
  "title": "Linyi UI 主题样式包",
  "description": "东方素宣 (#EFECE4) 与端砚黑漆 (#12110F) 双主题变量、Tailwind v4 @theme 映射、同心圆角容器、无材质平面按钮与薄液态玻璃边框流光样式表。",
  "dependencies": [],
  "cssVars": {
    "light": {
      "bg-canvas": "#EFECE4",
      "bg-surface": "#F9F7F1",
      "bg-surface-2": "#F2EEE4",
      "bg-well": "#E5E0D4",
      "fg-primary": "#1F1C18",
      "fg-secondary": "#524B42",
      "fg-muted": "#6B6257",
      "accent": "#C23B26",
      "status-success": "#2C6B5E"
    },
    "dark": {
      "bg-canvas": "#12110F",
      "bg-surface": "#1A1815",
      "bg-surface-2": "#221F1B",
      "bg-well": "#0D0C0A",
      "fg-primary": "#F3EFE6",
      "fg-secondary": "#B3ACA0",
      "fg-muted": "#948D80",
      "accent": "#DA523B",
      "status-success": "#4AA38E"
    }
  },
  "files": [
    {
      "path": "src/styles/primitives.css",
      "target": "styles/linyi-theme.css",
      "type": "registry:file",
      "content": "/* Linyi UI Portable Theme Bundle (tokens + presets + primitives) */\n\n@custom-variant dark (&:where([data-theme=obsidian], [data-theme=obsidian] *, [data-theme=dark], [data-theme=dark] *));\n\n/* ============================================================================\n   LINYI UI — TAILWIND V4 @theme inline SEMANTIC TOKENS\n   Exposes every design token directly as Tailwind utility classes (bg-surface,\n   text-fg-secondary, border-line, rounded-panel, h-control-md, etc.)\n   ============================================================================ */\n\n@theme inline {\n  /* Typography */\n  --font-sans: var(--font-sans-stack);\n  --font-serif: var(--font-serif-stack);\n  --font-mono: var(--font-mono-stack);\n\n  /* Surface & Canvas */\n  --color-canvas: var(--bg-canvas);\n  --color-surface: var(--bg-surface);\n  --color-surface-2: var(--bg-surface-2);\n  --color-surface-hover: var(--surface-hover);\n  --color-surface-active: var(--surface-active);\n  --color-well: var(--bg-well);\n  --color-inverse: var(--bg-inverse);\n\n  /* Foreground */\n  --color-fg: var(--fg-primary);\n  --color-fg-secondary: var(--fg-secondary);\n  --color-fg-muted: var(--fg-muted);\n  --color-fg-inverse: var(--fg-inverse);\n\n  /* Hairline Borders */\n  --color-line: var(--line-subtle);\n  --color-line-strong: var(--line-strong);\n  --color-line-well: var(--line-well);\n\n  /* Ink Five Tones (墨分五色: 焦 浓 重 淡 清) + seal ink */\n  --color-ink-1: var(--ink-1);\n  --color-ink-2: var(--ink-2);\n  --color-ink-3: var(--ink-3);\n  --color-ink-4: var(--ink-4);\n  --color-ink-5: var(--ink-5);\n  --color-ink-paper: var(--ink-paper);\n  --color-seal: var(--seal-ink);\n  --font-kai: var(--font-kai-stack);\n\n  /* Single Accent (Industrial Vermilion) */\n  --color-accent: var(--accent);\n  --color-accent-hover: var(--accent-hover);\n  --color-accent-active: var(--accent-active);\n  --color-accent-soft: var(--accent-soft);\n  --color-accent-border: var(--accent-border);\n  --color-accent-fg: var(--accent-fg);\n\n  /* Semantic Status Colors */\n  --color-success: var(--status-success);\n  --color-success-soft: var(--status-success-soft);\n  --color-success-border: var(--status-success-border);\n  --color-warning: var(--status-warning);\n  --color-warning-soft: var(--status-warning-soft);\n  --color-warning-border: var(--status-warning-border);\n  --color-danger: var(--status-danger);\n  --color-danger-soft: var(--status-danger-soft);\n  --color-danger-border: var(--status-danger-border);\n  --color-info: var(--status-info);\n  --color-info-soft: var(--status-info-soft);\n  --color-info-border: var(--status-info-border);\n\n  /* Data Visualization Palette (8-color calibrated low-saturation scale) */\n  --color-chart-1: var(--chart-1);\n  --color-chart-2: var(--chart-2);\n  --color-chart-3: var(--chart-3);\n  --color-chart-4: var(--chart-4);\n  --color-chart-5: var(--chart-5);\n  --color-chart-6: var(--chart-6);\n  --color-chart-7: var(--chart-7);\n  --color-chart-8: var(--chart-8);\n\n  /* Concentric Radius Ladder */\n  --radius-panel: var(--radius-panel-val);\n  --radius-well: var(--radius-well-val);\n  --radius-control: var(--radius-control-val);\n  --radius-badge: var(--radius-badge-val);\n  --radius-pill: 9999px;\n\n  /* Unified Control Height & Density Spacing Ladder */\n  --spacing-control-sm: var(--control-h-sm);\n  --spacing-control-md: var(--control-h-md);\n  --spacing-control-lg: var(--control-h-lg);\n  --spacing-density-card: var(--density-pad-card);\n  --spacing-density-cell-x: var(--density-pad-cell-x);\n  --spacing-density-cell-y: var(--density-pad-cell-y);\n  --spacing-density-gap: var(--density-gap);\n  --spacing-density-row: var(--density-row-h);\n\n  /* Elevation & Shadows (restrained, hairline-first) */\n  --shadow-panel: var(--elevation-panel);\n  --shadow-popover: var(--elevation-popover);\n  --shadow-dialog: var(--elevation-dialog);\n\n  /* Z-Index Scale\n     浮层必须高于模态层：对话框 / 抽屉内打开的下拉、选择、气泡与右键菜单\n     会被传送到 body 末尾，若低于模态层会被遮挡。文字提示再高一级，\n     保证浮层内部的提示也可见；全局通知始终位于最顶层。 */\n  --z-sticky: 20;\n  --z-header: 40;\n  --z-modal: 60;\n  --z-popover: 80;\n  --z-tooltip: 90;\n  --z-toast: 100;\n}\n\n/* ============================================================================\n   SHARED STRUCTURAL TOKENS (Typography, Concentric Geometry, Control Scale)\n   ============================================================================ */\n\n:root {\n  --font-sans-stack: -apple-system, BlinkMacSystemFont, \"SF Pro Display\", \"PingFang SC\", \"HarmonyOS Sans SC\", \"Hiragino Sans GB\", \"Microsoft YaHei UI\", \"Microsoft YaHei\", \"Noto Sans SC\", \"Helvetica Neue\", Arial, sans-serif;\n  --font-serif-stack: \"Songti SC\", \"Source Han Serif SC\", \"Noto Serif SC\", \"STSong\", \"New York\", \"Iowan Old Style\", \"Baskerville\", Georgia, serif;\n  --font-kai-stack: \"LXGW WenKai\", \"Kaiti SC\", \"STKaiti\", \"KaiTi\", \"Songti SC\", serif;\n  --font-mono-stack: \"SF Mono\", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", monospace;\n\n  /* Geometry & Control Scale (Default Density) */\n  --radius-panel-val: 20px;\n  --radius-well-val: 12px;\n  --radius-control-val: 10px;\n  --radius-badge-val: 6px;\n  --control-h-sm: 2rem;          /* 32px */\n  --control-h-md: 2.25rem;       /* 36px */\n  --control-h-lg: 2.625rem;      /* 42px */\n  --density-pad-card: 1.25rem;   /* 20px */\n  --density-pad-cell-x: 0.75rem; /* 12px */\n  --density-pad-cell-y: 0.625rem;/* 10px */\n  --density-gap: 0.75rem;        /* 12px */\n  --density-row-h: 2.75rem;      /* 44px */\n  --leading-density: 1.5;\n\n  /* Typography Scale */\n  --type-display-size: clamp(2rem, 4vw, 3.25rem);\n  --type-heading-size: 1.5rem;\n  --type-subheading-size: 1.125rem;\n  --type-body-size: 0.875rem;\n  --type-caption-size: 0.75rem;\n  --type-micro-size: 0.6875rem;\n\n  /* Overrideable Oriental Mineral Pigment Defaults (可覆盖矿物颜料默认令牌) */\n  --oriental-cinnabar: #C23B26;\n  --oriental-jade-mutton: #E6E2D6;\n  --oriental-jade-celadon: #C8D6CA;\n  --oriental-jade-spinach: #3E584B;\n  --oriental-celadon: #AFC4C1;\n  --oriental-gold: #D4B475;\n  --oriental-lacquer-red: #8F2519;\n  --oriental-lacquer-black: #1B120E;\n  --oriental-bronze: #4C6B5C;\n\n  /* Easing Tokens */\n  --ease-spring: cubic-bezier(0.2, 0, 0, 1);\n  --ease-out-soft: cubic-bezier(0.22, 1, 0.36, 1);\n}\n\n/* Information Density Presets: compact (tables/admin) · default · comfortable (editorial/touch) */\n[data-density=\"compact\"] {\n  --control-h-sm: 1.75rem;       /* 28px */\n  --control-h-md: 2rem;          /* 32px */\n  --control-h-lg: 2.25rem;       /* 36px */\n  --density-pad-card: 0.875rem;  /* 14px */\n  --density-pad-cell-x: 0.625rem;/* 10px */\n  --density-pad-cell-y: 0.375rem;/* 6px */\n  --density-gap: 0.5rem;         /* 8px */\n  --density-row-h: 2.125rem;     /* 34px */\n  --leading-density: 1.375;\n}\n\n[data-density=\"comfortable\"] {\n  --control-h-sm: 2.25rem;       /* 36px */\n  --control-h-md: 2.625rem;      /* 42px */\n  --control-h-lg: 3rem;          /* 48px */\n  --density-pad-card: 1.5rem;    /* 24px */\n  --density-pad-cell-x: 1rem;    /* 16px */\n  --density-pad-cell-y: 0.875rem;/* 14px */\n  --density-gap: 1rem;           /* 16px */\n  --density-row-h: 3.25rem;      /* 52px */\n  --leading-density: 1.6;\n}\n\n\n/* ============================================================================\n   LINYI UI — PRESET: EASTERN XUAN PAPER (东方素宣 · 浅色)\n   Canvas #EFECE4 · Surface #F9F7F1 · Cinnabar #C23B26 · Pine-Jade #2C6B5E\n   ============================================================================ */\n\n:root,\n[data-theme=\"paper\"],\n[data-theme=\"light\"] {\n  color-scheme: light;\n\n  /* Eastern Mulberry Xuan Paper & Silk Mount (东方素宣 · 温润楮纸与绢裱 — 浅色) */\n  --bg-canvas: #EFECE4;\n  --bg-canvas-glow:\n    radial-gradient(1250px 680px at 22% -120px, rgba(255, 253, 246, 0.92) 0%, rgba(239, 236, 228, 0) 68%),\n    radial-gradient(900px 520px at 88% 92%, rgba(196, 183, 160, 0.24) 0%, rgba(239, 236, 228, 0) 68%);\n  --bg-surface: #F9F7F1;\n  --bg-surface-2: #F2EEE4;\n  --surface-hover: #FFFFFF;\n  --surface-active: #EAE5D9;\n  --bg-well: #E5E0D4;\n  --bg-inverse: #1F1C18;\n  --fg-inverse: #F5F2EA;\n\n  --fg-primary: #1F1C18;\n  --fg-secondary: #524B42;\n  --fg-muted: #6B6257;\n\n  --line-subtle: rgba(54, 44, 30, 0.105);\n  --line-strong: rgba(54, 44, 30, 0.21);\n  --line-well: rgba(54, 44, 30, 0.095);\n\n  --panel-shadow:\n    0 1px 2px rgba(46, 36, 22, 0.065),\n    0 10px 26px -16px rgba(46, 36, 22, 0.14),\n    inset 0 1px 0 rgba(255, 254, 250, 0.98),\n    inset 0 -1px 0 rgba(120, 102, 76, 0.085);\n  --panel-shadow-hover:\n    0 3px 8px rgba(46, 36, 22, 0.085),\n    0 16px 32px -18px rgba(46, 36, 22, 0.19),\n    inset 0 1px 0 rgba(255, 255, 252, 1),\n    inset 0 -1px 0 rgba(120, 102, 76, 0.12);\n  --well-shadow:\n    inset 0 2px 5px rgba(46, 36, 22, 0.09),\n    inset 0 1px 1.5px rgba(46, 36, 22, 0.055),\n    inset 0 -1px 0 rgba(255, 253, 248, 0.86);\n  --grain-opacity: 0.068;\n  --grain-blend: multiply;\n  --paper-grain-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%235B5349' stroke-opacity='0.28' stroke-width='0.6' stroke-linecap='round'%3E%3Cpath d='M4 11c5-2 9 1 14-1M28 6c4 2 8-1 13 1M49 14c4-1 7 1 11 0M9 28c6 1 11-2 16 0M34 25c5-2 10 1 15-1M5 45c5-1 10 2 15 0M26 42c6 1 11-1 17 1M47 48c4-2 9 1 13-1M14 58c5 1 10-1 16 0M41 59c5-1 9 1 14 0'/%3E%3C/g%3E%3Cg fill='%235B5349' fill-opacity='0.22'%3E%3Ccircle cx='12' cy='18' r='0.6'/%3E%3Ccircle cx='39' cy='14' r='0.5'/%3E%3Ccircle cx='55' cy='31' r='0.6'/%3E%3Ccircle cx='21' cy='36' r='0.5'/%3E%3Ccircle cx='44' cy='52' r='0.6'/%3E%3Ccircle cx='8' cy='54' r='0.5'/%3E%3C/g%3E%3C/svg%3E\");\n\n  /* Authentic Cinnabar Seal Vermilion (朱砂印泥) + Warm Pine-Jade (松石黛绿) */\n  --accent: #C23B26;\n  --accent-rgb: 194, 59, 38;\n  --accent-hover: #CC412B;\n  --accent-active: #A82E1C;\n  --accent-soft: rgba(194, 59, 38, 0.10);\n  --accent-border: rgba(194, 59, 38, 0.28);\n  --accent-fg: #FFFFFF;\n\n  /* Semantic Status Tokens */\n  --status-success: #2C6B5E;\n  --status-success-soft: rgba(44, 107, 94, 0.105);\n  --status-success-border: rgba(44, 107, 94, 0.28);\n  --status-warning: #B4690E;\n  --status-warning-soft: rgba(180, 105, 14, 0.11);\n  --status-warning-border: rgba(180, 105, 14, 0.28);\n  --status-danger: #C93B2B;\n  --status-danger-soft: rgba(201, 59, 43, 0.10);\n  --status-danger-border: rgba(201, 59, 43, 0.28);\n  --status-info: #2563EB;\n  --status-info-soft: rgba(37, 99, 235, 0.10);\n  --status-info-border: rgba(37, 99, 235, 0.24);\n\n  /* Data Visualization Palette (Light Xuan — Low-Saturation Mineral Pigments) */\n  --chart-1: #C23B26;\n  --chart-2: #2C6B5E;\n  --chart-3: #3B5F8A;\n  --chart-4: #B4782C;\n  --chart-5: #7A5480;\n  --chart-6: #3F7A82;\n  --chart-7: #9A5A4A;\n  --chart-8: #6E6A60;\n\n  /* Elevation Shadows */\n  --elevation-panel: 0 1px 2px rgba(46, 36, 22, 0.055), inset 0 1px 0 rgba(255, 254, 250, 0.92);\n  --elevation-popover: 0 14px 32px -12px rgba(46, 36, 22, 0.18), 0 2px 6px rgba(46, 36, 22, 0.06);\n  --elevation-dialog: 0 28px 64px -18px rgba(46, 36, 22, 0.28), 0 4px 12px rgba(46, 36, 22, 0.08);\n  --scrim-backdrop: rgba(28, 24, 18, 0.42);\n\n  /* Thin Optical CSS Liquid Glass (Light — flat at rest, whisper specular on hover) */\n  --og-clear-bg: rgba(255, 255, 255, 0.48);\n  --og-clear-bg-hover: rgba(255, 255, 255, 0.72);\n  --og-clear-bg-press: rgba(230, 225, 213, 0.84);\n  --og-clear-fg: #1F1C18;\n  --og-clear-rim-a: rgba(31, 28, 24, 0.24);\n  --og-clear-rim-b: rgba(255, 255, 255, 0.85);\n  --og-clear-shadow:\n    0 0.5px 1px rgba(31, 28, 24, 0.04),\n    inset 0 0 0 1px rgba(31, 28, 24, 0.11),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.75);\n  --og-clear-shadow-hover:\n    0 1px 2px rgba(31, 28, 24, 0.06),\n    inset 0 0 0 1px rgba(31, 28, 24, 0.19),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.92);\n  --og-clear-shadow-press:\n    inset 0 0 0 1px rgba(31, 28, 24, 0.18),\n    inset 0 1px 1.5px rgba(31, 28, 24, 0.09);\n\n  --og-dark-bg: rgba(31, 28, 24, 0.90);\n  --og-dark-bg-hover: rgba(44, 40, 34, 0.95);\n  --og-dark-bg-press: rgba(20, 18, 15, 0.98);\n  --og-dark-fg: #F5F2EA;\n  --og-dark-shadow:\n    0 1px 2px rgba(18, 16, 13, 0.18),\n    inset 0 0 0 1px rgba(255, 250, 240, 0.10),\n    inset 0 0.5px 0 rgba(255, 250, 240, 0.20);\n  --og-dark-shadow-hover:\n    0 1px 3px rgba(18, 16, 13, 0.24),\n    inset 0 0 0 1px rgba(255, 250, 240, 0.18),\n    inset 0 0.5px 0 rgba(255, 250, 240, 0.30);\n  --og-dark-shadow-press:\n    inset 0 0 0 1px rgba(255, 250, 240, 0.08),\n    inset 0 1px 2px rgba(0, 0, 0, 0.42);\n\n  --og-accent-bg: rgba(194, 59, 38, 0.91);\n  --og-accent-bg-hover: rgba(204, 65, 43, 0.96);\n  --og-accent-bg-press: rgba(168, 46, 28, 0.98);\n  --og-accent-shadow:\n    0 1px 2px rgba(120, 26, 12, 0.16),\n    inset 0 0 0 1px rgba(128, 28, 14, 0.26),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.30);\n  --og-accent-shadow-hover:\n    0 1px 3px rgba(120, 26, 12, 0.20),\n    inset 0 0 0 1px rgba(128, 28, 14, 0.30),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.44);\n  --og-accent-shadow-press:\n    inset 0 0 0 1px rgba(96, 18, 8, 0.38),\n    inset 0 1px 2px rgba(60, 10, 4, 0.28);\n\n  --og-specular-veil: rgba(255, 255, 255, 0.13);\n  --og-specular-clear-veil: rgba(255, 255, 255, 0.30);\n  --beam-clear-a: rgba(194, 59, 38, 0.16);\n  --beam-clear-b: rgba(194, 59, 38, 0.66);\n  --beam-clear-c: rgba(206, 158, 84, 0.42);\n  --beam-dark-a: rgba(245, 236, 218, 0.20);\n  --beam-dark-b: rgba(255, 248, 232, 0.86);\n  --beam-dark-c: rgba(218, 174, 102, 0.42);\n  --beam-accent-a: rgba(255, 224, 198, 0.36);\n  --beam-accent-b: rgba(255, 250, 242, 0.94);\n  --beam-accent-c: rgba(255, 212, 180, 0.40);\n\n  /* Flat Hairline Controls (Light — Linear / Apple Notes restraint) */\n  --ui-btn-bg: #FCFBF7;\n  --ui-btn-bg-hover: #FFFFFF;\n  --ui-btn-bg-press: #EAE5D9;\n  --ui-btn-shadow: 0 0.5px 1px rgba(31, 28, 24, 0.05), inset 0 0 0 1px rgba(31, 28, 24, 0.10);\n  --ui-btn-shadow-hover: 0 1px 2px rgba(31, 28, 24, 0.06), inset 0 0 0 1px rgba(31, 28, 24, 0.18);\n  --ui-btn-shadow-press: inset 0 0 0 1px rgba(31, 28, 24, 0.16), inset 0 1px 1.5px rgba(31, 28, 24, 0.08);\n  --ui-ghost-hover: rgba(31, 28, 24, 0.052);\n  --ui-ghost-press: rgba(31, 28, 24, 0.095);\n  --ui-solid-hover: #302B25;\n  --ui-solid-press: #14120F;\n\n  --og-bar-bg: rgba(242, 239, 231, 0.80);\n  --tab-pill-shadow: 0 0.5px 1.5px rgba(31, 28, 24, 0.08), inset 0 0 0 0.5px rgba(31, 28, 24, 0.08);\n\n  /* Ink Five Tones (墨分五色) — 焦 浓 重 淡 清, on xuan paper */\n  --ink-1: #14110E;\n  --ink-2: #2E2924;\n  --ink-3: #57504A;\n  --ink-4: #8F877D;\n  --ink-5: #C9C2B6;\n  --ink-paper: #F3EFE5;\n  --seal-ink: #B8382A;\n\n  /* Flat Restrained Controls (浅色 — 1px hairline, zero bounce) */\n  --tactile-bg: #FCFBF7;\n  --tactile-bg-hover: #FFFFFF;\n  --tactile-shadow: 0 0.5px 1px rgba(31, 28, 24, 0.05);\n  --tactile-shadow-hover: 0 1px 2px rgba(31, 28, 24, 0.06);\n  --tactile-shadow-press: inset 0 1px 1.5px rgba(31, 28, 24, 0.08);\n  --lacquer-edge: rgba(31, 28, 24, 0.11);\n  --lacquer-edge-hover: rgba(31, 28, 24, 0.20);\n  --groove-bg: #EAE5D9;\n  --track-shadow: inset 0 1px 2px rgba(31, 28, 24, 0.07);\n  --gilt-line: linear-gradient(90deg, transparent, rgba(206, 164, 92, 0.85) 30%, rgba(232, 196, 128, 1) 50%, rgba(206, 164, 92, 0.85) 70%, transparent);\n  --tactile-accent-bg: rgba(194, 59, 38, 0.085);\n  --tactile-accent-shadow: 0 0.5px 1px rgba(194, 59, 38, 0.08);\n\n  /* Material Surface & Codewell Tokens (Xuan Light) */\n  --well-surface-bg: #F3EFE5;\n  --well-surface-grad: linear-gradient(180deg, #EFEADF 0%, #F6F2E9 100%);\n  --well-surface-border: rgba(150, 120, 70, 0.16);\n  --well-surface-shadow: inset 0 1px 4px rgba(90, 70, 40, 0.12), inset 0 -1px 0 rgba(255, 255, 255, 0.8);\n  --lacquer-line-subtle: rgba(150, 118, 66, 0.16);\n  --lacquer-line-strong: rgba(150, 118, 66, 0.32);\n  --lacquer-surface-bg: #F6F2E8;\n  --lacquer-surface-grad:\n    radial-gradient(120% 60% at 50% -24%, rgba(255, 255, 255, 0.95), transparent 62%),\n    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%),\n    linear-gradient(180deg, #FCFAF4 0%, #F6F2E8 55%, #EFE9DC 100%);\n  --lacquer-surface-border: rgba(150, 120, 70, 0.22);\n  --lacquer-surface-border-hover: rgba(150, 120, 70, 0.34);\n  --lacquer-surface-shadow:\n    0 1px 2px rgba(70, 55, 30, 0.07),\n    0 12px 26px -20px rgba(70, 55, 30, 0.34),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.55),\n    inset 0 -2px 3px rgba(150, 120, 70, 0.08);\n  --lacquer-surface-shadow-hover:\n    0 2px 3px rgba(70, 55, 30, 0.08),\n    0 16px 30px -20px rgba(70, 55, 30, 0.4),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.6),\n    inset 0 -2px 3px rgba(150, 120, 70, 0.08);\n  --lacquer-gilt-shadow: 0 1px 0 rgba(255, 250, 236, 0.9), 0 0 6px rgba(214, 176, 106, 0.3);\n  --lacquer-gilt-opacity: 0.85;\n  --code-surface-bg: #141412;\n  --code-surface-fg: #E6E4DC;\n  --thumb-bg: #FFFFFF;\n  --metal-front-bg: linear-gradient(135deg, #272724 0%, #151513 48%, #2E2D29 100%);\n  --metal-front-fg: #F3F1EC;\n  --metal-back-bg: linear-gradient(135deg, #EAE7DE 0%, #F7F5EF 55%, #DFDBD0 100%);\n  --metal-back-fg: #161614;\n}\n\n\n/* ============================================================================\n   LINYI UI — PRESET: INKSTONE LACQUER (端砚黑漆 · 深色)\n   Canvas #12110F · Surface #1A1815 · Cinnabar #DA523B · Pine-Jade #4AA38E\n   ============================================================================ */\n\n[data-theme=\"obsidian\"],\n[data-theme=\"dark\"] {\n  color-scheme: dark;\n  --bg-canvas: #12110F;\n  --bg-canvas-glow:\n    radial-gradient(1200px 600px at 26% -120px, rgba(242, 228, 202, 0.075) 0%, rgba(18, 17, 15, 0) 68%),\n    radial-gradient(700px 420px at 84% 16%, rgba(194, 59, 38, 0.055) 0%, rgba(18, 17, 15, 0) 65%);\n  --bg-surface: #1A1815;\n  --bg-surface-2: #221F1B;\n  --surface-hover: #24211C;\n  --surface-active: #2C2822;\n  --bg-well: #0D0C0A;\n  --bg-inverse: #F3EFE6;\n  --fg-inverse: #171512;\n\n  --fg-primary: #F3EFE6;\n  --fg-secondary: #B3ACA0;\n  --fg-muted: #948D80;\n\n  --line-subtle: rgba(245, 236, 218, 0.098);\n  --line-strong: rgba(245, 236, 218, 0.21);\n  --line-well: rgba(245, 236, 218, 0.072);\n\n  --panel-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.54),\n    0 14px 30px -18px rgba(0, 0, 0, 0.84),\n    inset 0 1px 0 rgba(245, 236, 218, 0.115),\n    inset 0 -1px 0 rgba(0, 0, 0, 0.45);\n  --panel-shadow-hover:\n    0 3px 10px rgba(0, 0, 0, 0.66),\n    0 18px 34px -18px rgba(0, 0, 0, 0.90),\n    inset 0 1px 0 rgba(245, 236, 218, 0.17),\n    inset 0 -1px 0 rgba(0, 0, 0, 0.55);\n  --well-shadow:\n    inset 0 2px 6px rgba(0, 0, 0, 0.78),\n    inset 0 -1px 0 rgba(245, 236, 218, 0.07);\n  --grain-opacity: 0.055;\n  --grain-blend: screen;\n\n  --accent: #DA523B;\n  --accent-rgb: 218, 82, 59;\n  --accent-hover: #E25B44;\n  --accent-active: #BE422E;\n  --accent-soft: rgba(218, 82, 59, 0.145);\n  --accent-border: rgba(218, 82, 59, 0.36);\n  --accent-fg: #FFFFFF;\n\n  /* Semantic Status Tokens (Inkstone) */\n  --status-success: #4AA38E;\n  --status-success-soft: rgba(74, 163, 142, 0.145);\n  --status-success-border: rgba(74, 163, 142, 0.32);\n  --status-warning: #E5A13E;\n  --status-warning-soft: rgba(229, 161, 62, 0.14);\n  --status-warning-border: rgba(229, 161, 62, 0.32);\n  --status-danger: #F06A5B;\n  --status-danger-soft: rgba(240, 106, 91, 0.14);\n  --status-danger-border: rgba(240, 106, 91, 0.32);\n  --status-info: #60A5FA;\n  --status-info-soft: rgba(96, 165, 250, 0.14);\n  --status-info-border: rgba(96, 165, 250, 0.30);\n\n  /* Data Visualization Palette (Dark Inkstone — Calibrated Luminous Mineral Hues) */\n  --chart-1: #E36B56;\n  --chart-2: #52B49E;\n  --chart-3: #6C9AD0;\n  --chart-4: #DFA453;\n  --chart-5: #B288BA;\n  --chart-6: #5FB3BE;\n  --chart-7: #CC8472;\n  --chart-8: #A19A8E;\n\n  /* Elevation Shadows (Inkstone) */\n  --elevation-panel: 0 1px 2px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(245, 236, 218, 0.07);\n  --elevation-popover: 0 18px 38px -10px rgba(0, 0, 0, 0.72), 0 2px 6px rgba(0, 0, 0, 0.44);\n  --elevation-dialog: 0 32px 72px -16px rgba(0, 0, 0, 0.84), 0 4px 16px rgba(0, 0, 0, 0.56);\n  --scrim-backdrop: rgba(8, 8, 7, 0.64);\n\n  --og-clear-bg: rgba(245, 236, 218, 0.065);\n  --og-clear-bg-hover: rgba(245, 236, 218, 0.11);\n  --og-clear-bg-press: rgba(13, 12, 10, 0.68);\n  --og-clear-fg: #F3EFE6;\n  --og-clear-rim-a: rgba(245, 236, 218, 0.42);\n  --og-clear-rim-b: rgba(245, 236, 218, 0.18);\n  --og-clear-shadow:\n    0 1px 1.5px rgba(0, 0, 0, 0.26),\n    inset 0 0 0 1px rgba(245, 236, 218, 0.11),\n    inset 0 0.5px 0 rgba(255, 248, 235, 0.14);\n  --og-clear-shadow-hover:\n    0 1px 2px rgba(0, 0, 0, 0.34),\n    inset 0 0 0 1px rgba(245, 236, 218, 0.20),\n    inset 0 0.5px 0 rgba(255, 248, 235, 0.22);\n  --og-clear-shadow-press:\n    inset 0 0 0 1px rgba(245, 236, 218, 0.14),\n    inset 0 1px 2px rgba(0, 0, 0, 0.48);\n\n  --og-dark-bg: rgba(243, 239, 230, 0.92);\n  --og-dark-bg-hover: rgba(255, 255, 255, 0.98);\n  --og-dark-bg-press: rgba(221, 215, 202, 0.96);\n  --og-dark-fg: #14120F;\n  --og-dark-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.36),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.45),\n    inset 0 0.5px 0 #ffffff;\n  --og-dark-shadow-hover:\n    0 1px 3px rgba(0, 0, 0, 0.42),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.65),\n    inset 0 0.5px 0 #ffffff;\n  --og-dark-shadow-press:\n    inset 0 0 0 1px rgba(31, 28, 24, 0.18),\n    inset 0 1px 2px rgba(20, 18, 15, 0.18);\n\n  --og-accent-bg: rgba(218, 82, 59, 0.88);\n  --og-accent-bg-hover: rgba(226, 91, 68, 0.94);\n  --og-accent-bg-press: rgba(190, 66, 46, 0.98);\n  --og-accent-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.36),\n    inset 0 0 0 1px rgba(255, 224, 210, 0.16),\n    inset 0 0.5px 0 rgba(255, 238, 228, 0.34);\n  --og-accent-shadow-hover:\n    0 1px 3px rgba(0, 0, 0, 0.42),\n    inset 0 0 0 1px rgba(255, 228, 216, 0.26),\n    inset 0 0.5px 0 rgba(255, 242, 235, 0.46);\n  --og-accent-shadow-press:\n    inset 0 0 0 1px rgba(255, 210, 194, 0.14),\n    inset 0 1px 2px rgba(0, 0, 0, 0.42);\n\n  --og-specular-veil: rgba(255, 255, 255, 0.11);\n  --og-specular-clear-veil: rgba(245, 236, 218, 0.09);\n  --beam-clear-a: rgba(245, 236, 218, 0.16);\n  --beam-clear-b: rgba(245, 236, 218, 0.82);\n  --beam-clear-c: rgba(218, 82, 59, 0.52);\n  --beam-dark-a: rgba(194, 59, 38, 0.16);\n  --beam-dark-b: rgba(194, 59, 38, 0.70);\n  --beam-dark-c: rgba(214, 168, 96, 0.42);\n  --beam-accent-a: rgba(255, 228, 212, 0.34);\n  --beam-accent-b: rgba(255, 248, 240, 0.96);\n  --beam-accent-c: rgba(255, 206, 180, 0.42);\n\n  /* Flat Hairline Controls (Dark — Linear / Apple Notes restraint) */\n  --ui-btn-bg: #1E1C18;\n  --ui-btn-bg-hover: #25221D;\n  --ui-btn-bg-press: #14120F;\n  --ui-btn-shadow:\n    0 1px 1.5px rgba(0, 0, 0, 0.28),\n    inset 0 0 0 1px rgba(245, 236, 218, 0.095),\n    inset 0 0.5px 0 rgba(255, 248, 235, 0.08);\n  --ui-btn-shadow-hover:\n    0 1px 2px rgba(0, 0, 0, 0.34),\n    inset 0 0 0 1px rgba(245, 236, 218, 0.17),\n    inset 0 0.5px 0 rgba(255, 248, 235, 0.14);\n  --ui-btn-shadow-press:\n    inset 0 0 0 1px rgba(245, 236, 218, 0.12),\n    inset 0 1px 2px rgba(0, 0, 0, 0.48);\n  --ui-ghost-hover: rgba(245, 236, 218, 0.068);\n  --ui-ghost-press: rgba(245, 236, 218, 0.115);\n  --ui-solid-hover: #FFFFFF;\n  --ui-solid-press: #DDD7CA;\n\n  --og-bar-bg: rgba(21, 19, 16, 0.82);\n  --tab-pill-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), inset 0 0.5px 0 rgba(255, 248, 235, 0.10);\n\n  /* Ink Five Tones inverted to moon-white on inkstone (墨分五色 · 深色) */\n  --ink-1: #F4EFE6;\n  --ink-2: #D9D2C6;\n  --ink-3: #A69E92;\n  --ink-4: #6E675E;\n  --ink-5: #3A352F;\n  --ink-paper: #14110E;\n  --seal-ink: #D2533C;\n\n  /* Flat Restrained Controls (深色 — 1px hairline, zero bounce) */\n  --tactile-bg: #1E1C18;\n  --tactile-bg-hover: #25221D;\n  --tactile-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.28), inset 0 0.5px 0 rgba(255, 248, 235, 0.08);\n  --tactile-shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.34), inset 0 0.5px 0 rgba(255, 248, 235, 0.13);\n  --tactile-shadow-press: inset 0 1px 2px rgba(0, 0, 0, 0.48);\n  --lacquer-edge: rgba(245, 236, 218, 0.10);\n  --lacquer-edge-hover: rgba(245, 236, 218, 0.19);\n  --groove-bg: #0F0E0C;\n  --track-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);\n  --tactile-accent-bg: rgba(218, 82, 59, 0.13);\n  --tactile-accent-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);\n\n  /* Material Surface & Codewell Tokens (Inkstone Dark) */\n  --well-surface-bg: #100D0B;\n  --well-surface-grad: linear-gradient(180deg, #0C0A08 0%, #14100D 100%);\n  --well-surface-border: rgba(196, 154, 88, 0.12);\n  --well-surface-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7), inset 0 -1px 0 rgba(255, 236, 210, 0.04);\n  --lacquer-line-subtle: rgba(196, 154, 88, 0.13);\n  --lacquer-line-strong: rgba(196, 154, 88, 0.30);\n  --lacquer-surface-bg: #17120F;\n  --lacquer-surface-grad:\n    radial-gradient(120% 60% at 50% -24%, rgba(255, 236, 210, 0.1), transparent 62%),\n    linear-gradient(180deg, rgba(255, 240, 220, 0.045) 0%, rgba(255, 240, 220, 0) 34%),\n    linear-gradient(180deg, #221A15 0%, #17120F 55%, #110D0B 100%);\n  --lacquer-surface-border: rgba(196, 154, 88, 0.20);\n  --lacquer-surface-border-hover: rgba(196, 154, 88, 0.34);\n  --lacquer-surface-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.55),\n    0 14px 28px -18px rgba(0, 0, 0, 0.8),\n    inset 0 1px 0 rgba(255, 236, 210, 0.05),\n    inset 0 -2px 4px rgba(0, 0, 0, 0.35);\n  --lacquer-surface-shadow-hover:\n    0 2px 4px rgba(0, 0, 0, 0.62),\n    0 16px 32px -18px rgba(0, 0, 0, 0.88),\n    inset 0 1px 0 rgba(255, 236, 210, 0.08),\n    inset 0 -2px 4px rgba(0, 0, 0, 0.40);\n  --lacquer-gilt-shadow: 0 1px 0 rgba(255, 230, 190, 0.08), 0 0 8px rgba(214, 176, 106, 0.4);\n  --lacquer-gilt-opacity: 0.85;\n  --code-surface-bg: #0D0C0A;\n  --code-surface-fg: #E6E4DC;\n  --thumb-bg: #FFFFFF;\n}\n\n\n/* ============================================================================\n   LINYI UI — PRESET: NEUTRAL LIGHT (现代极简中性浅色)\n   Activate with data-preset=\"neutral\" (with light / paper theme).\n   Compatible with brand accent overrides via --accent / --accent-rgb.\n   ============================================================================ */\n\n[data-preset=\"neutral\"],\n[data-preset=\"neutral\"][data-theme=\"paper\"],\n[data-preset=\"neutral\"][data-theme=\"light\"] {\n  color-scheme: light;\n\n  --bg-canvas: #F8F9FA;\n  --bg-canvas-glow: none;\n  --bg-surface: #FFFFFF;\n  --bg-surface-2: #F3F4F6;\n  --bg-well: #ECEEF2;\n  --surface-hover: #F5F6F8;\n  --surface-active: #E8EBF0;\n  --bg-inverse: #111315;\n  --fg-inverse: #F9FAFB;\n\n  --fg-primary: #111315;\n  --fg-secondary: #434C59;\n  --fg-muted: #5E6877;\n\n  --line-subtle: rgba(17, 19, 21, 0.09);\n  --line-strong: rgba(17, 19, 21, 0.19);\n  --line-well: rgba(17, 19, 21, 0.08);\n\n  --panel-shadow:\n    0 1px 2px rgba(17, 19, 21, 0.05),\n    0 8px 20px -14px rgba(17, 19, 21, 0.10),\n    inset 0 1px 0 rgba(255, 255, 255, 0.9);\n  --panel-shadow-hover:\n    0 2px 6px rgba(17, 19, 21, 0.07),\n    0 12px 24px -16px rgba(17, 19, 21, 0.14),\n    inset 0 1px 0 rgba(255, 255, 255, 1);\n  --well-shadow:\n    inset 0 1px 3px rgba(17, 19, 21, 0.06),\n    inset 0 -1px 0 rgba(255, 255, 255, 0.8);\n  --grain-opacity: 0;\n  --grain-blend: normal;\n  --paper-grain-image: none;\n\n  /* Brandable Neutral Accent (Modern Cobalt, overrideable by host app) */\n  --accent: #2563EB;\n  --accent-rgb: 37, 99, 235;\n  --accent-hover: #1D4ED8;\n  --accent-active: #1E40AF;\n  --accent-soft: rgba(37, 99, 235, 0.10);\n  --accent-border: rgba(37, 99, 235, 0.28);\n  --accent-fg: #FFFFFF;\n\n  /* Semantic Status Tokens */\n  --status-success: #15803D;\n  --status-success-soft: rgba(21, 128, 61, 0.10);\n  --status-success-border: rgba(21, 128, 61, 0.26);\n  --status-warning: #B45309;\n  --status-warning-soft: rgba(180, 83, 9, 0.10);\n  --status-warning-border: rgba(180, 83, 9, 0.26);\n  --status-danger: #DC2626;\n  --status-danger-soft: rgba(220, 38, 38, 0.10);\n  --status-danger-border: rgba(220, 38, 38, 0.26);\n  --status-info: #2563EB;\n  --status-info-soft: rgba(37, 99, 235, 0.10);\n  --status-info-border: rgba(37, 99, 235, 0.24);\n\n  /* Data Visualization Palette (Neutral Light) */\n  --chart-1: #2563EB;\n  --chart-2: #0D9488;\n  --chart-3: #6366F1;\n  --chart-4: #D97706;\n  --chart-5: #DB2777;\n  --chart-6: #0284C7;\n  --chart-7: #7C3AED;\n  --chart-8: #64748B;\n\n  /* Elevation Shadows */\n  --elevation-panel: 0 1px 2px rgba(17, 19, 21, 0.05);\n  --elevation-popover: 0 12px 28px -10px rgba(17, 19, 21, 0.14), 0 2px 6px rgba(17, 19, 21, 0.05);\n  --elevation-dialog: 0 24px 56px -16px rgba(17, 19, 21, 0.22), 0 4px 12px rgba(17, 19, 21, 0.06);\n  --scrim-backdrop: rgba(15, 23, 42, 0.42);\n\n  /* Thin Optical Liquid Glass (Neutral Light) */\n  --og-clear-bg: rgba(255, 255, 255, 0.72);\n  --og-clear-bg-hover: rgba(255, 255, 255, 0.92);\n  --og-clear-bg-press: rgba(235, 238, 242, 0.92);\n  --og-clear-fg: #111315;\n  --og-clear-rim-a: rgba(17, 19, 21, 0.22);\n  --og-clear-rim-b: rgba(255, 255, 255, 0.90);\n  --og-clear-shadow:\n    0 0.5px 1px rgba(17, 19, 21, 0.04),\n    inset 0 0 0 1px rgba(17, 19, 21, 0.10),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.85);\n  --og-clear-shadow-hover:\n    0 1px 2px rgba(17, 19, 21, 0.06),\n    inset 0 0 0 1px rgba(17, 19, 21, 0.18),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.95);\n  --og-clear-shadow-press:\n    inset 0 0 0 1px rgba(17, 19, 21, 0.16),\n    inset 0 1px 1.5px rgba(17, 19, 21, 0.08);\n\n  --og-dark-bg: rgba(17, 19, 21, 0.92);\n  --og-dark-bg-hover: rgba(31, 35, 40, 0.96);\n  --og-dark-bg-press: rgba(9, 10, 11, 0.98);\n  --og-dark-fg: #F9FAFB;\n  --og-dark-shadow:\n    0 1px 2px rgba(17, 19, 21, 0.16),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.09),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.18);\n  --og-dark-shadow-hover:\n    0 1px 3px rgba(17, 19, 21, 0.22),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.16),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.28);\n  --og-dark-shadow-press:\n    inset 0 0 0 1px rgba(255, 255, 255, 0.07),\n    inset 0 1px 2px rgba(0, 0, 0, 0.40);\n\n  --og-accent-bg: rgba(37, 99, 235, 0.92);\n  --og-accent-bg-hover: rgba(29, 78, 216, 0.96);\n  --og-accent-bg-press: rgba(30, 64, 175, 0.98);\n  --og-accent-shadow:\n    0 1px 2px rgba(30, 64, 175, 0.18),\n    inset 0 0 0 1px rgba(30, 64, 175, 0.26),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.30);\n  --og-accent-shadow-hover:\n    0 1px 3px rgba(30, 64, 175, 0.24),\n    inset 0 0 0 1px rgba(30, 64, 175, 0.30),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.42);\n  --og-accent-shadow-press:\n    inset 0 0 0 1px rgba(30, 58, 138, 0.38),\n    inset 0 1px 2px rgba(15, 23, 42, 0.26);\n\n  --og-specular-veil: rgba(255, 255, 255, 0.14);\n  --og-specular-clear-veil: rgba(255, 255, 255, 0.34);\n  --beam-clear-a: rgba(37, 99, 235, 0.16);\n  --beam-clear-b: rgba(37, 99, 235, 0.68);\n  --beam-clear-c: rgba(99, 102, 241, 0.42);\n  --beam-dark-a: rgba(226, 232, 240, 0.20);\n  --beam-dark-b: rgba(255, 255, 255, 0.88);\n  --beam-dark-c: rgba(148, 163, 184, 0.45);\n  --beam-accent-a: rgba(191, 219, 254, 0.38);\n  --beam-accent-b: rgba(255, 255, 255, 0.94);\n  --beam-accent-c: rgba(147, 197, 253, 0.42);\n\n  /* Flat Hairline Controls (Neutral Light) */\n  --ui-btn-bg: #FFFFFF;\n  --ui-btn-bg-hover: #F5F6F8;\n  --ui-btn-bg-press: #E8EBF0;\n  --ui-btn-shadow: 0 0.5px 1px rgba(17, 19, 21, 0.05), inset 0 0 0 1px rgba(17, 19, 21, 0.10);\n  --ui-btn-shadow-hover: 0 1px 2px rgba(17, 19, 21, 0.06), inset 0 0 0 1px rgba(17, 19, 21, 0.18);\n  --ui-btn-shadow-press: inset 0 0 0 1px rgba(17, 19, 21, 0.16), inset 0 1px 1.5px rgba(17, 19, 21, 0.08);\n  --ui-ghost-hover: rgba(17, 19, 21, 0.048);\n  --ui-ghost-press: rgba(17, 19, 21, 0.09);\n  --ui-solid-hover: #24292F;\n  --ui-solid-press: #090A0B;\n\n  --og-bar-bg: rgba(248, 249, 250, 0.82);\n  --tab-pill-shadow: 0 0.5px 1.5px rgba(17, 19, 21, 0.08), inset 0 0 0 0.5px rgba(17, 19, 21, 0.08);\n\n  /* Neutral Ink Scale Fallback */\n  --ink-1: #111315;\n  --ink-2: #272B30;\n  --ink-3: #4B5563;\n  --ink-4: #6B7280;\n  --ink-5: #D1D5DB;\n  --ink-paper: #F8F9FA;\n  --seal-ink: #DC2626;\n\n  /* Tactile Controls (Neutral Light) */\n  --tactile-bg: #FFFFFF;\n  --tactile-bg-hover: #F5F6F8;\n  --tactile-shadow: 0 0.5px 1px rgba(17, 19, 21, 0.05);\n  --tactile-shadow-hover: 0 1px 2px rgba(17, 19, 21, 0.06);\n  --tactile-shadow-press: inset 0 1px 1.5px rgba(17, 19, 21, 0.08);\n  --lacquer-edge: rgba(17, 19, 21, 0.10);\n  --lacquer-edge-hover: rgba(17, 19, 21, 0.19);\n  --groove-bg: #ECEEF2;\n  --track-shadow: inset 0 1px 2px rgba(17, 19, 21, 0.06);\n  --gilt-line: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.55) 30%, rgba(203, 213, 225, 0.9) 50%, rgba(148, 163, 184, 0.55) 70%, transparent);\n  --tactile-accent-bg: rgba(37, 99, 235, 0.085);\n  --tactile-accent-shadow: 0 0.5px 1px rgba(37, 99, 235, 0.08);\n\n  /* Material Surface & Codewell Tokens (Neutral Light) */\n  --well-surface-bg: #ECEEF2;\n  --well-surface-grad: linear-gradient(180deg, #E8EBF0 0%, #F1F3F6 100%);\n  --well-surface-border: rgba(17, 19, 21, 0.08);\n  --well-surface-shadow: inset 0 1px 3px rgba(17, 19, 21, 0.06), inset 0 -1px 0 rgba(255, 255, 255, 0.85);\n  --lacquer-line-subtle: rgba(17, 19, 21, 0.09);\n  --lacquer-line-strong: rgba(17, 19, 21, 0.19);\n  --lacquer-surface-bg: #FFFFFF;\n  --lacquer-surface-grad: linear-gradient(180deg, #FFFFFF 0%, #FAFBFC 100%);\n  --lacquer-surface-border: rgba(17, 19, 21, 0.09);\n  --lacquer-surface-border-hover: rgba(17, 19, 21, 0.19);\n  --lacquer-surface-shadow:\n    0 1px 2px rgba(17, 19, 21, 0.05),\n    0 8px 20px -14px rgba(17, 19, 21, 0.10),\n    inset 0 1px 0 rgba(255, 255, 255, 0.9);\n  --lacquer-surface-shadow-hover:\n    0 2px 6px rgba(17, 19, 21, 0.07),\n    0 12px 24px -16px rgba(17, 19, 21, 0.14),\n    inset 0 1px 0 rgba(255, 255, 255, 1);\n  --lacquer-gilt-shadow: none;\n  --lacquer-gilt-opacity: 0.45;\n  --code-surface-bg: #111317;\n  --code-surface-fg: #E5E7EB;\n  --thumb-bg: #FFFFFF;\n  --metal-front-bg: linear-gradient(135deg, #22252A 0%, #111317 48%, #282C33 100%);\n  --metal-front-fg: #F4F5F6;\n  --metal-back-bg: linear-gradient(135deg, #E8EBF0 0%, #F8F9FA 55%, #DFE3EA 100%);\n  --metal-back-fg: #111315;\n}\n\n\n/* ============================================================================\n   LINYI UI — PRESET: NEUTRAL DARK (现代极简中性深色)\n   Activate with data-preset=\"neutral\" and data-theme=\"dark\" or \"obsidian\".\n   ============================================================================ */\n\n[data-preset=\"neutral\"][data-theme=\"obsidian\"],\n[data-preset=\"neutral\"][data-theme=\"dark\"] {\n  color-scheme: dark;\n\n  --bg-canvas: #090A0B;\n  --bg-canvas-glow: none;\n  --bg-surface: #111214;\n  --bg-surface-2: #181A1E;\n  --bg-well: #060708;\n  --surface-hover: #1B1E23;\n  --surface-active: #23272E;\n  --bg-inverse: #F4F5F6;\n  --fg-inverse: #0E1012;\n\n  --fg-primary: #F4F5F6;\n  --fg-secondary: #A9B0BC;\n  --fg-muted: #8D95A5;\n\n  --line-subtle: rgba(255, 255, 255, 0.09);\n  --line-strong: rgba(255, 255, 255, 0.19);\n  --line-well: rgba(255, 255, 255, 0.07);\n\n  --panel-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.45),\n    0 12px 26px -16px rgba(0, 0, 0, 0.72),\n    inset 0 1px 0 rgba(255, 255, 255, 0.06);\n  --panel-shadow-hover:\n    0 2px 8px rgba(0, 0, 0, 0.56),\n    0 16px 30px -16px rgba(0, 0, 0, 0.80),\n    inset 0 1px 0 rgba(255, 255, 255, 0.10);\n  --well-shadow:\n    inset 0 2px 5px rgba(0, 0, 0, 0.68),\n    inset 0 -1px 0 rgba(255, 255, 255, 0.05);\n  --grain-opacity: 0;\n  --grain-blend: normal;\n  --paper-grain-image: none;\n\n  /* Brandable Neutral Accent (Dark) */\n  --accent: #3B82F6;\n  --accent-rgb: 59, 130, 246;\n  --accent-hover: #60A5FA;\n  --accent-active: #2563EB;\n  --accent-soft: rgba(59, 130, 246, 0.15);\n  --accent-border: rgba(59, 130, 246, 0.36);\n  --accent-fg: #FFFFFF;\n\n  /* Semantic Status Tokens (Neutral Dark) */\n  --status-success: #22C55E;\n  --status-success-soft: rgba(34, 197, 94, 0.14);\n  --status-success-border: rgba(34, 197, 94, 0.32);\n  --status-warning: #F59E0B;\n  --status-warning-soft: rgba(245, 158, 11, 0.14);\n  --status-warning-border: rgba(245, 158, 11, 0.32);\n  --status-danger: #F87171;\n  --status-danger-soft: rgba(248, 113, 113, 0.14);\n  --status-danger-border: rgba(248, 113, 113, 0.32);\n  --status-info: #60A5FA;\n  --status-info-soft: rgba(96, 165, 250, 0.14);\n  --status-info-border: rgba(96, 165, 250, 0.30);\n\n  /* Data Visualization Palette (Neutral Dark) */\n  --chart-1: #60A5FA;\n  --chart-2: #2DD4BF;\n  --chart-3: #818CF8;\n  --chart-4: #FBBF24;\n  --chart-5: #F472B6;\n  --chart-6: #38BDF8;\n  --chart-7: #A78BFA;\n  --chart-8: #94A3B8;\n\n  /* Elevation Shadows (Neutral Dark) */\n  --elevation-panel: 0 1px 2px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.05);\n  --elevation-popover: 0 16px 36px -10px rgba(0, 0, 0, 0.72), 0 2px 6px rgba(0, 0, 0, 0.44);\n  --elevation-dialog: 0 28px 64px -16px rgba(0, 0, 0, 0.84), 0 4px 16px rgba(0, 0, 0, 0.56);\n  --scrim-backdrop: rgba(0, 0, 0, 0.68);\n\n  /* Thin Optical Liquid Glass (Neutral Dark) */\n  --og-clear-bg: rgba(255, 255, 255, 0.06);\n  --og-clear-bg-hover: rgba(255, 255, 255, 0.11);\n  --og-clear-bg-press: rgba(6, 7, 8, 0.72);\n  --og-clear-fg: #F4F5F6;\n  --og-clear-rim-a: rgba(255, 255, 255, 0.38);\n  --og-clear-rim-b: rgba(255, 255, 255, 0.16);\n  --og-clear-shadow:\n    0 1px 1.5px rgba(0, 0, 0, 0.26),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.10),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.12);\n  --og-clear-shadow-hover:\n    0 1px 2px rgba(0, 0, 0, 0.34),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.19),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.20);\n  --og-clear-shadow-press:\n    inset 0 0 0 1px rgba(255, 255, 255, 0.14),\n    inset 0 1px 2px rgba(0, 0, 0, 0.48);\n\n  --og-dark-bg: rgba(244, 245, 246, 0.92);\n  --og-dark-bg-hover: rgba(255, 255, 255, 0.98);\n  --og-dark-bg-press: rgba(212, 216, 224, 0.96);\n  --og-dark-fg: #0E1012;\n  --og-dark-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.36),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.45),\n    inset 0 0.5px 0 #ffffff;\n  --og-dark-shadow-hover:\n    0 1px 3px rgba(0, 0, 0, 0.42),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.65),\n    inset 0 0.5px 0 #ffffff;\n  --og-dark-shadow-press:\n    inset 0 0 0 1px rgba(17, 19, 21, 0.18),\n    inset 0 1px 2px rgba(17, 19, 21, 0.18);\n\n  --og-accent-bg: rgba(59, 130, 246, 0.90);\n  --og-accent-bg-hover: rgba(96, 165, 250, 0.95);\n  --og-accent-bg-press: rgba(37, 99, 235, 0.98);\n  --og-accent-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.36),\n    inset 0 0 0 1px rgba(191, 219, 254, 0.18),\n    inset 0 0.5px 0 rgba(219, 234, 254, 0.34);\n  --og-accent-shadow-hover:\n    0 1px 3px rgba(0, 0, 0, 0.42),\n    inset 0 0 0 1px rgba(191, 219, 254, 0.28),\n    inset 0 0.5px 0 rgba(219, 234, 254, 0.46);\n  --og-accent-shadow-press:\n    inset 0 0 0 1px rgba(191, 219, 254, 0.14),\n    inset 0 1px 2px rgba(0, 0, 0, 0.42);\n\n  --og-specular-veil: rgba(255, 255, 255, 0.11);\n  --og-specular-clear-veil: rgba(255, 255, 255, 0.08);\n  --beam-clear-a: rgba(255, 255, 255, 0.14);\n  --beam-clear-b: rgba(255, 255, 255, 0.80);\n  --beam-clear-c: rgba(59, 130, 246, 0.52);\n  --beam-dark-a: rgba(59, 130, 246, 0.16);\n  --beam-dark-b: rgba(59, 130, 246, 0.72);\n  --beam-dark-c: rgba(148, 163, 184, 0.42);\n  --beam-accent-a: rgba(191, 219, 254, 0.34);\n  --beam-accent-b: rgba(255, 255, 255, 0.96);\n  --beam-accent-c: rgba(147, 197, 253, 0.42);\n\n  /* Flat Hairline Controls (Neutral Dark) */\n  --ui-btn-bg: #181A1E;\n  --ui-btn-bg-hover: #21242B;\n  --ui-btn-bg-press: #101215;\n  --ui-btn-shadow:\n    0 1px 1.5px rgba(0, 0, 0, 0.28),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.095),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.07);\n  --ui-btn-shadow-hover:\n    0 1px 2px rgba(0, 0, 0, 0.34),\n    inset 0 0 0 1px rgba(255, 255, 255, 0.17),\n    inset 0 0.5px 0 rgba(255, 255, 255, 0.13);\n  --ui-btn-shadow-press:\n    inset 0 0 0 1px rgba(255, 255, 255, 0.12),\n    inset 0 1px 2px rgba(0, 0, 0, 0.48);\n  --ui-ghost-hover: rgba(255, 255, 255, 0.068);\n  --ui-ghost-press: rgba(255, 255, 255, 0.115);\n  --ui-solid-hover: #FFFFFF;\n  --ui-solid-press: #D1D5DB;\n\n  --og-bar-bg: rgba(17, 18, 20, 0.84);\n  --tab-pill-shadow: 0 1px 2px rgba(0, 0, 0, 0.45), inset 0 0.5px 0 rgba(255, 255, 255, 0.09);\n\n  /* Neutral Ink Scale Fallback (Dark) */\n  --ink-1: #F4F5F6;\n  --ink-2: #D1D5DB;\n  --ink-3: #9CA3AF;\n  --ink-4: #6B7280;\n  --ink-5: #374151;\n  --ink-paper: #0E1012;\n  --seal-ink: #F87171;\n\n  /* Tactile Controls (Neutral Dark) */\n  --tactile-bg: #181A1E;\n  --tactile-bg-hover: #21242B;\n  --tactile-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.28), inset 0 0.5px 0 rgba(255, 255, 255, 0.07);\n  --tactile-shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.34), inset 0 0.5px 0 rgba(255, 255, 255, 0.12);\n  --tactile-shadow-press: inset 0 1px 2px rgba(0, 0, 0, 0.48);\n  --lacquer-edge: rgba(255, 255, 255, 0.10);\n  --lacquer-edge-hover: rgba(255, 255, 255, 0.19);\n  --groove-bg: #0D0E10;\n  --track-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.45);\n  --gilt-line: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.32) 30%, rgba(226, 232, 240, 0.55) 50%, rgba(148, 163, 184, 0.32) 70%, transparent);\n  --tactile-accent-bg: rgba(59, 130, 246, 0.14);\n  --tactile-accent-shadow: 0 1px 1.5px rgba(0, 0, 0, 0.25);\n\n  /* Material Surface & Codewell Tokens (Neutral Dark) */\n  --well-surface-bg: #08090B;\n  --well-surface-grad: linear-gradient(180deg, #060708 0%, #0D0F12 100%);\n  --well-surface-border: rgba(255, 255, 255, 0.07);\n  --well-surface-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.68), inset 0 -1px 0 rgba(255, 255, 255, 0.05);\n  --lacquer-line-subtle: rgba(255, 255, 255, 0.09);\n  --lacquer-line-strong: rgba(255, 255, 255, 0.19);\n  --lacquer-surface-bg: #111214;\n  --lacquer-surface-grad: linear-gradient(180deg, #16181C 0%, #111214 60%, #0D0E10 100%);\n  --lacquer-surface-border: rgba(255, 255, 255, 0.09);\n  --lacquer-surface-border-hover: rgba(255, 255, 255, 0.19);\n  --lacquer-surface-shadow:\n    0 1px 2px rgba(0, 0, 0, 0.45),\n    0 12px 26px -16px rgba(0, 0, 0, 0.72),\n    inset 0 1px 0 rgba(255, 255, 255, 0.06);\n  --lacquer-surface-shadow-hover:\n    0 2px 8px rgba(0, 0, 0, 0.56),\n    0 16px 30px -16px rgba(0, 0, 0, 0.80),\n    inset 0 1px 0 rgba(255, 255, 255, 0.10);\n  --lacquer-gilt-shadow: none;\n  --lacquer-gilt-opacity: 0.35;\n  --code-surface-bg: #090A0C;\n  --code-surface-fg: #E5E7EB;\n  --thumb-bg: #FFFFFF;\n}\n\n\n/* ============================================================================\n   LINYI UI — PORTABLE COMPONENT PRIMITIVES\n   Safe for consumer applications via linyi-theme.json (zero site-global bleed).\n   ============================================================================ */\n\na,\nbutton,\n[role=\"button\"] {\n  -webkit-tap-highlight-color: transparent;\n}\n\n/* Clean hidden scrollbar utility for sidebars and horizontal scrollers */\n.no-scrollbar {\n  scrollbar-width: none;\n  -ms-overflow-style: none;\n}\n.no-scrollbar::-webkit-scrollbar {\n  display: none;\n}\n\n@layer base {\n  /* Unified accessible keyboard focus indicator (UX + AX) */\n  :where(a, button, input, select, textarea, [tabindex]):focus-visible {\n    outline: 2px solid var(--accent);\n    outline-offset: 2px;\n  }\n\n  /* Prevent focus ring clipping inside overflow-hidden wells and scroll containers */\n  .inset-well :where(a, button, input, [tabindex]):focus-visible,\n  [data-focus-inset=\"true\"] :where(a, button, input, [tabindex]):focus-visible {\n    outline-offset: -2px;\n  }\n}\n\n.font-serif-ed {\n  font-family: var(--font-serif);\n  font-style: italic;\n  font-weight: 400;\n  letter-spacing: -0.01em;\n}\n\n.font-kai {\n  font-family: var(--font-kai-stack);\n}\n\n.font-mono-num {\n  font-family: var(--font-mono);\n  font-variant-numeric: tabular-nums;\n}\n\n/* ============================================================================\n   KEYFRAMES & CSS CUSTOM PROPERTIES FOR COMPONENT PRIMITIVES\n   ============================================================================ */\n\n@property --beam-angle {\n  syntax: \"<angle>\";\n  initial-value: 0deg;\n  inherits: false;\n}\n\n@keyframes linyi-beam-spin {\n  to {\n    --beam-angle: 360deg;\n  }\n}\n\n@keyframes linyi-diag-move {\n  from {\n    background-position: 0 0;\n  }\n  to {\n    background-position: 24px 0;\n  }\n}\n\n/* ============================================================================\n   COMPONENT PRIMITIVES (@layer components so Tailwind utilities win cleanly)\n   ============================================================================ */\n\n@layer components {\n  /* Recessed well container: clean cross-browser gradient surface (no noisy soft-light tile on mobile WebKit) */\n  .inset-well {\n    position: relative;\n    border-radius: 12px;\n    overflow: hidden;\n    background-color: var(--well-surface-bg, var(--bg-well));\n    background-image: var(--well-surface-grad, none);\n    border: 1px solid var(--well-surface-border, var(--line-well));\n    box-shadow: var(--well-surface-shadow, var(--well-shadow));\n    transition: border-color 200ms ease, box-shadow 200ms ease;\n  }\n\n  /* ==========================================================================\n     FLAT BUTTON PRIMITIVES (.ui-btn) — Default system (Linear / Apple Notes)\n     Near-flat at rest, 1px hairline borders, restrained scale(0.975) press.\n     ========================================================================== */\n  .ui-btn {\n    position: relative;\n    isolation: isolate;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 6px;\n    border-radius: 9999px;\n    border: none;\n    cursor: pointer;\n    user-select: none;\n    overflow: hidden;\n    font-weight: 500;\n    letter-spacing: -0.012em;\n    white-space: nowrap;\n    transition:\n      background-color 140ms cubic-bezier(0.16, 1, 0.3, 1),\n      color 140ms cubic-bezier(0.16, 1, 0.3, 1),\n      border-color 140ms cubic-bezier(0.16, 1, 0.3, 1),\n      box-shadow 140ms cubic-bezier(0.16, 1, 0.3, 1),\n      transform 140ms cubic-bezier(0.16, 1, 0.3, 1),\n      opacity 140ms ease;\n  }\n\n  .ui-btn:active:not(:disabled):not([aria-disabled=\"true\"]),\n  .lg-btn:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    transform: scale(0.975);\n  }\n\n  .ui-btn:disabled,\n  .ui-btn[aria-disabled=\"true\"] {\n    opacity: 0.45;\n    cursor: not-allowed;\n    pointer-events: none;\n  }\n\n  .ui-btn-default {\n    background-color: var(--ui-btn-bg);\n    color: var(--fg-primary);\n    box-shadow: var(--ui-btn-shadow);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .ui-btn-default:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--ui-btn-bg-hover);\n      box-shadow: var(--ui-btn-shadow-hover);\n    }\n  }\n  .ui-btn-default:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--ui-btn-bg-press);\n    box-shadow: var(--ui-btn-shadow-press);\n    transition-duration: 40ms;\n  }\n\n  .ui-btn-solid {\n    background-color: var(--bg-inverse);\n    color: var(--fg-inverse);\n    box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.14), 0 0.5px 1px rgba(0, 0, 0, 0.12);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .ui-btn-solid:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--ui-solid-hover);\n    }\n  }\n  .ui-btn-solid:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--ui-solid-press);\n    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.30);\n    transition-duration: 40ms;\n  }\n\n  .ui-btn-accent {\n    background-color: var(--accent);\n    color: var(--accent-fg);\n    box-shadow: var(--og-accent-shadow);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .ui-btn-accent:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--og-accent-bg-hover);\n      box-shadow: var(--og-accent-shadow-hover);\n    }\n  }\n  .ui-btn-accent:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--og-accent-bg-press);\n    box-shadow: var(--og-accent-shadow-press);\n    transition-duration: 40ms;\n  }\n\n  .ui-btn-ghost {\n    background-color: transparent;\n    color: var(--fg-secondary);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .ui-btn-ghost:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--ui-ghost-hover);\n      color: var(--fg-primary);\n    }\n  }\n  .ui-btn-ghost:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--ui-ghost-press);\n    color: var(--fg-primary);\n    transition-duration: 40ms;\n  }\n\n  .ui-btn-danger {\n    background-color: var(--status-danger-soft);\n    color: var(--status-danger);\n    box-shadow: inset 0 0 0 1px var(--status-danger-border);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .ui-btn-danger:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--status-danger);\n      color: var(--accent-fg);\n      box-shadow: inset 0 0 0 1px transparent;\n    }\n  }\n  .ui-btn-danger:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    filter: brightness(0.92);\n    transition-duration: 40ms;\n  }\n\n  /* ==========================================================================\n     THIN OPTICAL LIQUID GLASS PRIMARY BUTTON (.lg-btn)\n     Reserved for at most 1–2 primary buttons per page & LiquidGlassButton.\n     Near-flat at rest, whisper-quiet pointer specular, optional 1px border beam.\n     ========================================================================== */\n  .lg-btn {\n    position: relative;\n    isolation: isolate;\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    gap: 6px;\n    border-radius: 9999px;\n    border: none;\n    cursor: pointer;\n    user-select: none;\n    overflow: hidden;\n    font-weight: 500;\n    letter-spacing: -0.012em;\n    backdrop-filter: blur(8px) saturate(145%);\n    -webkit-backdrop-filter: blur(8px) saturate(145%);\n    transition:\n      background-color 150ms cubic-bezier(0.16, 1, 0.3, 1),\n      color 140ms cubic-bezier(0.16, 1, 0.3, 1),\n      box-shadow 150ms cubic-bezier(0.16, 1, 0.3, 1),\n      transform 150ms cubic-bezier(0.16, 1, 0.3, 1),\n      opacity 140ms ease;\n  }\n\n  .lg-btn-rect {\n    border-radius: 12px;\n  }\n\n  /* Pointer-tracked 1px specular rim — quiet at rest, reveals subtly on hover */\n  .lg-btn::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    border-radius: inherit;\n    padding: 1px;\n    pointer-events: none;\n    z-index: 2;\n    opacity: 0;\n    background: radial-gradient(\n      circle 68px at var(--mx, 50%) var(--my, 0%),\n      var(--rim-hot, var(--og-clear-rim-a)),\n      transparent 72%\n    );\n    -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);\n    -webkit-mask-composite: xor;\n    mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);\n    mask-composite: exclude;\n    transition: opacity 200ms cubic-bezier(0.2, 0, 0, 1);\n  }\n\n  /* Ultra-thin surface optical veil — invisible at rest, gentle on hover */\n  .lg-btn::after {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    border-radius: inherit;\n    pointer-events: none;\n    z-index: 1;\n    opacity: 0;\n    background: radial-gradient(\n      circle 74px at var(--mx, 50%) var(--my, 0%),\n      var(--veil-hot, var(--og-specular-veil)),\n      transparent 70%\n    );\n    transition: opacity 200ms cubic-bezier(0.2, 0, 0, 1);\n  }\n\n  .lg-btn > * {\n    position: relative;\n    z-index: 3;\n  }\n\n  @media (hover: hover) and (pointer: fine) {\n    .lg-btn:hover:not(:disabled):not([aria-disabled=\"true\"])::before,\n    .lg-btn:hover:not(:disabled):not([aria-disabled=\"true\"])::after {\n      opacity: 1;\n    }\n  }\n\n  .lg-btn:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    transition-duration: 40ms;\n  }\n  .lg-btn:active:not(:disabled):not([aria-disabled=\"true\"])::before,\n  .lg-btn:active:not(:disabled):not([aria-disabled=\"true\"])::after {\n    opacity: 0.38;\n    transition-duration: 40ms;\n  }\n\n  .lg-btn:disabled,\n  .lg-btn[aria-disabled=\"true\"] {\n    opacity: 0.45;\n    cursor: not-allowed;\n    pointer-events: none;\n  }\n\n  .lg-clear {\n    background-color: var(--og-clear-bg);\n    color: var(--og-clear-fg);\n    box-shadow: var(--og-clear-shadow);\n    --rim-hot: var(--og-clear-rim-a);\n    --veil-hot: var(--og-specular-clear-veil);\n    --beam-a: var(--beam-clear-a);\n    --beam-b: var(--beam-clear-b);\n    --beam-c: var(--beam-clear-c);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .lg-clear:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--og-clear-bg-hover);\n      box-shadow: var(--og-clear-shadow-hover);\n    }\n  }\n  .lg-clear:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--og-clear-bg-press);\n    box-shadow: var(--og-clear-shadow-press);\n  }\n\n  .lg-dark {\n    background-color: var(--og-dark-bg);\n    color: var(--og-dark-fg);\n    box-shadow: var(--og-dark-shadow);\n    --rim-hot: rgba(255, 250, 240, 0.56);\n    --veil-hot: rgba(255, 255, 255, 0.10);\n    --beam-a: var(--beam-dark-a);\n    --beam-b: var(--beam-dark-b);\n    --beam-c: var(--beam-dark-c);\n  }\n  [data-theme=\"obsidian\"] .lg-dark,\n  [data-theme=\"dark\"] .lg-dark {\n    --rim-hot: rgba(31, 28, 24, 0.30);\n    --veil-hot: rgba(255, 255, 255, 0.24);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .lg-dark:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--og-dark-bg-hover);\n      box-shadow: var(--og-dark-shadow-hover);\n    }\n  }\n  .lg-dark:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--og-dark-bg-press);\n    box-shadow: var(--og-dark-shadow-press);\n  }\n\n  .lg-accent {\n    background-color: var(--og-accent-bg);\n    color: var(--accent-fg);\n    box-shadow: var(--og-accent-shadow);\n    --rim-hot: rgba(255, 246, 238, 0.62);\n    --veil-hot: var(--og-specular-veil);\n    --beam-a: var(--beam-accent-a);\n    --beam-b: var(--beam-accent-b);\n    --beam-c: var(--beam-accent-c);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .lg-accent:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--og-accent-bg-hover);\n      box-shadow: var(--og-accent-shadow-hover);\n    }\n  }\n  .lg-accent:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--og-accent-bg-press);\n    box-shadow: var(--og-accent-shadow-press);\n  }\n\n  /* 1px Flowing Border Light (.btn-beam — single-accent Linyi palette)\n     Uses @property --beam-angle conic-gradient strictly masked to the 1px border ring. */\n  .btn-beam::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    border-radius: inherit;\n    padding: 1px;\n    pointer-events: none;\n    z-index: 2;\n    opacity: 0.78;\n    background: conic-gradient(\n      from var(--beam-angle),\n      transparent 0%,\n      transparent 62%,\n      var(--beam-a, var(--beam-clear-a)) 74%,\n      var(--beam-b, var(--beam-clear-b)) 84%,\n      var(--beam-c, var(--beam-clear-c)) 91%,\n      transparent 98%\n    );\n    -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);\n    -webkit-mask-composite: xor;\n    mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);\n    mask-composite: exclude;\n    animation: linyi-beam-spin 4.2s linear infinite;\n    transition: opacity 200ms cubic-bezier(0.2, 0, 0, 1);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .btn-beam:hover:not(:disabled):not([aria-disabled=\"true\"])::before {\n      opacity: 1;\n    }\n  }\n  .btn-beam:active:not(:disabled):not([aria-disabled=\"true\"])::before {\n    opacity: 0.45;\n    transition-duration: 40ms;\n  }\n\n  /* Backwards-compatible aliases (.lg-ivory / .lg-ink / .lg-gold) flattened to zero-deformation */\n  .lg-ivory {\n    color: var(--fg-primary);\n    background: var(--ui-btn-bg);\n    -webkit-backdrop-filter: none;\n    backdrop-filter: none;\n    box-shadow: var(--ui-btn-shadow);\n  }\n  .lg-ivory::before,\n  .lg-ivory::after {\n    display: none;\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .lg-ivory:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background: var(--ui-btn-bg-hover);\n      box-shadow: var(--ui-btn-shadow-hover);\n    }\n  }\n  .lg-ivory:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background: var(--ui-btn-bg-press);\n    box-shadow: var(--ui-btn-shadow-press);\n  }\n\n  .lg-ink {\n    color: var(--fg-inverse);\n    background: var(--bg-inverse);\n    -webkit-backdrop-filter: none;\n    backdrop-filter: none;\n    box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.14), 0 0.5px 1px rgba(0, 0, 0, 0.12);\n  }\n  .lg-ink::before,\n  .lg-ink::after {\n    display: none;\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .lg-ink:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background: var(--ui-solid-hover);\n    }\n  }\n  .lg-ink:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background: var(--ui-solid-press);\n    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.30);\n  }\n\n  .lg-gold {\n    color: var(--accent-fg);\n    background-color: var(--og-accent-bg);\n    box-shadow: var(--og-accent-shadow);\n    --rim-hot: rgba(255, 246, 238, 0.62);\n    --veil-hot: var(--og-specular-veil);\n    --beam-a: var(--beam-accent-a);\n    --beam-b: var(--beam-accent-b);\n    --beam-c: var(--beam-accent-c);\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .lg-gold:hover:not(:disabled):not([aria-disabled=\"true\"]) {\n      background-color: var(--og-accent-bg-hover);\n      box-shadow: var(--og-accent-shadow-hover);\n    }\n  }\n  .lg-gold:active:not(:disabled):not([aria-disabled=\"true\"]) {\n    background-color: var(--og-accent-bg-press);\n    box-shadow: var(--og-accent-shadow-press);\n  }\n\n  /* ==========================================================================\n     TACTILE PRIMITIVES — flat hairline controls, zero deformation\n     .tactile        flat hairline chip / secondary control\n     .tactile-accent cinnabar-tinted variant\n     .tactile-ghost  invisible at rest, quiet wash on hover, crisp press\n     .tactile-track  subtle groove for segmented controls\n     ========================================================================== */\n  .tactile {\n    position: relative;\n    isolation: isolate;\n    overflow: hidden;\n    background: var(--tactile-bg);\n    border: 1px solid var(--lacquer-edge);\n    box-shadow: var(--tactile-shadow);\n    transition:\n      box-shadow 140ms cubic-bezier(0.2, 0, 0, 1),\n      border-color 140ms cubic-bezier(0.2, 0, 0, 1),\n      background-color 140ms cubic-bezier(0.2, 0, 0, 1),\n      color 140ms cubic-bezier(0.2, 0, 0, 1);\n  }\n  .tactile-accent {\n    background: var(--tactile-accent-bg);\n    border-color: var(--accent-border);\n    color: var(--accent);\n    box-shadow: var(--tactile-accent-shadow);\n  }\n  :is(a, button, [role=\"button\"]).tactile {\n    cursor: pointer;\n    user-select: none;\n  }\n  @media (hover: hover) and (pointer: fine) {\n    :is(a, button, [role=\"button\"]).tactile:hover:not(:disabled):not([aria-pressed=\"true\"]) {\n      background: var(--tactile-bg-hover);\n      border-color: var(--lacquer-edge-hover);\n      box-shadow: var(--tactile-shadow-hover);\n      color: var(--fg-primary);\n    }\n    :is(a, button, [role=\"button\"]).tactile-accent:hover:not(:disabled) {\n      background: var(--tactile-accent-bg);\n      border-color: rgba(var(--accent-rgb), 0.50);\n      color: var(--accent);\n    }\n  }\n  :is(a, button, [role=\"button\"]).tactile:active:not(:disabled) {\n    background: var(--groove-bg);\n    box-shadow: var(--tactile-shadow-press);\n    transition-duration: 40ms;\n  }\n  .tactile[aria-pressed=\"true\"],\n  .tactile[data-active=\"true\"] {\n    background: var(--groove-bg);\n    border-color: var(--lacquer-edge-hover);\n    box-shadow: var(--tactile-shadow-press);\n    color: var(--fg-primary);\n  }\n\n  .lacquer-thumb {\n    overflow: hidden;\n    background: var(--tactile-bg);\n    border: 1px solid var(--lacquer-edge);\n    box-shadow: var(--tactile-shadow);\n  }\n\n  .tactile-ghost {\n    position: relative;\n    isolation: isolate;\n    transition: background-color 140ms cubic-bezier(0.2, 0, 0, 1), color 140ms cubic-bezier(0.2, 0, 0, 1);\n  }\n  .tactile-ghost::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    z-index: -1;\n    border-radius: inherit;\n    background: var(--ui-ghost-hover);\n    opacity: 0;\n    transition: opacity 140ms cubic-bezier(0.2, 0, 0, 1), background-color 140ms cubic-bezier(0.2, 0, 0, 1);\n    pointer-events: none;\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .tactile-ghost:hover::before {\n      opacity: 1;\n    }\n  }\n  .tactile-ghost[aria-current=\"page\"]::before,\n  .tactile-ghost[data-active=\"true\"]::before {\n    opacity: 1;\n  }\n  .tactile-ghost:active::before {\n    background: var(--ui-ghost-press);\n    transition-duration: 40ms;\n  }\n\n  /* Lacquer / Elevated Panel — consumes preset material tokens cleanly */\n  .lacquer-panel {\n    position: relative;\n    --line-subtle: var(--lacquer-line-subtle, rgba(150, 118, 66, 0.16));\n    --line-strong: var(--lacquer-line-strong, rgba(150, 118, 66, 0.32));\n    background: var(--lacquer-surface-grad, var(--bg-surface));\n    background-color: var(--lacquer-surface-bg, var(--bg-surface));\n    border: 1px solid var(--lacquer-surface-border, var(--line-subtle));\n    box-shadow: var(--lacquer-surface-shadow, var(--panel-shadow));\n    transition: border-color 220ms ease, box-shadow 260ms ease, transform 420ms var(--ease-out-soft);\n  }\n  .lacquer-panel::before,\n  .lacquer-panel::after {\n    content: \"\";\n    position: absolute;\n    z-index: 1;\n    top: 0;\n    left: 8px;\n    right: 8px;\n    height: 1px;\n    pointer-events: none;\n    transform: scaleX(0.94);\n    transition: transform 480ms var(--ease-out-soft), opacity 220ms ease;\n  }\n  .lacquer-panel::before {\n    background: var(--gilt-line);\n    box-shadow: var(--lacquer-gilt-shadow, none);\n    opacity: var(--lacquer-gilt-opacity, 0.85);\n  }\n  .lacquer-panel::after {\n    background: linear-gradient(90deg, transparent 0 44%, rgba(255, 248, 224, 1) 50%, transparent 56% 100%) no-repeat;\n    background-size: 320% 100%;\n    background-position: 100% 0;\n    opacity: 0;\n    /* fade out first, then rewind the glint off-screen — no visible snap-back */\n    transition: transform 480ms var(--ease-out-soft), opacity 200ms ease, background-position 0s linear 220ms;\n  }\n  @media (hover: hover) and (pointer: fine) {\n    .lacquer-panel:hover {\n      border-color: var(--lacquer-surface-border-hover, var(--line-strong));\n      box-shadow: var(--lacquer-surface-shadow-hover, var(--panel-shadow-hover));\n    }\n    .lacquer-panel:hover::before {\n      transform: scaleX(1);\n      opacity: 1;\n    }\n    .lacquer-panel:hover::after {\n      transform: scaleX(1);\n      opacity: 1;\n      background-position: 0 0;\n      transition: transform 480ms var(--ease-out-soft), opacity 200ms ease,\n        background-position 1200ms var(--ease-out-soft);\n    }\n  }\n\n  /* Lacquer groove (漆槽) for segmented controls and sunken pills */\n  .tactile-track {\n    background: var(--groove-bg);\n    border: 1px solid var(--lacquer-edge);\n    box-shadow: var(--track-shadow);\n  }\n\n  /* Directional icon precision glide on hover — zero overshoot */\n  :is(.ui-btn, .lg-btn, .tactile, .tactile-ghost, .group) :is(.lucide-arrow-right, .lucide-arrow-up-right, .lucide-arrow-left, .lucide-chevron-right) {\n    transition: transform 180ms cubic-bezier(0.2, 0, 0, 1), opacity 140ms ease;\n  }\n  @media (hover: hover) and (pointer: fine) {\n    :is(.ui-btn, .lg-btn, .tactile, .tactile-ghost):hover .lucide-arrow-right,\n    :is(.ui-btn, .lg-btn, .tactile, .tactile-ghost):hover .lucide-chevron-right {\n      transform: translateX(2px);\n    }\n    :is(.ui-btn, .lg-btn, .tactile, .tactile-ghost):hover .lucide-arrow-up-right {\n      transform: translate(1.5px, -1.5px);\n    }\n    :is(.ui-btn, .lg-btn, .tactile, .tactile-ghost):hover .lucide-arrow-left {\n      transform: translateX(-2px);\n    }\n  }\n\n  /* Floating Liquid Glass Navigation Bar */\n  .lg-bar {\n    position: relative;\n    isolation: isolate;\n    background: var(--og-bar-bg);\n    backdrop-filter: blur(14px) saturate(180%) brightness(1.03);\n    -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(1.03);\n    box-shadow: var(--og-clear-shadow);\n  }\n  .lg-bar::before {\n    content: \"\";\n    position: absolute;\n    inset: 0;\n    border-radius: inherit;\n    padding: 1px;\n    pointer-events: none;\n    background: linear-gradient(135deg, var(--og-clear-rim-a) 0%, rgba(255, 255, 255, 0.10) 45%, var(--og-clear-rim-b) 100%);\n    -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);\n    -webkit-mask-composite: xor;\n    mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);\n    mask-composite: exclude;\n  }\n\n  /* Elastic Liquid Toggle Switch */\n  .lg-switch {\n    position: relative;\n    width: 46px;\n    height: 26px;\n    border-radius: 9999px;\n    background: var(--bg-well);\n    border: 1px solid var(--line-strong);\n    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);\n    cursor: pointer;\n    flex-shrink: 0;\n    transition: background-color 200ms ease, border-color 200ms ease, opacity 180ms ease;\n  }\n  .lg-switch:disabled,\n  .lg-switch[aria-disabled=\"true\"] {\n    opacity: 0.46;\n    cursor: not-allowed;\n  }\n  .lg-switch[data-on=\"true\"] {\n    background: rgba(var(--accent-rgb), 0.88);\n    border-color: rgba(var(--accent-rgb), 0.95);\n  }\n  .lg-switch-thumb {\n    position: absolute;\n    top: 2px;\n    left: 2px;\n    width: 24px;\n    height: 20px;\n    border-radius: 9999px;\n    background: rgba(255, 255, 255, 0.94);\n    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.22), inset 0 1.5px 1px rgba(255, 255, 255, 0.98);\n    transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), width 140ms ease;\n  }\n  .lg-switch:not(:disabled):active .lg-switch-thumb { width: 28px; }\n  .lg-switch[data-on=\"true\"] .lg-switch-thumb { transform: translateX(16px); }\n  .lg-switch[data-on=\"true\"]:not(:disabled):active .lg-switch-thumb { transform: translateX(12px); }\n\n  /* Precision Range Slider */\n  input[type=\"range\"].spec-slider {\n    -webkit-appearance: none;\n    appearance: none;\n    height: 4px;\n    border-radius: 999px;\n    background: var(--line-strong);\n  }\n  input[type=\"range\"].spec-slider:focus-visible {\n    outline: 2px solid var(--accent);\n    outline-offset: 4px;\n  }\n  input[type=\"range\"].spec-slider::-webkit-slider-thumb {\n    -webkit-appearance: none;\n    appearance: none;\n    width: 15px;\n    height: 15px;\n    border-radius: 9999px;\n    background: var(--thumb-bg, white);\n    border: 1.5px solid var(--accent);\n    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);\n    cursor: pointer;\n    transition: transform 140ms ease;\n  }\n  input[type=\"range\"].spec-slider::-webkit-slider-thumb:hover {\n    transform: scale(1.1);\n  }\n  input[type=\"range\"].spec-slider::-moz-range-track {\n    height: 4px;\n    border-radius: 999px;\n    background: var(--line-strong);\n  }\n  input[type=\"range\"].spec-slider::-moz-range-thumb {\n    width: 15px;\n    height: 15px;\n    border-radius: 9999px;\n    background: var(--thumb-bg, white);\n    border: 1.5px solid var(--accent);\n    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);\n    cursor: pointer;\n  }\n\n  /* 3D Flippable Anodized Metal Card */\n  .metal-scene {\n    perspective: 1000px;\n    width: 100%;\n  }\n  .metal-card-inner {\n    position: relative;\n    width: 100%;\n    height: 172px;\n    transform-style: preserve-3d;\n    transition: transform 580ms cubic-bezier(0.22, 1, 0.36, 1);\n    cursor: pointer;\n  }\n  .metal-card-inner.is-flipped { transform: rotateY(180deg); }\n  .metal-face {\n    position: absolute;\n    inset: 0;\n    border-radius: 16px;\n    backface-visibility: hidden;\n    -webkit-backface-visibility: hidden;\n    overflow: hidden;\n  }\n  .metal-front {\n    background: var(--metal-front-bg);\n    border: 1px solid rgba(255, 255, 255, 0.16);\n    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 26px -12px rgba(0, 0, 0, 0.48);\n    color: var(--metal-front-fg);\n  }\n  .metal-back {\n    transform: rotateY(180deg);\n    background: var(--metal-back-bg);\n    border: 1px solid rgba(22, 22, 20, 0.16);\n    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 26px -12px rgba(0, 0, 0, 0.22);\n    color: var(--metal-back-fg);\n  }\n  .metal-sheen {\n    position: absolute;\n    inset: 0;\n    pointer-events: none;\n    background: linear-gradient(115deg, transparent 24%, rgba(255, 255, 255, 0.18) 46%, rgba(var(--accent-rgb), 0.16) 52%, transparent 76%);\n    background-size: 220% 220%;\n    background-position: var(--sx, 50%) var(--sy, 50%);\n    transition: background-position 120ms ease-out;\n  }\n\n  /* Animated diagonal stripes for DownloadButton progress fill */\n  .linyi-diag-stripes {\n    background-image: repeating-linear-gradient(\n      -45deg,\n      transparent 0,\n      transparent 6px,\n      rgba(255, 255, 255, 0.22) 6px,\n      rgba(255, 255, 255, 0.22) 12px\n    );\n    background-size: 24px 24px;\n    animation: linyi-diag-move 0.7s linear infinite;\n  }\n\n  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {\n    .lg-bar {\n      background: var(--bg-surface);\n    }\n    .lg-clear {\n      background: var(--bg-surface);\n    }\n  }\n}\n\n/* ============================================================================\n   REDUCED MOTION — COMPONENT PRIMITIVES\n   ============================================================================ */\n\n@media (prefers-reduced-motion: reduce) {\n  ::view-transition-group(*),\n  ::view-transition-old(root),\n  ::view-transition-new(root) {\n    animation: none !important;\n    animation-duration: 1ms !important;\n  }\n  .ui-btn,\n  .lg-btn,\n  .lg-btn::before,\n  .lg-btn::after,\n  .btn-beam::before,\n  .lacquer-panel,\n  .lacquer-panel::before,\n  .lacquer-panel::after,\n  .tactile,\n  .tactile-ghost,\n  .tactile-ghost::before,\n  .inset-well,\n  .lg-switch,\n  .lg-switch-thumb,\n  .metal-card-inner,\n  .metal-sheen,\n  :is(.ui-btn, .lg-btn, .tactile, .tactile-ghost, .group)\n    :is(.lucide-arrow-right, .lucide-arrow-up-right, .lucide-arrow-left, .lucide-chevron-right) {\n    transition-duration: 1ms !important;\n  }\n  .btn-beam::before,\n  .linyi-diag-stripes {\n    animation: none !important;\n  }\n  .lacquer-panel::after {\n    display: none !important;\n    transition: none !important;\n  }\n  :is(.ui-btn, .lg-btn, .tactile, .tactile-ghost):hover\n    :is(.lucide-arrow-right, .lucide-arrow-up-right, .lucide-arrow-left, .lucide-chevron-right) {\n    transform: none !important;\n  }\n  .animate-pulse,\n  .animate-ping,\n  .animate-bounce {\n    animation: none !important;\n  }\n}\n"
    }
  ]
}
