:root {
  --primary-color: #00f7ff; /* 科技蓝 */
  --secondary-color: #ff00aa; /* 霓虹粉 */
  --dark-bg: #0a0a1a; /* 深色背景 */
  --darker-bg: #050510; /* 更深背景 */
  --card-bg: rgba(15, 15, 35, 0.7); /* 卡片背景 */
  --text-color: #e0e0ff; /* 浅色文字 */
  --text-glow: 0 0 8px var(--primary-color); /* 文字发光效果 */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: STXihei, "华文细黑", "Microsoft YaHei", "微软雅黑", monospace; /* 科技感字体 */
}

body {
  background-color: var(--dark-bg);
  color: var(--text-color);
  line-height: 1.6;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 247, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 170, 0.1) 0%, transparent 20%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 头部样式 - 科技感 */
header {
  background: linear-gradient(135deg, var(--darker-bg) 0%, #1a1a3a 100%);
  color: var(--primary-color);
  padding: 25px 0;
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.3);
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: scanline 3s linear infinite;
}

@keyframes scanline {
  0% { top: 0; }
  100% { top: 100%; }
}

header h1 {
  font-size: 2.5rem;
  text-shadow: var(--text-glow);
  letter-spacing: 2px;
  position: relative;
}

/* 登录容器 */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  perspective: 1000px;
}

/* 登录表单 - 未来感设计 */
.login-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 247, 255, 0.2);
  width: 100%;
  max-width: 400px;
  border: 1px solid rgba(0, 247, 255, 0.3);
  backdrop-filter: blur(10px);
  transform-style: preserve-3d;
  transition: all 0.5s ease;
}

.login-form:hover {
  transform: translateY(-5px) rotateX(5deg);
  box-shadow: 0 10px 40px rgba(0, 247, 255, 0.4);
}

.login-form h2 {
  margin-bottom: 25px;
  text-align: center;
  color: var(--primary-color);
  text-shadow: var(--text-glow);
  font-size: 1.8rem;
  position: relative;
  padding-bottom: 10px;
}

.login-form h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* 表单组样式 */
.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(0, 247, 255, 0.5);
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(10, 10, 25, 0.7);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 4px;
  font-size: 16px;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.5);
  background: rgba(15, 15, 40, 0.9);
}

/* 按钮样式 - 霓虹效果 */
button {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-shadow: 0 0 5px var(--primary-color);
  box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

button:hover {
  background: rgba(0, 247, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
  text-shadow: 0 0 10px var(--primary-color);
}

button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    transparent, transparent, transparent,
    rgba(0, 247, 255, 0.1), transparent, transparent
  );
  transform: rotate(30deg);
  transition: all 0.5s ease;
}

button:hover::before {
  animation: shine 1.5s infinite;
}

@keyframes shine {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* 主界面样式 */
.main-interface {
  display: none;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.welcome-message {
  margin-bottom: 30px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 8px;
  border: 1px solid rgba(0, 247, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.welcome-message::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 247, 255, 0.05),
    transparent
  );
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.welcome-message h2 {
  color: var(--primary-color);
  text-shadow: var(--text-glow);
  margin-bottom: 10px;
}

/* 数据区块样式 */
.data-section {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
  margin-bottom: 30px;
  border: 1px solid rgba(0, 247, 255, 0.3);
  position: relative;
}

.data-section h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: var(--text-glow);
  border-bottom: 1px solid rgba(0, 247, 255, 0.3);
  padding-bottom: 10px;
  font-size: 1.5rem;
}

/* 查询结果区域 */
.query-results {
  margin-top: 20px;
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 4px;
  padding: 15px;
  max-height: 300px;
  overflow-y: auto;
  background: rgba(10, 10, 25, 0.5);
  font-family: 'Courier New', monospace;
  color: var(--primary-color);
  text-shadow: 0 0 5px rgba(0, 247, 255, 0.3);
}

.query-results pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

.query-form textarea {
  width: 100%;
  padding: 15px;
  background: rgba(10, 10, 25, 0.7);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 4px;
  font-size: 16px;
  min-height: 120px;
  margin-bottom: 15px;
  color: var(--text-color);
  font-family: 'Courier New', monospace;
  transition: all 0.3s ease;
}

.query-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
  background: rgba(15, 15, 40, 0.9);
}

/* 退出按钮样式 */
.logout-btn {
  background: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  width: auto;
  padding: 8px 20px;
  float: right;
  text-shadow: 0 0 5px var(--primary-color);
  box-shadow: 0 0 8px rgba(0, 247, 255, 0.2);
}

.logout-btn:hover {
  background: rgba(255, 0, 170, 0.1);
  box-shadow: 0 0 20px rgba(255, 0, 170, 0.4);
  text-shadow: 0 0 10px var(--secondary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .login-form {
    padding: 25px;
    margin: 0 15px;
  }

  header h1 {
    font-size: 2rem;
  }

  .data-section {
    padding: 20px 15px;
  }
}

/* 添加一些科技感元素 */
.tech-corner {
  position: fixed;
  width: 100px;
  height: 100px;
  border-style: solid;
  border-color: var(--primary-color);
  pointer-events: none;
  opacity: 0.5;
}

.tech-corner:nth-child(1) {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.tech-corner:nth-child(2) {
  top: 0;
  right: 0;
  border-width: 2px 2px 0 0;
}

.tech-corner:nth-child(3) {
  bottom: 0;
  left: 0;
  border-width: 0 0 2px 2px;
}

.tech-corner:nth-child(4) {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

/* 模块选择页面样式 */
.module-selection {
    display: none;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.welcome-header h2 {
    color: #f9fafb;
    margin-bottom: 10px;
    color: #f9fafb;
}

.welcome-header p {
    color: #666;
    font-size: 18px;
    color: #f9fafb;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* ========= 绚丽.module-card 开始 ========= */
.module-card {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 30px 25px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f3f9 100%);
  cursor: pointer;
  transition: transform .4s cubic-bezier(.175,.885,.32,1.275),
              box-shadow .4s;
  text-align: center;
  /* 霓虹边框 */
  border: 2px solid transparent;
  background-clip: padding-box;
}

/* 渐变霓虹边框（底层伪元素） */
.module-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background: linear-gradient(135deg,
              #ff00ff, #00ffff, #00ff88,
              #ff00ff, #00ffff);
  background-size: 400% 400%;
  animation: borderGlow 8s ease infinite;
}

/* 内发光遮罩 */
.module-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255,255,255,.85);
  transition: opacity .3s;
}

/* 悬停 3D 上浮 + 缩放 */
.module-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px -10px rgba(0, 255, 255, .35),
              0 0 25px rgba(255, 0, 255, .25);
}
.module-card:hover::after {
  opacity: .3;          /* 内发光更透 */
}

/* 图标脉冲动效 */
.module-card .module-icon i,
.module-card .module-icon-img {
  font-size: 48px;
  filter: drop-shadow(0 0 6px rgba(0, 255, 255, .6));
  transition: transform .4s;
}
.module-card:hover .module-icon i,
.module-card:hover .module-icon-img {
  animation: pulse 1.2s infinite;
}

/* 扫光遮罩（悬停时从左到右闪一次） */
.module-card:hover::before {
  animation: borderGlow 8s ease infinite,
             sweep 1.2s ease forwards;
}

/* ====== 关键帧 ====== */
@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse {
  0%   { transform: scale(1);   }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1);   }
}

@keyframes sweep {
  0%   { clip-path: inset(0 100% 0 0); }
  100% { clip-path: inset(0 0 0 0); }
}
/* ========= 绚丽.module-card 结束 ========= */

.module-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: #4CAF50;                 /* 原色保留 */
  filter: drop-shadow(0 0 6px currentColor);
  transition: transform .4s;
}
.module-card:hover .module-icon {
  animation: pulse 1.2s infinite;
}

.module-card h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 24px;
  transition: color .3s;
}
.module-card:hover h3 {
  color: #7c4dff;                 /* 悬停渐变紫 */
}

.module-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
  transition: color .3s;
}
.module-card:hover p {
  color: #444;
}

.module-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stat {
  background: rgba(240,240,240,.6);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  color: #666;
  transition: all .3s;
  border: 1px solid transparent;
}
.module-card:hover .stat {
  background: rgba(76,175,80,.1);
  color: #4CAF50;
  border-color: currentColor;
}

/* ===== 关键帧 ===== */
@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes pulse {
  0%   { transform: scale(1);   }
  50%  { transform: scale(1.15); }
  100% { transform: scale(1);   }
}

/* 顶部导航栏样式 */
.top-nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 15px 25px;
  background: linear-gradient(135deg, rgba(5, 5, 16, 0.9), rgba(10, 10, 35, 0.85));
  box-shadow: 0 2px 10px rgba(0, 247, 255, 0.2);
  margin-bottom: 30px;
  gap: 20px;
  border-bottom: 1px solid rgba(0, 247, 255, 0.2);
}
.top-nav h2 {
  margin: 0;
  font-size: 22px;
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-color);
  letter-spacing: 1px;
  text-align: center;
  white-space: nowrap;
}

.back-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.back-btn:hover {
    background: #45a049;
}

/* 可达鸭应用样式 */
.k可达鸭-content {
    padding: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 247, 255, 0.25);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.2);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 247, 255, 0.4);
}

.feature-card h3 {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

.feature-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 247, 255, 0.3);
}

.feature-btn:hover {
    background: rgba(0, 247, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 247, 255, 0.5);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }

    .top-nav {
        flex-direction: column;
        gap: 15px;
    }

    .top-nav h2 {
        font-size: 20px;
    }
}


/* 小图标设计 */
.module-icon-img {
    width: 48px;      /* 与原来图标同尺寸 */
    height: 48px;
    object-fit: contain;
}

/* 下载文件界面 */
/* 在style.css中添加以下样式 */
.download-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.feature-btn {
    width: 100%;
    padding: 8px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.feature-btn:hover {
    background-color: #45a049;
}

.download-btn {
    background-color: #cccccc;
}

/* ========= 内嵌对话 ========= */
.chat-embed {
  padding: 0;
}

.chat-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

.chat-log {
  height: 450px;
  overflow-y: auto;
  background: var(--card-bg);
  border: 1px solid rgba(0, 247, 255, 0.25);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'Courier New', monospace;
  color: var(--text-color);
}

.chat-log .bubble {
  max-width: 70%;
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.4;
  word-break: break-word;
}
.chat-log .bubble.user {
  align-self: flex-end;
  background: rgba(0, 247, 255, 0.15);
  border: 1px solid rgba(0, 247, 255, 0.4);
  color: var(--primary-color);
}
.chat-log .bubble.bot {
  align-self: flex-start;
  background: rgba(255, 0, 170, 0.08);
  border: 1px solid rgba(255, 0, 170, 0.3);
  color: var(--secondary-color);
}

.chat-form {
  display: flex;
  gap: 10px;
}
.chat-form textarea {
  flex: 1;
  resize: none;
  min-height: 50px;
  background: rgba(10, 10, 25, 0.7);
  border: 1px solid rgba(0, 247, 255, 0.3);
  border-radius: 4px;
  padding: 10px;
  color: var(--text-color);
  font-family: inherit;
}
.chat-form button {
  width: 100px;
  align-self: flex-end;
}

/* 固定星空背景 */
#star-sky{
  position: fixed;
  inset: 0;          /* 等价于 top:0; right:0; bottom:0; left:0; */
  z-index: -1;       /* 保证在所有内容下方 */
}

/* === 让 Deepseek iframe 全屏 === */
#deepseekEmbed {
  display: none;          /* 保持原来的隐藏逻辑 */
  flex-direction: column;
  height: 100vh;          /* 视口整高 */
}

#deepseekEmbed > div:last-child {   /* iframe 的直接父级 */
  flex: 1;               /* 占满剩余空间 */
  min-height: 0;         /* 防止 flex 子项溢出 */
}


/* 系统设置 - 任务管理样式 */
.settings-content {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.task-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(0, 247, 255, 0.2);
}

.task-header h3 {
    color: var(--primary-color);
    text-shadow: var(--text-glow);
    margin: 0;
}

.refresh-btn {
    width: auto;
    padding: 8px 16px;
    background: rgba(0, 247, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.refresh-btn:hover {
    background: rgba(0, 247, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 247, 255, 0.4);
}

.task-list {
    display: grid;
    gap: 15px;
}

.task-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 247, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    transition: all 0.3s ease;
}

.task-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 247, 255, 0.2);
}

.task-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.task-icon.running {
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    animation: pulse 2s infinite;
}

.task-icon.finished {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.task-icon.failed {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.task-icon.pending {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.task-icon.expired {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.task-icon.stopped {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.task-info h4 {
    color: var(--primary-color);
    margin: 0 0 5px 0;
    font-size: 18px;
}

.task-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
}

.task-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.task-status {
    text-align: right;
}

.task-status .status-badge {
    padding: 0 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.status-badge.running {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.status-badge.finished {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.status-badge.failed {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

.status-badge.pending {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid #ff9800;
}

.status-badge.expired {
    background: rgba(139, 0, 255, 0.15);
    color: #8b00ff;
    border: 1px solid #8b00ff;
}

.status-badge.stopped {
    background: rgba(57, 255, 20, 0.15);
    color: #39ff14;
    border: 1px solid #39ff14;
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-color);
}

.loading i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #f44336;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: var(--text-color);
    opacity: 0.6;
}

.filter-controls {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-controls select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 247, 255, 0.4);
  background: rgba(10, 10, 25, 0.7);
  color: var(--text-color);
  font-size: 14px;
  min-width: 150px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .task-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .task-meta {
        justify-content: center;
    }

    .task-status {
        text-align: center;
    }
}

/* 任务状态变更css */
.task-status {
  display: flex;
  align-items: center;
  gap: 8px;            /* 徽章和按钮间距 */
  white-space: nowrap; /* 禁止换行 */
}

.action-btn.inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;                /* 与 status-badge 同高 */
  padding: 0 10px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* 暂停按钮：科技蓝主色 */
.action-btn.inline.pause {
  background: rgba(0, 247, 255, 0.15);
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 6px rgba(0, 247, 255, 0.35);
}

/* 启动按钮：霓虹青绿 */
.action-btn.inline.start {
  background: rgba(0, 255, 234, 0.15);
  color: #00ffea;
  border-color: #00ffea;
  box-shadow: 0 0 6px rgba(0, 255, 234, 0.5);
}

/* 工作流按钮：霓虹紫主色 - 更清晰可见 */
.action-btn.inline.workflow {
  background: rgba(180, 70, 220, 0.25);
  color: #D37FFF;
  border-color: #D37FFF;
  box-shadow: 0 0 8px rgba(211, 127, 255, 0.8);
  text-shadow: 0 0 8px rgba(211, 127, 255, 0.8);
}

/* 悬停：发光上浮 - 增强工作流按钮效果 */
.action-btn.inline:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 15px currentColor;
  text-shadow: 0 0 12px currentColor;
}

/* 工作流按钮特殊悬停效果 */
.action-btn.inline.workflow:hover {
  background: rgba(211, 127, 255, 0.35);
  box-shadow: 0 0 20px rgba(211, 127, 255, 1);
  text-shadow: 0 0 15px #D37FFF;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal {
  background: var(--card-bg);
  border: 1px solid var(--primary-color);
  border-radius: 12px;
  padding: 25px 30px;
  width: 320px;
  max-width: 90vw;
  box-shadow: 0 0 25px rgba(0,247,255,0.3);
}
.modal h3 {
  margin: 0 0 20px;
  color: var(--primary-color);
  text-align: center;
}
.modal .form-group {
  margin-bottom: 15px;
}
.modal .form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-color);
  font-size: 14px;
}
.modal .form-group input {
  width: 100%;
  padding: 8px 10px;
  background: rgba(10,10,25,0.7);
  border: 1px solid rgba(0,247,255,0.3);
  border-radius: 6px;
  color: var(--text-color);
}
.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.modal-actions button {
  flex: 1;
}

/* ================= 底部制作者信息 ================= */
.footer-tech{
  position: relative;
  margin-top: 80px;            /* 与主体留出呼吸空间 */
  padding: 40px 20px 30px;
  background: linear-gradient(135deg, var(--darker-bg) 0%, #0a0a2a 100%);
  border-top: 1px solid rgba(0, 247, 255, 0.25);
  box-shadow: 0 -5px 25px rgba(0, 247, 255, 0.1);
  overflow: hidden;
}

.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  font-size: 14px;
  color: var(--text-color);
}

.footer-col h4{
  margin-bottom: 12px;
  font-size: 16px;
  color: var(--primary-color);
  text-shadow: 0 0 4px var(--primary-color);
}

.footer-col a{
  color: var(--primary-color);
  text-decoration: none;
  transition: color .3s;
}
.footer-col a:hover{
  color: var(--secondary-color);
}

/* 扫描线装饰 */
.footer-scan{
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  animation: footerScan 6s linear infinite;
}

@keyframes footerScan{
  0%   { left: -100%; }
  100% { left: 100%;  }
}

@media(max-width: 600px){
  .footer-inner{
    grid-template-columns: 1fr;
    text-align: center;
  }
}


