/* ── GAI · 放映室风格补充样式 ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html, body {
  height: 100%;
  background-color: transparent;  /* 改为透明，让背景图片可见 */
  color: #e5e7eb;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* Alpine.js x-cloak */
[x-cloak] { display: none !important; }

/* 侧边栏导航跳转时禁用过渡，避免展开闪烁 */
.sidebar-no-transition,
.sidebar-no-transition * {
  transition: none !important;
  animation: none !important;
}

/* ════════════════════════════════════════════════════════════════════════
   Glassmorphism panel
   ════════════════════════════════════════════════════════════════════════ */
.glass-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.glass-panel:focus-within {
  border-color: rgba(192, 57, 43, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(192, 57, 43, 0.3);
}

/* ════════════════════════════════════════════════════════════════════════
   Custom scrollbar — dark theme
   ════════════════════════════════════════════════════════════════════════ */
.scrollbar-thin::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 99px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}
/* Firefox */
.scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.10) transparent;
}

/* Hide scrollbar completely */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* ════════════════════════════════════════════════════════════════════════
   Chat message bubbles
   ════════════════════════════════════════════════════════════════════════ */

/* Message wrapper - contains timestamp and bubble */
.msg-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.msg-wrapper-user {
  align-items: flex-end;
}

.msg-wrapper-agent {
  align-items: flex-start;
}

/* Timestamp */
.msg-timestamp {
  font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #777;
  margin-bottom: 0.25rem;
  padding: 0 0.25rem;
}

/* User bubble — right aligned */
.msg-user {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 0;
  max-width: 72%;
  margin-left: auto;
}
.msg-user .bubble {
  background: rgba(66, 67, 80, 1);
  border: 1px solid rgba(66, 67, 80, 1);
  border-radius: 14px;
  padding: 0.875rem 1rem;
  width: 100%;
  font-size: 0.875rem;
  line-height: 1.43;
  color: #ffffff;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Agent message — no bubble, full width, plain text */
.msg-agent {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
  width: 100%;
}
.msg-agent .bubble {
  background: transparent;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 7px 0;
  max-width: 100%;
  width: 100%;
  font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  line-height: 1.43;
  color: #ccc;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: justify;
}

/* Chat bubble Markdown content */
.bubble > :first-child {
  margin-top: 0;
}

.bubble > :last-child {
  margin-bottom: 0;
}

.bubble p,
.bubble ul,
.bubble ol,
.bubble pre,
.bubble blockquote,
.bubble h1,
.bubble h2,
.bubble h3,
.bubble h4,
.bubble h5,
.bubble h6 {
  margin: 0 0 0.75rem;
}

.bubble ul,
.bubble ol {
  padding-left: 1.25rem;
}

.bubble li + li {
  margin-top: 0.25rem;
}

.bubble a {
  color: #fbbf24;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

.bubble code {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  padding: 0.125rem 0.35rem;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.8125em;
}

.bubble pre {
  overflow-x: auto;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
}

.bubble pre code {
  background: transparent;
  border-radius: 0;
  padding: 0;
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}

.bubble blockquote {
  border-left: 3px solid rgba(251, 191, 36, 0.55);
  padding-left: 0.875rem;
  color: rgba(229, 231, 235, 0.88);
}

.bubble h1,
.bubble h2,
.bubble h3,
.bubble h4,
.bubble h5,
.bubble h6 {
  font-weight: 700;
  line-height: 1.35;
}

.bubble h1 { font-size: 1.125rem; }
.bubble h2 { font-size: 1.05rem; }
.bubble h3,
.bubble h4,
.bubble h5,
.bubble h6 { font-size: 0.95rem; }

/* Agent icon - 已移除，不再使用 */
/* .agent-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  margin-top: 4px;
}
.agent-icon svg {
  width: 14px;
  height: 14px;
  color: #c0392b;
  stroke: currentColor;
} */

/* ════════════════════════════════════════════════════════════════════════
   Typing indicator
   @keyframes: three dots bouncing up/down
   ════════════════════════════════════════════════════════════════════════ */
@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

.typing-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.625rem 0.875rem !important;
  min-width: 56px;
}

.typing-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f39c12;
  animation: typingBounce 1.3s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-dot:nth-child(3) { animation-delay: 0.36s; }

/* ════════════════════════════════════════════════════════════════════════
   Drama card — hover translateY + deep-red glow
   ════════════════════════════════════════════════════════════════════════ */
.drama-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.drama-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 24px rgba(192, 57, 43, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.55);
}
.drama-card--active {
  box-shadow:
    0 0 0 2px rgba(192, 57, 43, 0.8),
    0 8px 24px rgba(192, 57, 43, 0.4);
}

/* Tailwind-style utility for glow shadow (used inline via :class) */
.shadow-drama-glow {
  box-shadow:
    0 8px 24px rgba(192, 57, 43, 0.35),
    0 16px 40px rgba(0, 0, 0, 0.5);
}

/* ════════════════════════════════════════════════════════════════════════
   Drama badge pulse animation (generating state)
   ════════════════════════════════════════════════════════════════════════ */
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.5; }
}
.drama-badge--pulse {
  animation: badgePulse 1.8s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════════════════
   Card glow keyframe (optional usage in future)
   ════════════════════════════════════════════════════════════════════════ */
@keyframes cardGlow {
  0%, 100% {
    box-shadow:
      0 0 8px rgba(192, 57, 43, 0.2),
      0 0 24px rgba(192, 57, 43, 0.1);
  }
  50% {
    box-shadow:
      0 0 16px rgba(192, 57, 43, 0.5),
      0 0 40px rgba(192, 57, 43, 0.25);
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Tool call card — 工具调用卡片
   ════════════════════════════════════════════════════════════════════════ */
.tool-call-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0;
  font-size: 14px;
}

.tool-call-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.tool-call-icon {
  font-size: 16px;
}

.tool-call-name {
  font-weight: 500;
  color: #e5e7eb;
}

.tool-call-status {
  margin-left: auto;
  font-size: 12px;
  color: #9ca3af;
}

.tool-call-status.success {
  color: #10b981;
}

.tool-call-status.error {
  color: #ef4444;
}

.tool-call-body details {
  margin-top: 8px;
}

.tool-call-body summary {
  cursor: pointer;
  color: #9ca3af;
  font-size: 12px;
  user-select: none;
}

.tool-call-body summary:hover {
  color: #e5e7eb;
}

.tool-call-body pre {
  margin-top: 8px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  font-size: 11px;
  color: #d1d5db;
  overflow-x: auto;
  max-height: 200px;
}

/* ════════════════════════════════════════════════════════════════════════
   Poster background — smooth transition
   ════════════════════════════════════════════════════════════════════════ */
#poster-bg {
  transition: opacity 0.6s ease;
  will-change: opacity;
}

/* ════════════════════════════════════════════════════════════════════════
   Send button glow
   ════════════════════════════════════════════════════════════════════════ */
#send-btn {
  box-shadow: 0 0 0 0 rgba(192, 57, 43, 0);
  transition: box-shadow 0.25s ease, background-color 0.2s ease, opacity 0.2s ease;
}
#send-btn:not(:disabled):hover {
  background-color: #a93226 !important;
  box-shadow: 0 0 18px rgba(192, 57, 43, 0.55);
}

/* ════════════════════════════════════════════════════════════════════════
   Textarea auto-resize transition
   ════════════════════════════════════════════════════════════════════════ */
#chat-input {
  transition: height 0.12s ease;
}

/* Contenteditable placeholder */
#chat-input:empty:before,
#hero-input:empty:before,
#main-chat-input:empty:before,
#branch-a-input:empty:before,
#branch-b-input:empty:before {
  content: attr(data-placeholder);
  color: #6b7280;
  pointer-events: none;
}

/* ── Skill 版本 DAG 弹窗框架（节点/边样式来自 skill_manager.css）──────── */

.version-dag-popover {
  position: absolute;
  z-index: 200;
  top: calc(100% + 6px);
  left: 0;
  width: 420px;
  background: rgba(20, 20, 28, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.version-dag-popover .dag-popover-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.version-dag-popover .dag-popover-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.version-dag-popover .dag-popover-default {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s;
}

.version-dag-popover .dag-popover-default:hover,
.version-dag-popover .dag-popover-default.active {
  border-color: rgba(192, 57, 43, 0.6);
  color: #e74c3c;
  background: rgba(192, 57, 43, 0.1);
}

.version-dag-popover .dag-list {
  max-height: 300px;
  overflow: auto;  /* 横向纵向均可滚动，适配 DAGLayout 横向展开 */
  padding: 6px 0;
  position: relative;
}

/* Mention bubble styles */
.mention-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  margin: 0 2px;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}

.mention-bubble:hover {
  background: rgba(192, 57, 43, 0.25);
  border-color: rgba(192, 57, 43, 0.5);
}

/* ════════════════════════════════════════════════════════════════════════
   Sidebar helpers
   ════════════════════════════════════════════════════════════════════════ */
.sidebar-item {
  display: flex;
  align-items: center;
  height: 44px;
  border-radius: 10px;
  transition: all 0.2s ease;
  text-decoration: none;
  position: relative;
}
.sidebar-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.sidebar-item--accent:hover {
  background: rgba(192, 57, 43, 0.15);
}

.sidebar-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.sidebar-item:hover .sidebar-icon {
  color: rgba(255, 255, 255, 0.85);
}

.sidebar-label {
  margin-left: 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sidebar-item:hover .sidebar-label {
  color: rgba(255, 255, 255, 0.95);
}

/* ════════════════════════════════════════════════════════════════════════
   Prompt chip (welcome card quick-start buttons)
   ════════════════════════════════════════════════════════════════════════ */
.prompt-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #9ca3af;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  user-select: none;
}
.prompt-chip:hover {
  background: rgba(192, 57, 43, 0.15);
  color: #f9a8a0;
  border-color: rgba(192, 57, 43, 0.4);
}

/* ════════════════════════════════════════════════════════════════════════
   Chat input toolbar buttons
   ════════════════════════════════════════════════════════════════════════ */

/* Icon-only action button (attachment, etc.) */
.toolbar-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.toolbar-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);
}
.toolbar-icon-btn.text-accent {
  color: #e74c3c;
  background: rgba(192, 57, 43, 0.15);
  border-color: rgba(192, 57, 43, 0.3);
}

/* Chip button (model/style dropdowns) */
.toolbar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Model dropdown with fixed width */
.toolbar-chip--model {
  min-width: 140px;
  justify-content: space-between;
}
.toolbar-chip:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.18);
}
.toolbar-chip--active {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Dropdown popover panel */
.dropdown-popover {
  background: rgba(17, 17, 24, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  min-width: 130px;
}

/* Dropdown item row */
.dropdown-item {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.8125rem;
  color: #9ca3af;
  transition: background-color 0.1s ease, color 0.1s ease;
  text-align: left;
}
.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #e5e7eb;
}
.dropdown-item--active {
  color: #e5e7eb;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════════════════════════
   Cinematic title gradient
   ════════════════════════════════════════════════════════════════════════ */
.title-gradient {
  background: linear-gradient(135deg, #f39c12 0%, #c0392b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ════════════════════════════════════════════════════════════════════════
   Upload Modal
   ════════════════════════════════════════════════════════════════════════ */
.upload-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.upload-modal-overlay--visible {
  opacity: 1;
  pointer-events: auto;
}

.upload-modal-content {
  background: #111118;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.upload-modal-overlay--visible .upload-modal-content {
  transform: scale(1);
}

.upload-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.upload-modal-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e5e7eb;
  margin: 0;
}

.upload-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.upload-modal-close:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #d1d5db;
}

.upload-modal-close svg {
  width: 18px;
  height: 18px;
}

.upload-dropzone {
  margin: 24px;
  padding: 48px 24px;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: all 0.2s ease;
  cursor: pointer;
}

.upload-dropzone--active {
  border-color: rgba(192, 57, 43, 0.6);
  background: rgba(192, 57, 43, 0.08);
}

.upload-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: #6b7280;
}

.upload-text {
  font-size: 1rem;
  font-weight: 500;
  color: #d1d5db;
  margin: 0 0 8px;
}

.upload-subtext {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 16px;
}

.upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: rgba(192, 57, 43, 0.15);
  border: 1px solid rgba(192, 57, 43, 0.3);
  border-radius: 8px;
  color: #f9a8a0;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s ease;
  margin-bottom: 12px;
}

.upload-btn:hover {
  background: rgba(192, 57, 43, 0.25);
  border-color: rgba(192, 57, 43, 0.5);
}

.upload-hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
}

.upload-error {
  margin: 0 24px 24px;
  padding: 12px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.875rem;
  line-height: 1.5;
}

.hidden {
  display: none;
}

/* ════════════════════════════════════════════════════════════════════════
   Skill hint — displayed above form when skill is used
   ════════════════════════════════════════════════════════════════════════ */
.skill-hint {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 0.75rem;
  margin-left: 38px;
  animation: fadeInSlide 0.3s ease-out;
}

.skill-hint > div {
  padding: 0;
  background: transparent;
  border: none;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════════════════════════════════════════════════════════════════════════
   Entity Preview Cards — 实体预览卡片
   ════════════════════════════════════════════════════════════════════════ */
.entity-card {
  cursor: pointer;
  transition: all 0.2s ease;
  max-width: 600px;
  margin: 0 auto;
}

.entity-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.character-card:hover {
  border-color: rgba(46,213,115,0.4) !important;
}

.scene-card:hover {
  border-color: rgba(52,152,219,0.4) !important;
}

.script-card:hover {
  border-color: rgba(241,196,15,0.4) !important;
}

/* ════════════════════════════════════════════════════════════════════════
   Split Panel Resizer — 双栏布局拖动分隔线
   ════════════════════════════════════════════════════════════════════════ */
.split-resizer {
  position: relative;
  width: 8px;
  cursor: col-resize;
  flex-shrink: 0;
  background: transparent;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.split-resizer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1px;
  transition: all 0.2s ease;
}

.split-resizer:hover::before,
.split-resizer.resizing::before {
  background: rgba(243, 156, 18, 0.6);
  height: 60px;
  box-shadow: 0 0 8px rgba(243, 156, 18, 0.3);
}

.split-resizer:hover {
  background: rgba(255, 255, 255, 0.02);
}

/* 拖动时禁用文本选择 */
body.resizing-split {
  cursor: col-resize !important;
  user-select: none !important;
}

