/* 基础与主题（增强赛博朋克风格 - 更浅的渐变色） */
:root {
  --bg: #1a1f2e;
  --bg-secondary: #242938;
  --panel: #2a3441;
  --card: #2d3748;
  --card-hover: #374151;
  --accent: #00ffd0;        /* 青绿霓虹 */
  --accent-2: #ff3d81;      /* 品红霓虹 */
  --accent-3: #ffaa00;      /* 橙色霓虹 */
  --text: #e6f1ff;
  --text-secondary: #b8c5d1;
  --muted: #94a3b8;
  --line: #1f2a35;
  --line-bright: #2a3441;
  --good: #2ee59d;
  --warn: #ffb020;
  --bad: #ff5f5f;
  --shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,255,208,0.06) inset;
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.7), 0 0 0 1px rgba(0,255,208,0.12) inset;
  --glow: 0 0 0px rgba(0,255,208,0), 0 0 12px rgba(0,255,208,0.4), 0 0 28px rgba(0,255,208,0.2);
  --glow-strong: 0 0 4px rgba(0,255,208,0.6), 0 0 16px rgba(0,255,208,0.4), 0 0 32px rgba(0,255,208,0.2);
  --border-gradient: linear-gradient(135deg, rgba(0,255,208,0.3), rgba(255,61,129,0.2), rgba(255,170,0,0.1));

  /* 移动端响应式变量 */
  --mobile-padding: 16px;
  --mobile-gap: 12px;
  --mobile-header-height: 60px;
  --mobile-nav-height: 60px;
  --touch-target-size: 44px;
  --mobile-font-size: 16px;
  --mobile-font-size-small: 14px;
  --mobile-font-size-large: 18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; color:var(--text);
  background:
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url('background.png'),
    radial-gradient(1400px 700px at 85% -15%, rgba(0,255,208,0.15), transparent),
    radial-gradient(900px 450px at -15% 35%, rgba(255,61,129,0.12), transparent),
    radial-gradient(600px 300px at 50% 100%, rgba(255,170,0,0.08), transparent),
    linear-gradient(135deg, rgba(26,31,46,0.9), rgba(36,41,56,0.9)),
    repeating-linear-gradient(90deg, transparent, transparent 98px, rgba(0,255,208,0.03) 100px),
    linear-gradient(45deg, #1a1f2e, #242938, #2a3441);
  background-size: cover, cover, auto, auto, auto, auto, auto, auto;
  background-position: center, center, auto, auto, auto, auto, auto, auto;
  background-attachment: fixed, fixed, auto, auto, auto, auto, auto, auto;
  font: 18px/1.6 system-ui, -apple-system, Segoe UI, Roboto, PingFang SC, Microsoft YaHei, sans-serif;
  overflow-x:hidden;
  position: relative;
}

/* 移动端基础设置 */
@media (max-width: 768px) {
  body {
    font-size: var(--mobile-font-size);
    line-height: 1.5;
    /* 移动端优化背景 */
    background-attachment: scroll, scroll, auto, auto, auto, auto, auto, auto;
    background-size: cover, cover, 200%, 200%, 200%, auto, auto, auto;
  }

  /* 减少移动端的动画效果以提升性能 */
  *, *::before, *::after {
    animation-duration: 0.3s !important;
    animation-delay: 0s !important;
  }
}

/* 增强扫描线动画 */
body::after{
  content:""; position:fixed; inset:0; pointer-events:none; mix-blend-mode:soft-light; z-index: 1;
  background:
    repeating-linear-gradient(0deg, rgba(0,255,208,0.03) 0px, rgba(0,255,208,0.03) 1px, transparent 1px, transparent 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.01) 0px, rgba(255,255,255,0.01) 1px, transparent 1px, transparent 2px);
  animation: scan 8s ease-in-out infinite;
}

/* 科技风格背景图案 */
body::before{
  content:""; position:fixed; inset:0; pointer-events:none; z-index: 1;
  background-image:
    /* 圆形HUD界面 */
    radial-gradient(circle at 15% 25%, transparent 80px, rgba(0,255,208,0.1) 82px, rgba(0,255,208,0.1) 84px, transparent 86px),
    radial-gradient(circle at 15% 25%, transparent 60px, rgba(0,255,208,0.05) 62px, rgba(0,255,208,0.05) 64px, transparent 66px),
    radial-gradient(circle at 15% 25%, transparent 40px, rgba(0,255,208,0.08) 42px, rgba(0,255,208,0.08) 44px, transparent 46px),
    /* 右下角科技圆环 */
    radial-gradient(circle at 85% 75%, transparent 100px, rgba(255,61,129,0.08) 102px, rgba(255,61,129,0.08) 104px, transparent 106px),
    radial-gradient(circle at 85% 75%, transparent 70px, rgba(255,61,129,0.06) 72px, rgba(255,61,129,0.06) 74px, transparent 76px),
    /* 数字雨点 */
    radial-gradient(2px 2px at 20px 30px, rgba(0,255,208,0.3), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,170,0,0.3), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255,61,129,0.3), transparent);
  background-repeat: repeat;
  background-size: 100vw 100vh, 100vw 100vh, 100vw 100vh, 100vw 100vh, 100vw 100vh, 200px 100px, 200px 100px, 200px 100px;
  animation: techMatrix 25s linear infinite;
  opacity: 0.6;
}

@keyframes scan{
  0%{opacity:.12; transform:translateY(-5px)}
  50%{opacity:.06}
  100%{opacity:.12; transform:translateY(5px)}
}

@keyframes techMatrix{
  0%{
    transform:translateY(-100px) rotate(0deg);
    opacity: 0.4;
  }
  50%{
    opacity: 0.7;
  }
  100%{
    transform:translateY(100vh) rotate(360deg);
    opacity: 0.4;
  }
}

/* 增强霓虹网格背景 */
.page-app{position:relative; z-index: 2;}
.page-app::before{
  content:""; position:absolute; inset:0; pointer-events:none; opacity:0.3; z-index: -1;
  background-image:
    linear-gradient(var(--line-bright) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-bright) 1px, transparent 1px),
    radial-gradient(circle at 25% 25%, rgba(0,255,208,0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255,61,129,0.08) 0%, transparent 50%);
  background-size: 50px 50px, 50px 50px, 200px 200px, 300px 300px;
  mask-image: radial-gradient(120% 70% at 50% -15%, #000 75%, transparent 100%);
  animation: gridPulse 4s ease-in-out infinite alternate;
}

@keyframes gridPulse{
  0%{opacity: 0.2}
  100%{opacity: 0.4}
}

/* 增强头部布局 */
.app-header{
  display:flex; align-items:center; justify-content:space-between; padding:16px 24px;
  border-bottom:2px solid transparent;
  background: linear-gradient(135deg, rgba(26,31,46,0.95), rgba(36,41,56,0.95));
  backdrop-filter: blur(12px);
  position:sticky; top:0; z-index:100;
  box-shadow:
    0 4px 20px rgba(0,0,0,0.4),
    0 0 0 1px rgba(0,255,208,0.1) inset,
    0 2px 0 rgba(0,255,208,0.15);
  border-image: var(--border-gradient) 1;
  transition: all 0.3s ease;
}

.app-header:hover{
  box-shadow:
    0 6px 30px rgba(0,0,0,0.5),
    0 0 0 1px rgba(0,255,208,0.2) inset,
    0 2px 0 rgba(0,255,208,0.25);
}

.brand{display:flex; align-items:center; gap:12px; position: relative;}
.brand h1{margin:0; font-size:20px; font-weight:700; letter-spacing:0.5px;}

.brand-icon{
  color:var(--accent);
  font-size:24px;
  filter: drop-shadow(0 0 12px rgba(0,255,208,0.8));
  animation: iconPulse 3s ease-in-out infinite;
  position: relative;
}

.brand-logo{
  height: 60px;
  width: auto;
  border-radius: 12px;
  filter: drop-shadow(0 0 16px rgba(0,255,208,0.8));
  animation: iconPulse 3s ease-in-out infinite;
  margin-right: 8px;
}

/* 移动端头部优化 */
@media (max-width: 768px) {
  .app-header {
    padding: 12px var(--mobile-padding);
    height: var(--mobile-header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
  }

  .brand {
    gap: 8px;
    flex: 1;
  }

  .brand h1 {
    font-size: var(--mobile-font-size-large);
    display: none; /* 隐藏标题文字，只保留logo */
  }

  .brand-logo {
    height: 36px;
    margin-right: 4px;
  }

  .top-actions {
    gap: 8px;
  }

  .top-actions .btn {
    padding: 8px 12px;
    font-size: var(--mobile-font-size-small);
    min-width: var(--touch-target-size);
    height: var(--touch-target-size);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top-actions .btn span {
    display: none; /* 隐藏按钮文字，只显示图标 */
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* 为移动端添加顶部间距 */
  .page {
    padding-top: calc(var(--mobile-header-height) + var(--mobile-padding));
  }
}

.brand-icon::before{
  content:"⬢";
  display:inline-block;
  margin-right:8px;
  transform:rotate(0deg);
  transition: transform 0.3s ease;
}

.brand:hover .brand-icon::before{
  transform:rotate(180deg);
}

@keyframes iconPulse{
  0%, 100%{filter: drop-shadow(0 0 12px rgba(0,255,208,0.8))}
  50%{filter: drop-shadow(0 0 20px rgba(0,255,208,1))}
}

.top-actions{display:flex; gap:12px; align-items:center;}

/* 移动端汉堡菜单 */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  width: var(--touch-target-size);
  height: var(--touch-target-size);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(0,255,208,0.1);
  box-shadow: 0 0 10px rgba(0,255,208,0.3);
}

.page{padding:24px; display:block}
.page-home{display:grid; grid-template-columns: 2fr 1fr; gap:24px}
.hidden{display:none}

.page-app{display:grid; grid-template-columns: 260px 1fr 280px; gap:16px}
.sidebar, .right{align-self:start}
.main{display:flex; flex-direction:column; gap:16px}

/* 移动端页面布局 */
@media (max-width: 768px) {
  .page {
    padding: var(--mobile-padding);
  }

  .page-home {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-gap);
  }

  .page-app {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-gap);
    position: relative;
  }

  .main {
    order: 2;
    gap: var(--mobile-gap);
  }

  .sidebar {
    order: 1;
    position: fixed;
    top: var(--mobile-header-height);
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--mobile-header-height));
    background: linear-gradient(135deg, rgba(26,31,46,0.98), rgba(36,41,56,0.98));
    backdrop-filter: blur(12px);
    z-index: 1000;
    transition: left 0.3s ease;
    overflow-y: auto;
    border-right: 2px solid var(--accent);
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
  }

  .sidebar.mobile-open {
    left: 0;
  }

  .right {
    order: 3;
    position: sticky;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26,31,46,0.98), rgba(36,41,56,0.98));
    backdrop-filter: blur(12px);
    border-top: 2px solid var(--accent);
    margin: 0 calc(-1 * var(--mobile-padding));
    padding: var(--mobile-padding);
    z-index: 100;
  }
}

/* 机甲风格卡片设计 */
.card{
  position:relative;
  background:
    linear-gradient(135deg, rgba(45,55,72,0.4), rgba(42,52,65,0.4)),
    radial-gradient(circle at top right, rgba(0,255,208,0.05), transparent 70%),
    linear-gradient(45deg, rgba(26,31,46,0.2), rgba(36,41,56,0.2));
  border: 3px solid rgba(0,255,208,0.8);
  clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
  padding:24px;
  box-shadow:
    0 0 5px rgba(0,255,208,0.9),
    0 0 10px rgba(0,255,208,0.7),
    0 0 15px rgba(0,255,208,0.5),
    0 0 20px rgba(0,255,208,0.3),
    0 0 35px rgba(0,255,208,0.2),
    inset 0 0 5px rgba(255,61,129,0.4),
    inset 0 0 10px rgba(255,215,0,0.2),
    0 8px 32px rgba(0,0,0,0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(8px);
  animation: neonPulse 3s ease-in-out infinite;
}

/* 移动端卡片优化 */
@media (max-width: 768px) {
  .card {
    padding: var(--mobile-padding);
    clip-path: polygon(12px 0%, 100% 0%, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0% 100%, 0% 12px);
    border-width: 2px;
    /* 简化移动端阴影效果 */
    box-shadow:
      0 0 3px rgba(0,255,208,0.8),
      0 0 6px rgba(0,255,208,0.5),
      0 0 12px rgba(0,255,208,0.3),
      inset 0 0 3px rgba(255,61,129,0.3),
      0 4px 16px rgba(0,0,0,0.3);
  }

  .card:hover {
    transform: translateY(-2px) scale(1.01);
    /* 简化移动端悬停效果 */
    box-shadow:
      0 0 5px rgba(0,255,208,1),
      0 0 10px rgba(0,255,208,0.6),
      0 0 20px rgba(0,255,208,0.4),
      inset 0 0 5px rgba(255,61,129,0.4),
      0 8px 24px rgba(0,0,0,0.4);
  }
}

.card:hover{
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0,255,208,1);
  box-shadow:
    0 0 8px rgba(0,255,208,1),
    0 0 15px rgba(0,255,208,0.8),
    0 0 25px rgba(0,255,208,0.6),
    0 0 35px rgba(0,255,208,0.4),
    0 0 50px rgba(0,255,208,0.3),
    0 0 75px rgba(255,61,129,0.3),
    inset 0 0 8px rgba(255,61,129,0.5),
    inset 0 0 15px rgba(255,215,0,0.3),
    0 16px 48px rgba(0,0,0,0.4);
  background:
    linear-gradient(135deg, rgba(55,65,82,0.5), rgba(45,55,72,0.5)),
    radial-gradient(circle at top right, rgba(0,255,208,0.1), transparent 70%),
    linear-gradient(45deg, rgba(26,31,46,0.2), rgba(36,41,56,0.2));
}

.card::before{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:16px;
  pointer-events:none;
  background: linear-gradient(45deg,
    rgba(0,255,208,0.3),
    rgba(255,61,129,0.2),
    rgba(255,215,0,0.2),
    rgba(0,255,208,0.3)
  );
  filter: blur(15px);
  opacity:0.6;
  z-index:-1;
  transition: opacity 0.3s ease;
  animation: neonPulse 4s ease-in-out infinite;
}

.card:hover::before{
  opacity: 0.7;
}

.card::after{
  content:""; position:absolute; top:8px; right:8px; width:12px; height:12px;
  background: conic-gradient(from 45deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
  box-shadow: var(--glow);
  animation: cornerPulse 2s ease-in-out infinite;
}

@keyframes cornerPulse{
  0%, 100%{transform: scale(1); opacity: 0.8}
  50%{transform: scale(1.2); opacity: 1}
}

/* 霓虹边框脉冲动画 */
@keyframes neonPulse{
  0%, 100%{
    filter: brightness(1) saturate(1);
  }
  50%{
    filter: brightness(1.2) saturate(1.3);
  }
}

/* 特殊卡片样式 - 科技风格 */
.hero-card{
  min-height:280px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  background:
    linear-gradient(135deg, rgba(45,55,72,0.95), rgba(42,52,65,0.95)),
    radial-gradient(ellipse at center, rgba(0,255,208,0.12), transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(255,61,129,0.08), transparent 40%);
  position: relative;
  overflow: visible;
}

.hero-card::before{
  background: linear-gradient(135deg, rgba(0,255,208,0.4), rgba(255,61,129,0.3), rgba(255,170,0,0.2));
}

/* 科技风格装饰圆环 */
.hero-card::after{
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  animation: heroRing 10s linear infinite;
  opacity: 0.6;
}

@keyframes heroRing{
  0%{transform: rotate(0deg)}
  100%{transform: rotate(360deg)}
}

.notice{
  border-left: 3px solid var(--accent-3);
  background:
    linear-gradient(135deg, rgba(255,170,0,0.05), rgba(18,26,36,0.95)),
    radial-gradient(circle at left, rgba(255,170,0,0.1), transparent 50%);
}

.notice ul{margin:0 0 0 20px; color:var(--text-secondary)}

/* 新增图标和头部样式 */
.hero-header{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero-icon{
  font-size: 32px;
  color: var(--accent);
  filter:
    drop-shadow(0 0 12px rgba(0,255,208,0.8))
    drop-shadow(0 0 24px rgba(0,255,208,0.4));
  animation: heroIconFloat 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(0,255,208,0.6);
}

@keyframes heroIconFloat{
  0%, 100%{transform: translateY(0px)}
  50%{transform: translateY(-4px)}
}

.notice-header{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.notice-header i{
  color: var(--accent-3);
  font-size: 16px;
  filter: drop-shadow(0 0 6px rgba(255,170,0,0.6));
}

.notice ul li{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.notice ul li i{
  color: var(--accent);
  font-size: 12px;
  width: 16px;
  text-align: center;
}

/* 面板标题图标 */
.panel h2 i, .right h3 i{
  margin-right: 8px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(0,255,208,0.6));
}

/* 导航链接图标 - 增强版 */
.nav-link i{
  margin-right: 12px;
  font-size: 16px;
  width: 20px;
  text-align: center;
  filter: drop-shadow(0 0 8px rgba(0,255,208,0.6));
  transition: all 0.3s ease;
}

.nav-link:hover i{
  filter: drop-shadow(0 0 12px rgba(0,255,208,0.8));
  transform: scale(1.1);
}

.nav-link.active i{
  color: var(--accent);
  filter: drop-shadow(0 0 16px rgba(0,255,208,1));
  transform: scale(1.15);
}

/* 按钮图标 */
.btn i{
  margin-right: 6px;
  font-size: 12px;
}

/* 高级卡片效果 */
.card-enhanced{
  position: relative;
  overflow: hidden;
}

.card-enhanced::before{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: cardScan 3s ease-in-out infinite;
}

@keyframes cardScan{
  0%{left: -100%}
  50%{left: 100%}
  100%{left: -100%}
}

/* 数据卡片 - 科技风格 */
.data-card{
  background:
    linear-gradient(135deg, rgba(0,255,208,0.08), rgba(45,55,72,0.4)),
    radial-gradient(circle at top left, rgba(255,61,129,0.04), transparent 50%);
  border: 2px solid transparent;
  background-clip: padding-box;
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
  padding: 18px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 2px rgba(0,255,208,0.8),
    0 0 3px rgba(0,255,208,0.9),
    0 0 6px rgba(0,255,208,0.7),
    0 0 12px rgba(0,255,208,0.5),
    0 0 20px rgba(0,255,208,0.3),
    inset 0 0 3px rgba(255,61,129,0.3),
    inset 0 0 6px rgba(255,215,0,0.1);
}

.data-card::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2), var(--accent));
  animation: dataFlow 3s ease-in-out infinite;
}

@keyframes dataFlow{
  0%, 100%{opacity: 0.3}
  50%{opacity: 0.8}
}

.data-card:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow:
    0 0 0 2px rgba(0,255,208,1),
    0 0 5px rgba(0,255,208,1),
    0 0 10px rgba(0,255,208,0.8),
    0 0 20px rgba(0,255,208,0.6),
    0 0 35px rgba(0,255,208,0.4),
    0 0 60px rgba(255,61,129,0.3),
    inset 0 0 5px rgba(255,61,129,0.4),
    inset 0 0 10px rgba(255,215,0,0.2),
    0 8px 24px rgba(0,0,0,0.3);
}

.data-card::after{
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: dataPulse 2s ease-in-out infinite;
}

@keyframes dataPulse{
  0%, 100%{opacity: 0.6; transform: scale(1)}
  50%{opacity: 1; transform: scale(1.3)}
}

/* 状态指示器 */
.status-indicator{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-indicator.active{
  background: rgba(46,229,157,0.15);
  color: var(--good);
  border: 1px solid rgba(46,229,157,0.3);
}

.status-indicator.warning{
  background: rgba(255,176,32,0.15);
  color: var(--warn);
  border: 1px solid rgba(255,176,32,0.3);
}

.status-indicator.error{
  background: rgba(255,95,95,0.15);
  color: var(--bad);
  border: 1px solid rgba(255,95,95,0.3);
}

.status-indicator::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink{
  0%, 100%{opacity: 1}
  50%{opacity: 0.3}
}

/* 交互动画增强 */
.field-group{
  transition: all 0.3s ease;
  border-radius: 8px;
  padding: 8px;
  margin: 8px 0;
}

.field-group:hover{
  background: rgba(0,255,208,0.02);
  box-shadow: 0 0 0 1px rgba(0,255,208,0.1) inset;
}

/* 表单动画 */
.form-row{
  opacity: 0;
  transform: translateY(20px);
  animation: formSlideIn 0.5s ease-out forwards;
}

.form-row:nth-child(1){animation-delay: 0.1s;}
.form-row:nth-child(2){animation-delay: 0.2s;}
.form-row:nth-child(3){animation-delay: 0.3s;}
.form-row:nth-child(4){animation-delay: 0.4s;}
.form-row:nth-child(5){animation-delay: 0.5s;}

@keyframes formSlideIn{
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

/* 加载动画 */
.loading{
  position: relative;
  overflow: hidden;
}

.loading::after{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,208,0.1), transparent);
  animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading{
  0%{left: -100%}
  100%{left: 100%}
}

/* 成功动画 */
.success-flash{
  animation: successFlash 0.6s ease-out;
}

@keyframes successFlash{
  0%{background: rgba(46,229,157,0.2)}
  100%{background: transparent}
}

/* 错误动画 */
.error-shake{
  animation: errorShake 0.5s ease-in-out;
}

@keyframes errorShake{
  0%, 100%{transform: translateX(0)}
  25%{transform: translateX(-5px)}
  75%{transform: translateX(5px)}
}

/* 悬浮提示 */
.tooltip{
  position: relative;
  cursor: help;
}

.tooltip::before{
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: var(--text);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.tooltip:hover::before{
  opacity: 1;
}

/* 进度条 */
.progress-bar{
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
  margin: 8px 0;
}

.progress-fill{
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 2px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

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

/* 机甲风格装饰元素 */
.mecha-corner{
  position: relative;
}

.mecha-corner::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 3px solid var(--accent);
  border-left: 3px solid var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 30% 100%, 0 100%);
}

.mecha-corner::after{
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-bottom: 3px solid var(--accent-2);
  border-right: 3px solid var(--accent-2);
  clip-path: polygon(70% 0, 100% 0, 100% 100%, 0 100%, 0 70%);
}

/* 机甲风格分割线 */
.mecha-divider{
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  margin: 16px 0;
  position: relative;
}

.mecha-divider::before{
  content: "";
  position: absolute;
  left: 20%;
  top: -2px;
  width: 8px;
  height: 6px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 20% 100%);
}

.mecha-divider::after{
  content: "";
  position: absolute;
  right: 20%;
  top: -2px;
  width: 8px;
  height: 6px;
  background: var(--accent-2);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

/* 机甲风格标题 */
.mecha-title{
  position: relative;
  padding-left: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mecha-title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--accent);
  transform: translateY(-50%);
}

.mecha-title::after{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%) translateX(-2px);
}

/* 科技风格HUD界面 */
.tech-hud{
  position: fixed;
  top: 20px;
  left: 20px;
  width: 120px;
  height: 120px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.3;
}

/* 移动端科技装饰优化 */
@media (max-width: 768px) {
  .tech-hud {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    opacity: 0.2;
  }

  .tech-ring {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    opacity: 0.2;
  }

  .tech-lines,
  .tech-particles,
  .radar-scan {
    opacity: 0.1;
  }

  .tech-grid {
    opacity: 0.03;
    background-size: 25px 25px;
  }

  /* 简化移动端动画 */
  .tech-hud::before,
  .tech-hud::after,
  .tech-ring::before,
  .tech-ring::after {
    animation-duration: 6s;
  }
}

.tech-hud::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--accent);
  border-radius: 50%;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  animation: hudRotate 8s linear infinite;
}

.tech-hud::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border: 1px solid var(--accent-2);
  border-radius: 50%;
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
  transform: translate(-50%, -50%);
  animation: hudRotate 12s linear infinite reverse;
}

@keyframes hudRotate{
  0%{transform: rotate(0deg)}
  100%{transform: rotate(360deg)}
}

/* 科技风格圆环装饰 */
.tech-ring{
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 5;
  opacity: 0.4;
}

.tech-ring::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: 50%;
  border-top: 3px solid var(--accent-2);
  border-right: 3px solid var(--accent-2);
  animation: ringPulse 6s ease-in-out infinite;
}

.tech-ring::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid var(--accent-3);
  border-radius: 50%;
  border-bottom: 2px solid transparent;
  transform: translate(-50%, -50%);
  animation: ringPulse 4s ease-in-out infinite reverse;
}

@keyframes ringPulse{
  0%, 100%{
    transform: scale(1);
    opacity: 0.4;
  }
  50%{
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* 科技风格连接线 */
.tech-lines{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.2;
}

.tech-lines::before{
  content: "";
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: lineFlow 8s ease-in-out infinite;
}

.tech-lines::after{
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--accent-2), transparent);
  animation: lineFlow 10s ease-in-out infinite reverse;
}

@keyframes lineFlow{
  0%, 100%{opacity: 0.1}
  50%{opacity: 0.4}
}

/* 科技风格粒子效果 */
.tech-particles{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
}

.tech-particles::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(1px 1px at 10% 20%, var(--accent), transparent),
    radial-gradient(1px 1px at 30% 40%, var(--accent-2), transparent),
    radial-gradient(1px 1px at 50% 60%, var(--accent-3), transparent),
    radial-gradient(1px 1px at 70% 80%, var(--accent), transparent),
    radial-gradient(1px 1px at 90% 10%, var(--accent-2), transparent);
  background-size: 300px 300px;
  animation: particleFloat 20s linear infinite;
}

@keyframes particleFloat{
  0%{transform: translateY(100vh) translateX(0)}
  100%{transform: translateY(-100px) translateX(50px)}
}

/* 科技风格扫描效果 */
.tech-scan{
  position: relative;
  overflow: hidden;
}

.tech-scan::before{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0,255,208,0.1),
    rgba(0,255,208,0.3),
    rgba(0,255,208,0.1),
    transparent
  );
  animation: techScanMove 3s ease-in-out infinite;
}

@keyframes techScanMove{
  0%{left: -100%}
  50%{left: 100%}
  100%{left: -100%}
}

/* 科技风格脉冲边框 */
.tech-pulse-border{
  position: relative;
  border: 2px solid var(--accent);
  animation: pulseBorder 2s ease-in-out infinite;
}

@keyframes pulseBorder{
  0%, 100%{
    border-color: var(--accent);
    box-shadow: 0 0 5px rgba(0,255,208,0.3);
  }
  50%{
    border-color: var(--accent-2);
    box-shadow: 0 0 15px rgba(255,61,129,0.5);
  }
}

/* 全息投影效果 */
.hologram{
  position: relative;
  overflow: hidden;
}

.hologram::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,255,208,0.03) 2px,
      rgba(0,255,208,0.03) 4px
    );
  pointer-events: none;
  animation: hologramFlicker 0.15s linear infinite;
}

@keyframes hologramFlicker{
  0%{opacity: 1}
  98%{opacity: 1}
  99%{opacity: 0.8}
  100%{opacity: 1}
}

/* 数据流动画 */
.data-stream{
  position: relative;
  overflow: hidden;
}

.data-stream::after{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0,255,208,0.1),
    rgba(0,255,208,0.3),
    rgba(255,61,129,0.2),
    rgba(255,170,0,0.1),
    transparent
  );
  animation: dataStreamFlow 4s ease-in-out infinite;
}

@keyframes dataStreamFlow{
  0%{left: -100%; opacity: 0}
  10%{opacity: 1}
  90%{opacity: 1}
  100%{left: 100%; opacity: 0}
}

/* 能量条效果 - 优化版 */
.energy-bar{
  position: relative;
  height: 12px;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
  border: 2px solid rgba(0,255,208,0.3);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.3),
    0 0 10px rgba(0,255,208,0.2);
}

.energy-fill{
  height: 100%;
  background: linear-gradient(90deg,
    var(--accent) 0%,
    rgba(0,255,208,0.8) 50%,
    var(--accent-2) 100%);
  border-radius: 6px;
  position: relative;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 15px rgba(0,255,208,0.5);
}

.energy-fill::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: energyPulse 2s ease-in-out infinite;
}

.energy-fill::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.1) 100%);
  pointer-events: none;
}

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

/* 科技风格加载动画 */
.tech-loading{
  position: relative;
  width: 40px;
  height: 40px;
  margin: 20px auto;
}

.tech-loading::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-top: 3px solid var(--accent);
  border-right: 3px solid var(--accent-2);
  border-radius: 50%;
  animation: techSpin 1s linear infinite;
}

.tech-loading::after{
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid transparent;
  border-bottom: 2px solid var(--accent-3);
  border-left: 2px solid var(--accent-3);
  border-radius: 50%;
  animation: techSpin 1.5s linear infinite reverse;
}

@keyframes techSpin{
  0%{transform: rotate(0deg)}
  100%{transform: rotate(360deg)}
}

/* 科技风格雷达扫描 */
.radar-scan{
  position: fixed;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.1;
}

.radar-scan::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  animation: radarPulse 4s ease-out infinite;
}

.radar-scan::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 50%;
  background: linear-gradient(180deg, var(--accent), transparent);
  transform-origin: bottom center;
  transform: translate(-50%, 0) rotate(0deg);
  animation: radarSweep 4s linear infinite;
}

@keyframes radarPulse{
  0%{transform: scale(0.5); opacity: 1}
  100%{transform: scale(2); opacity: 0}
}

@keyframes radarSweep{
  0%{transform: translate(-50%, 0) rotate(0deg)}
  100%{transform: translate(-50%, 0) rotate(360deg)}
}

/* 科技风格网格背景 */
.tech-grid{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.05;
  background-image:
    linear-gradient(rgba(0,255,208,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,208,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridShift 20s linear infinite;
}

@keyframes gridShift{
  0%{transform: translate(0, 0)}
  100%{transform: translate(50px, 50px)}
}

/* 科技风格状态灯 */
.status-light{
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
}

.status-light.online{
  background: var(--good);
  box-shadow: 0 0 10px var(--good);
  animation: statusBlink 2s ease-in-out infinite;
}

.status-light.warning{
  background: var(--warn);
  box-shadow: 0 0 10px var(--warn);
  animation: statusBlink 1s ease-in-out infinite;
}

.status-light.offline{
  background: var(--bad);
  box-shadow: 0 0 10px var(--bad);
  animation: statusBlink 0.5s ease-in-out infinite;
}

/* 科技风格数据显示 - 优化版 */
.data-display{
  font-family: 'Courier New', monospace;
  background: linear-gradient(135deg, rgba(0,255,208,0.15), rgba(0,0,0,0.6));
  border: 2px solid var(--accent);
  padding: 12px 18px;
  border-radius: 8px;
  color: var(--accent);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 20px rgba(0,255,208,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  text-shadow: 0 0 10px rgba(0,255,208,0.8);
  transition: all 0.3s ease;
  min-width: 80px;
  text-align: center;
  display: inline-block;
}

.data-display:hover{
  transform: scale(1.05);
  box-shadow:
    0 0 30px rgba(0,255,208,0.5),
    inset 0 1px 0 rgba(255,255,255,0.2),
    inset 0 -1px 0 rgba(0,0,0,0.3);
  border-color: rgba(0,255,208,0.8);
}

.data-display::before{
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,208,0.4), transparent);
  animation: dataGlitch 3s ease-in-out infinite;
}

.data-display::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  pointer-events: none;
}

@keyframes dataGlitch{
  0%, 90%{left: -100%}
  95%{left: 100%}
  100%{left: -100%}
}

/* 数字卡片脉冲动画 */
@keyframes dataPulse{
  0%, 100%{
    box-shadow:
      0 0 20px rgba(0,255,208,0.3),
      inset 0 1px 0 rgba(255,255,255,0.1),
      inset 0 -1px 0 rgba(0,0,0,0.3);
  }
  50%{
    box-shadow:
      0 0 35px rgba(0,255,208,0.6),
      inset 0 1px 0 rgba(255,255,255,0.2),
      inset 0 -1px 0 rgba(0,0,0,0.3);
  }
}

/* 为重要数据添加脉冲效果 */
.data-display.highlight{
  animation: dataPulse 2s ease-in-out infinite;
}

/* 科技风格分隔符 */
.tech-separator{
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  margin: 16px 0;
  position: relative;
}

.tech-separator::before,
.tech-separator::after{
  content: "";
  position: absolute;
  top: -2px;
  width: 6px;
  height: 5px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.tech-separator::before{left: 20%}
.tech-separator::after{right: 20%}

/* 音效风格视觉反馈 */
.click-ripple{
  position: relative;
  overflow: hidden;
}

.click-ripple::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0,255,208,0.3);
  transform: translate(-50%, -50%);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect{
  0%{
    width: 0;
    height: 0;
    opacity: 1;
  }
  100%{
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

/* 成功反馈动画 */
.success-feedback{
  animation: successPulse 0.8s ease-out;
}

@keyframes successPulse{
  0%{
    background: rgba(46,229,157,0.3);
    box-shadow: 0 0 0 0 rgba(46,229,157,0.7);
  }
  50%{
    box-shadow: 0 0 0 10px rgba(46,229,157,0);
  }
  100%{
    background: transparent;
    box-shadow: 0 0 0 0 rgba(46,229,157,0);
  }
}

/* 错误反馈动画 */
.error-feedback{
  animation: errorShake 0.6s ease-in-out;
}

@keyframes errorShake{
  0%, 100%{transform: translateX(0)}
  10%, 30%, 50%, 70%, 90%{transform: translateX(-3px)}
  20%, 40%, 60%, 80%{transform: translateX(3px)}
}

/* 警告反馈动画 */
.warning-feedback{
  animation: warningBlink 1s ease-in-out 3;
}

@keyframes warningBlink{
  0%, 100%{background: transparent}
  50%{background: rgba(255,176,32,0.2)}
}

/* 加载反馈动画 */
.loading-feedback{
  position: relative;
}

.loading-feedback::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    transparent,
    rgba(0,255,208,0.1),
    rgba(0,255,208,0.2),
    rgba(0,255,208,0.1),
    transparent
  );
  animation: loadingWave 1.5s ease-in-out infinite;
}

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

/* 数据更新动画 */
.data-update{
  animation: dataFlash 0.4s ease-out;
}

@keyframes dataFlash{
  0%{
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent);
  }
  100%{
    color: inherit;
    text-shadow: none;
  }
}

/* 连接状态动画 */
.connection-pulse{
  animation: connectionPulse 2s ease-in-out infinite;
}

@keyframes connectionPulse{
  0%, 100%{
    opacity: 0.6;
    transform: scale(1);
  }
  50%{
    opacity: 1;
    transform: scale(1.05);
  }
}

/* 系统启动动画 */
.system-boot{
  animation: systemBoot 2s ease-out;
}

@keyframes systemBoot{
  0%{
    opacity: 0;
    transform: scale(0.8) rotateX(90deg);
  }
  50%{
    opacity: 0.5;
    transform: scale(0.9) rotateX(45deg);
  }
  100%{
    opacity: 1;
    transform: scale(1) rotateX(0deg);
  }
}

/* 高级科技装饰 */
.tech-frame{
  position: relative;
  padding: 20px;
}

.tech-frame::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  background: linear-gradient(45deg, var(--accent), var(--accent-2)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  clip-path: polygon(
    0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px,
    100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px)
  );
}

/* 科技风格标签 */
.tech-badge{
  display: inline-block;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  box-shadow: 0 0 10px rgba(0,255,208,0.3);
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow{
  0%, 100%{box-shadow: 0 0 10px rgba(0,255,208,0.3)}
  50%{box-shadow: 0 0 20px rgba(0,255,208,0.6)}
}

/* 科技风格进度环 */
.tech-progress-ring{
  position: relative;
  width: 60px;
  height: 60px;
  margin: 10px auto;
}

.tech-progress-ring svg{
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.tech-progress-ring circle{
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
}

.tech-progress-ring .bg{
  stroke: rgba(0,255,208,0.1);
}

.tech-progress-ring .progress{
  stroke: var(--accent);
  stroke-dasharray: 157;
  stroke-dashoffset: 157;
  animation: progressRing 2s ease-out forwards;
  filter: drop-shadow(0 0 5px var(--accent));
}

@keyframes progressRing{
  to{stroke-dashoffset: 0}
}

/* 科技风格时间显示 */
.tech-time{
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--accent);
  background: rgba(0,0,0,0.5);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--accent);
  display: inline-block;
  min-width: 80px;
  text-align: center;
  animation: timeFlicker 5s ease-in-out infinite;
}

@keyframes timeFlicker{
  0%, 95%{opacity: 1}
  96%{opacity: 0.8}
  97%{opacity: 1}
  98%{opacity: 0.9}
  99%{opacity: 1}
  100%{opacity: 1}
}

/* 移动端工具类 */
@media (max-width: 768px) {
  /* 移动端隐藏类 */
  .mobile-hidden {
    display: none !important;
  }

  /* 移动端显示类 */
  .mobile-only {
    display: block !important;
  }

  /* 移动端文字大小 */
  .mobile-text-small {
    font-size: var(--mobile-font-size-small) !important;
  }

  .mobile-text-large {
    font-size: var(--mobile-font-size-large) !important;
  }

  /* 移动端间距 */
  .mobile-padding {
    padding: var(--mobile-padding) !important;
  }

  .mobile-gap {
    gap: var(--mobile-gap) !important;
  }

  /* 移动端全宽 */
  .mobile-full-width {
    width: 100% !important;
  }

  /* 移动端触摸目标 */
  .mobile-touch-target {
    min-height: var(--touch-target-size) !important;
    min-width: var(--touch-target-size) !important;
  }

  /* 移动端滚动优化 */
  .mobile-scroll {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  /* 移动端防止缩放 */
  .mobile-no-zoom {
    touch-action: manipulation;
  }

  /* 移动端字体和间距优化 */
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
  }

  h2 {
    font-size: var(--mobile-font-size-large);
  }

  h3 {
    font-size: var(--mobile-font-size);
  }

  /* 移动端数据显示优化 */
  .data-display {
    font-size: var(--mobile-font-size-large);
    padding: 10px 16px;
    min-width: 70px;
  }

  /* 移动端状态指示器 */
  .status-indicator {
    font-size: 10px;
    padding: 3px 6px;
  }

  /* 移动端技术徽章 */
  .tech-badge {
    font-size: 9px;
    padding: 2px 8px;
  }

  /* 移动端时间显示 */
  .tech-time {
    font-size: 10px;
    min-width: 60px;
    padding: 3px 6px;
  }

  /* 移动端列表优化 */
  .mini-list li {
    padding: 8px 10px;
    font-size: var(--mobile-font-size-small);
  }

  /* 移动端统计信息 */
  .stats {
    padding: var(--mobile-padding);
    gap: var(--mobile-gap);
    flex-direction: column;
  }

  .stats span {
    font-size: var(--mobile-font-size);
  }

  /* 移动端结果框 */
  .results-box {
    padding: var(--mobile-padding);
  }

  .results-box > div {
    font-size: var(--mobile-font-size-small);
  }

  .results-box .final {
    font-size: var(--mobile-font-size-large);
  }

  .results-box .final b {
    font-size: 20px;
  }
}

/* 超小屏幕优化 (320px - 480px) */
@media (max-width: 480px) {
  :root {
    --mobile-padding: 12px;
    --mobile-gap: 8px;
    --mobile-font-size: 15px;
    --mobile-font-size-small: 13px;
    --mobile-font-size-large: 17px;
  }

  .brand-logo {
    height: 32px;
  }

  .app-header {
    padding: 8px var(--mobile-padding);
  }

  .top-actions {
    gap: 4px;
  }

  .top-actions .btn {
    padding: 6px 8px;
    font-size: 11px;
  }

  .card {
    padding: 12px;
  }

  .hero-card {
    min-height: 200px;
  }

  .sidebar {
    width: 260px;
  }

  .modal .modal-body {
    width: calc(100vw - 24px);
    padding: 12px;
  }
}

/* 横屏模式优化 */
@media (max-width: 768px) and (orientation: landscape) {
  .app-header {
    height: 50px;
  }

  .page {
    padding-top: calc(50px + var(--mobile-padding));
  }

  .sidebar {
    top: 50px;
    height: calc(100vh - 50px);
  }

  .brand-logo {
    height: 30px;
  }

  .hero-card {
    min-height: 150px;
  }
}

/* 高分辨率移动设备优化 */
@media (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  .card {
    border-width: 1px;
  }

  .nav-link {
    border-width: 1px;
  }

  .data-display {
    border-width: 1px;
  }
}

/* 科技风格警告框 */
.tech-alert{
  position: relative;
  padding: 12px 16px;
  margin: 10px 0;
  background: linear-gradient(135deg, rgba(255,176,32,0.1), rgba(45,55,72,0.9));
  border: 2px solid var(--warn);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  color: var(--warn);
  font-weight: 500;
}

.tech-alert::before{
  content: "⚠";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--warn);
  color: #000;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  animation: alertPulse 2s ease-in-out infinite;
}

@keyframes alertPulse{
  0%, 100%{transform: translateY(-50%) scale(1)}
  50%{transform: translateY(-50%) scale(1.1)}
}

/* 机甲风格按钮设计 */
.btn{
  background: var(--accent);
  color: #001812;
  border: none;
  padding: 12px 20px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.8px;
  font-size: 15px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 12px rgba(0,255,208,0.3),
    0 0 0 1px rgba(0,255,208,0.5) inset,
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn::after{
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,0.8);
  clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%);
}

.btn:hover{
  filter: brightness(1.15);
  box-shadow:
    0 6px 20px rgba(0,255,208,0.4),
    0 0 0 1px rgba(0,255,208,0.8) inset,
    0 0 20px rgba(0,255,208,0.3);
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, var(--accent), #00d4ff, var(--accent-2));
}

.btn:hover::before{
  transform: translateX(100%);
}

.btn:active{
  transform: translateY(0px) scale(0.98);
  box-shadow:
    0 2px 8px rgba(0,255,208,0.3),
    0 0 0 1px rgba(0,255,208,0.5) inset,
    inset 0 0 10px rgba(0,255,208,0.2);
  background: linear-gradient(135deg, #00b8a3, var(--accent), #00d4ff);
}

.btn.ghost{
  background: linear-gradient(135deg, rgba(0,255,208,0.05), transparent);
  color: var(--accent);
  border: 2px solid var(--accent);
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  box-shadow:
    0 0 0 0 rgba(0,255,208,0) inset,
    0 4px 12px rgba(0,255,208,0.1),
    inset 0 1px 0 rgba(0,255,208,0.2);
}

.btn.ghost::before{
  background: linear-gradient(45deg, transparent, rgba(0,255,208,0.1), transparent);
}

.btn.ghost:hover{
  background: rgba(0,255,208,0.1);
  box-shadow:
    0 0 20px 2px rgba(0,255,208,0.3) inset,
    0 6px 20px rgba(0,255,208,0.2);
  color: var(--text);
  border-color: rgba(0,255,208,0.8);
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent), #00d4ff, var(--accent-2));
  color: #001012;
  box-shadow:
    0 6px 16px rgba(0,255,208,0.4),
    0 0 0 1px rgba(0,255,208,0.6) inset;
}

.btn.primary:hover{
  box-shadow:
    0 8px 24px rgba(0,255,208,0.5),
    0 0 0 1px rgba(0,255,208,0.9) inset;
}

/* 机甲风格输入框设计 */
input[type="text"], input[type="number"], input[type="file"], select{
  background: linear-gradient(135deg, rgba(45,55,72,0.8), rgba(42,52,65,0.8));
  color: var(--text);
  border: 2px solid var(--line);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  padding: 14px 18px;
  outline: none;
  font-size: 16px;
  min-width: 250px;
  width: 100%;
  max-width: 350px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.3) inset,
    0 0 0 0 rgba(0,255,208,0) inset,
    inset 0 1px 0 rgba(255,255,255,0.1);
}

/* 修复选择框选项的样式问题 */
select option {
  background: #1a202c !important;
  color: #e2e8f0 !important;
  padding: 8px 12px;
  border: none;
}

input:focus{
  border-color: var(--accent);
  box-shadow:
    0 2px 8px rgba(0,0,0,0.3) inset,
    0 0 0 2px rgba(0,255,208,0.3) inset,
    0 0 20px rgba(0,255,208,0.4),
    0 0 40px rgba(0,255,208,0.2);
  background: linear-gradient(135deg, rgba(55,65,82,0.9), rgba(45,55,72,0.9));
  transform: scale(1.02);
}

input:hover:not(:focus){
  border-color: var(--line-bright);
  background: linear-gradient(135deg, #0e151f, #0c121a);
}

input::placeholder{color: #5b6b7f; font-style: italic;}

input[type="file"]{
  padding: 8px 12px;
  cursor: pointer;
}

input[type="file"]::-webkit-file-upload-button{
  background: var(--accent);
  color: #001812;
  border: none;
  padding: 4px 8px;
  border-radius: 6px;
  margin-right: 8px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
}

label{
  display: block;
  margin: 12px 0;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 16px;
}

.inline{display: flex; align-items: center; gap: 10px; flex-wrap: wrap;}
.inline.wrap{flex-wrap: wrap;}
.grid-2{display: grid; grid-template-columns: 1fr 1fr; gap: 20px;}

/* 移动端表单和布局优化 */
@media (max-width: 768px) {
  .inline {
    flex-direction: column;
    align-items: stretch;
    gap: var(--mobile-gap);
  }

  .inline.keep-horizontal {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid-2 {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-gap);
  }

  /* 输入框移动端优化 */
  input[type="text"],
  input[type="number"],
  input[type="file"],
  select {
    min-width: unset;
    width: 100%;
    max-width: none;
    font-size: var(--mobile-font-size);
    padding: 14px 16px;
    min-height: var(--touch-target-size);
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  }

  /* 按钮移动端优化 */
  .btn {
    width: 100%;
    min-height: var(--touch-target-size);
    padding: 14px 20px;
    font-size: var(--mobile-font-size);
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
  }

  .inline .btn {
    width: auto;
    flex: 1;
    min-width: 120px;
  }

  /* 标签优化 */
  label {
    font-size: var(--mobile-font-size);
    margin: 8px 0;
  }
}

/* 增强侧边导航 */
.nav{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-link{
  width: 100%;
  text-align: left;
  position: relative;
  background:
    linear-gradient(135deg, rgba(45,55,72,0.3), rgba(42,52,65,0.3)),
    radial-gradient(circle at left, rgba(0,255,208,0.03), transparent 60%);
  color: var(--text-secondary);
  border: 2px solid transparent;
  background-clip: padding-box;
  clip-path: polygon(16px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  padding: 14px 18px 14px 44px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 2px rgba(0,255,208,0.7),
    0 0 3px rgba(0,255,208,0.8),
    0 0 6px rgba(0,255,208,0.6),
    0 0 12px rgba(0,255,208,0.4),
    0 0 20px rgba(0,255,208,0.2),
    inset 0 0 3px rgba(255,61,129,0.3),
    inset 0 0 6px rgba(255,215,0,0.1),
    0 4px 16px rgba(0,0,0,0.2);
}

.nav-link::before{
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.nav-link:hover{
  background:
    linear-gradient(135deg, rgba(0,255,208,0.08), rgba(45,55,72,0.5)),
    radial-gradient(circle at left, rgba(0,255,208,0.1), transparent 70%);
  color: var(--text);
  transform: translateX(6px) scale(1.02);
  box-shadow:
    0 0 0 2px rgba(0,255,208,1),
    0 0 5px rgba(0,255,208,1),
    0 0 10px rgba(0,255,208,0.8),
    0 0 20px rgba(0,255,208,0.6),
    0 0 30px rgba(0,255,208,0.4),
    0 0 50px rgba(255,61,129,0.3),
    inset 0 0 5px rgba(255,61,129,0.4),
    inset 0 0 10px rgba(255,215,0,0.2),
    0 8px 24px rgba(0,0,0,0.3);
}

.nav-link:hover::before{
  opacity: 0.8;
  transform: translateY(-50%) scale(1.2);
}

.nav-link.active{
  background:
    linear-gradient(135deg, rgba(0,255,208,0.15), rgba(45,55,72,0.95)),
    radial-gradient(circle at left, rgba(0,255,208,0.1), transparent 70%);
  border-color: var(--accent);
  color: var(--text);
  box-shadow:
    inset 0 0 0 1px rgba(0,255,208,0.4),
    0 0 25px rgba(0,255,208,0.2),
    0 4px 12px rgba(0,0,0,0.3),
    inset 0 0 20px rgba(0,255,208,0.05);
  transform: translateX(6px) scale(1.02);
}

.nav-link.active::before{
  opacity: 1;
  color: var(--accent);
  transform: translateY(-50%) scale(1.3);
  filter: drop-shadow(0 0 4px rgba(0,255,208,0.8));
}

.nav-link.active::after{
  transform: scaleY(1);
}

/* 移动端导航优化 */
@media (max-width: 768px) {
  .nav {
    gap: 4px;
    padding: var(--mobile-padding);
  }

  .nav-link {
    padding: 16px 18px;
    font-size: var(--mobile-font-size);
    min-height: var(--touch-target-size);
    clip-path: polygon(12px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    /* 简化移动端阴影 */
    box-shadow:
      0 0 0 2px rgba(0,255,208,0.6),
      0 0 3px rgba(0,255,208,0.7),
      0 0 6px rgba(0,255,208,0.4),
      0 2px 8px rgba(0,0,0,0.2);
  }

  .nav-link:hover {
    transform: translateX(3px) scale(1.01);
    box-shadow:
      0 0 0 2px rgba(0,255,208,0.8),
      0 0 5px rgba(0,255,208,0.8),
      0 0 10px rgba(0,255,208,0.6),
      0 4px 12px rgba(0,0,0,0.3);
  }

  .nav-link i {
    font-size: 18px;
    width: 24px;
  }
}

.class-norms h4{
  margin: 12px 0 8px 0;
  color: var(--accent-3);
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,170,0,0.2);
  padding-bottom: 4px;
}

/* 科技风格表格设计 */
.table{
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  background:
    linear-gradient(135deg, rgba(45,55,72,0.8), rgba(42,52,65,0.8)),
    radial-gradient(circle at center, rgba(0,255,208,0.05), transparent 70%);
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  overflow: hidden;
  box-shadow:
    0 4px 12px rgba(0,0,0,0.3),
    0 0 0 1px rgba(0,255,208,0.2) inset;
  position: relative;
}

.table::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: tableGlow 4s ease-in-out infinite;
}

@keyframes tableGlow{
  0%, 100%{opacity: 0.3}
  50%{opacity: 0.8}
}

.table th, .table td{
  border-bottom: 1px solid var(--line);
  padding: 12px 10px;
  text-align: left;
  transition: background-color 0.2s ease;
}

.table thead th{
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #0f1720, #121a24);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--accent);
}

.table tbody tr{
  transition: all 0.2s ease;
}

.table tbody tr:hover{
  background:
    linear-gradient(135deg, rgba(0,255,208,0.08), rgba(45,55,72,0.9)),
    radial-gradient(ellipse at center, rgba(0,255,208,0.05), transparent 70%);
  box-shadow:
    0 0 0 1px rgba(0,255,208,0.2) inset,
    0 2px 8px rgba(0,255,208,0.1);
  transform: scale(1.01);
}

.table tbody tr:hover td{
  color: var(--text);
}

.table td:last-child{width: 50px; text-align: center;}

.table .remove{
  background: transparent;
  border: 1px solid var(--bad);
  color: var(--bad);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table .remove:hover{
  background: var(--bad);
  color: #fff;
}

/* 移动端表格优化 */
@media (max-width: 768px) {
  .table {
    font-size: var(--mobile-font-size);
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
    /* 简化移动端表格阴影 */
    box-shadow:
      0 2px 8px rgba(0,0,0,0.3),
      0 0 0 1px rgba(0,255,208,0.2) inset;
  }

  .table th, .table td {
    padding: 8px 6px;
    font-size: var(--mobile-font-size-small);
  }

  .table thead th {
    font-size: 10px;
    position: sticky;
    top: var(--mobile-header-height);
  }

  /* 移动端表格水平滚动 */
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 calc(-1 * var(--mobile-padding));
    padding: 0 var(--mobile-padding);
  }

  .table {
    min-width: 500px; /* 确保表格有最小宽度 */
  }

  .table .remove {
    padding: 6px 8px;
    font-size: 10px;
    min-width: var(--touch-target-size);
    min-height: 32px;
  }
}

/* 增强数据统计与列表 - 优化版 */
.stats{
  display: flex;
  gap: 32px;
  margin-top: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(0,255,208,0.08), rgba(15,23,32,0.9));
  border-radius: 16px;
  border: 2px solid rgba(0,255,208,0.3);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.stats::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(0,255,208,0.03), transparent);
  pointer-events: none;
}

.stats span{
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.stats span::before{
  content: "▶";
  color: var(--accent);
  font-size: 12px;
  opacity: 0.7;
}

.stats b{
  color: var(--accent);
  font-weight: 700;
  margin-left: 6px;
  filter: drop-shadow(0 0 4px rgba(0,255,208,0.5));
}

.mini-list{
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-list li{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(135deg, #0d131c, #0a0f16);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mini-list li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mini-list li:hover{
  border-color: var(--accent);
  background:
    linear-gradient(135deg, rgba(0,255,208,0.08), rgba(45,55,72,0.9)),
    radial-gradient(circle at left, rgba(0,255,208,0.05), transparent 60%);
  box-shadow:
    0 0 0 1px rgba(0,255,208,0.4) inset,
    0 4px 12px rgba(0,0,0,0.3),
    0 0 15px rgba(0,255,208,0.2);
  transform: translateY(-2px) scale(1.01);
}

.mini-list li:hover::before{
  opacity: 1;
}

.mini-list .remove{
  color: var(--bad);
  background: transparent;
  border: 1px solid var(--bad);
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.mini-list .remove:hover{
  background: var(--bad);
  color: #fff;
  box-shadow: 0 0 8px rgba(255,95,95,0.4);
}

/* 增强结果面板 */
.results-box{
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  background: linear-gradient(135deg, rgba(46,229,157,0.05), rgba(15,23,32,0.9));
  border-radius: 12px;
  border: 1px solid rgba(46,229,157,0.2);
}

.results-box > div{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.results-box b{
  color: var(--good);
  font-weight: 700;
  filter: drop-shadow(0 0 4px rgba(46,229,157,0.5));
}

.results-box .final{
  font-size: 20px;
  color: var(--good);
  font-weight: 800;
  padding: 12px 0;
  border-top: 1px solid rgba(46,229,157,0.3);
  margin-top: 8px;
}

.results-box .final b{
  font-size: 24px;
  filter: drop-shadow(0 0 8px rgba(46,229,157,0.8));
}

.live{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.live li, .live > div{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(0,255,208,0.05), rgba(12,18,26,0.8));
  border-radius: 8px;
  border: 1px solid rgba(0,255,208,0.1);
  font-size: 20px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.live li:hover, .live > div:hover{
  border-color: rgba(0,255,208,0.3);
  background: linear-gradient(135deg, rgba(0,255,208,0.08), rgba(12,18,26,0.9));
}

.live b{
  color: var(--accent);
  font-weight: 700;
  font-size: 21px;
  margin: 2px 0;
}

.live small{
  color: var(--text-secondary);
  font-size: 17px;
  opacity: 0.8;
  margin: 1px 0;
}

.live small span{
  color: var(--accent-2);
  font-weight: 600;
}

/* 增强弹窗设计 - 移除所有默认样式 */
.modal {
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  /* 移除浏览器默认的白色边框和背景 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* 确保所有弹窗都没有默认样式 */
dialog {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: auto !important;
  border-radius: 0 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.modal::backdrop{
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(4px);
}

.modal .modal-body{
  min-width: 560px;
  background:
    linear-gradient(135deg, rgba(26,31,46,0.95), rgba(36,41,56,0.95)),
    radial-gradient(circle at top right, rgba(0,255,208,0.08), transparent 70%),
    linear-gradient(45deg, rgba(18,26,36,0.3), rgba(12,18,26,0.3));
  border: 3px solid rgba(0,255,208,0.8);
  border-radius: 20px;
  clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 5px rgba(0,255,208,0.9),
    0 0 10px rgba(0,255,208,0.7),
    0 0 20px rgba(0,255,208,0.5),
    0 0 30px rgba(0,255,208,0.3),
    0 0 50px rgba(0,255,208,0.2),
    inset 0 0 5px rgba(255,61,129,0.4),
    inset 0 0 10px rgba(255,215,0,0.2),
    0 20px 60px rgba(0,0,0,0.7);
}

.modal .modal-actions{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* 移动端弹窗优化 */
@media (max-width: 768px) {
  .modal .modal-body {
    min-width: unset;
    width: calc(100vw - 32px);
    max-width: 400px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: var(--mobile-padding);
    clip-path: polygon(12px 0%, 100% 0%, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0% 100%, 0% 12px);
    /* 简化移动端弹窗阴影 */
    box-shadow:
      0 0 3px rgba(0,255,208,0.8),
      0 0 6px rgba(0,255,208,0.6),
      0 0 12px rgba(0,255,208,0.4),
      0 0 20px rgba(0,255,208,0.2),
      inset 0 0 3px rgba(255,61,129,0.3),
      0 10px 30px rgba(0,0,0,0.7);
  }

  .modal .modal-actions {
    flex-direction: column;
    gap: var(--mobile-gap);
  }

  .modal .modal-actions .btn {
    width: 100%;
  }

  /* 弹窗内的网格布局 */
  .modal .grid-2 {
    display: flex;
    flex-direction: column;
    gap: var(--mobile-gap);
  }

  /* 实施细则弹窗移动端优化 */
  #rules_modal .modal-body {
    min-width: unset;
    width: calc(100vw - 24px);
    max-width: 400px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .rule-section {
    padding: 12px;
    margin-bottom: 16px;
  }

  .rule-section h4 {
    font-size: 16px;
  }

  .rule-section li {
    font-size: 13px;
  }

  .formula-box {
    padding: 12px;
  }
}

/* 扣分弹窗样式优化 */
#deduction_modal .modal-body {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(26,31,46,0.98), rgba(36,41,56,0.98)),
    radial-gradient(circle at top right, rgba(255,95,95,0.05), transparent 70%),
    linear-gradient(45deg, rgba(18,26,36,0.2), rgba(12,18,26,0.2));
  border: 3px solid rgba(255,95,95,0.6);
}

#deduction_modal .modal-body h3 {
  color: var(--bad);
  text-shadow: 0 0 10px rgba(255,95,95,0.5);
}

/* 规则选择器弹窗样式优化 */
#rule_picker_modal .modal-body {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(26,31,46,0.98), rgba(36,41,56,0.98)),
    radial-gradient(circle at top right, rgba(255,170,0,0.05), transparent 70%),
    linear-gradient(45deg, rgba(18,26,36,0.2), rgba(12,18,26,0.2));
  border: 3px solid rgba(255,170,0,0.6);
}

#rule_picker_modal .modal-body h3 {
  color: var(--accent-3);
  text-shadow: 0 0 10px rgba(255,170,0,0.5);
}

/* 使用说明弹窗样式优化 */
#help_modal .modal-body {
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(26,31,46,0.98), rgba(36,41,56,0.98)),
    radial-gradient(circle at top right, rgba(0,255,208,0.05), transparent 70%),
    linear-gradient(45deg, rgba(18,26,36,0.2), rgba(12,18,26,0.2));
}

#help_modal .modal-body h3 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
  text-shadow: 0 0 10px rgba(0,255,208,0.5);
}

#help_modal .modal-body ol {
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  padding-left: 20px;
}

#help_modal .modal-body ol li {
  color: var(--text);
  margin-bottom: 12px;
  font-size: 16px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* 实施细则弹窗样式 */
#rules_modal .modal-body {
  min-width: 700px;
  max-width: 900px;
  max-height: 80vh;
  overflow-y: auto;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(26,31,46,0.98), rgba(36,41,56,0.98)),
    radial-gradient(circle at top right, rgba(0,255,208,0.05), transparent 70%),
    linear-gradient(45deg, rgba(18,26,36,0.2), rgba(12,18,26,0.2));
}

#rules_modal .modal-body h3 {
  color: var(--accent);
  font-size: 22px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0,255,208,0.5);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}

.rules-content {
  padding: 10px 0;
}

.rule-section {
  margin-bottom: 24px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(0,255,208,0.03), rgba(45,55,72,0.3));
  border: 1px solid rgba(0,255,208,0.2);
  border-radius: 12px;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}

.rule-section h4 {
  color: var(--accent-2);
  font-size: 18px;
  margin-bottom: 12px;
  text-shadow: 0 0 8px rgba(255,61,129,0.4);
}

.rule-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.rule-section li {
  margin-bottom: 8px;
  line-height: 1.6;
  font-size: 14px;
}

.rule-section strong {
  color: var(--accent-3);
  text-shadow: 0 0 6px rgba(255,170,0,0.3);
}

.formula-box {
  background: linear-gradient(135deg, rgba(255,215,0,0.08), rgba(45,55,72,0.5));
  border: 2px solid rgba(255,215,0,0.3);
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
  font-family: 'Courier New', monospace;
}

.formula-box p {
  margin: 8px 0;
  color: var(--text);
  font-size: 14px;
}

.formula-note {
  font-size: 12px !important;
  color: var(--text-secondary) !important;
  font-style: italic;
  margin-top: 12px !important;
  border-top: 1px solid rgba(255,215,0,0.2);
  padding-top: 8px;
}


.muted{color: var(--muted); font-style: italic;}

/* 规则选择器体内布局 */
#rule_picker_body{
  display: grid;
  gap: 12px;
  max-height: 400px;
  overflow-y: auto;
}

#rule_picker_body .row{
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(0,255,208,0.03), rgba(12,18,26,0.5));
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

#rule_picker_body .row:hover{
  border-color: var(--line-bright);
  background: linear-gradient(135deg, rgba(0,255,208,0.05), rgba(12,18,26,0.7));
}

#rule_picker_body .row > label{
  min-width: 100px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

/* 新增动画效果 */
@keyframes fadeInUp{
  from{
    opacity: 0;
    transform: translateY(20px);
  }
  to{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft{
  from{
    opacity: 0;
    transform: translateX(-30px);
  }
  to{
    opacity: 1;
    transform: translateX(0);
  }
}

.panel{
  animation: fadeInUp 0.5s ease-out;
}

.nav-link{
  animation: slideInLeft 0.3s ease-out;
}

.nav-link:nth-child(1){animation-delay: 0.1s;}
.nav-link:nth-child(2){animation-delay: 0.2s;}
.nav-link:nth-child(3){animation-delay: 0.3s;}
.nav-link:nth-child(4){animation-delay: 0.4s;}
.nav-link:nth-child(5){animation-delay: 0.5s;}
.nav-link:nth-child(6){animation-delay: 0.6s;}
.nav-link:nth-child(7){animation-delay: 0.7s;}

/* 增强响应式设计 */
@media (max-width: 1200px){
  .page-app{grid-template-columns: 240px 1fr 260px; gap: 12px;}
  .card{padding: 16px;}
}

@media (max-width: 1100px){
  .page-home{grid-template-columns: 1fr;}
  .page-app{
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .sidebar{order: 2;}
  .right{order: 3;}
  .grid-2{grid-template-columns: 1fr;}
}

@media (max-width: 768px){
  .app-header{
    padding: 12px 16px;
    flex-direction: column;
    gap: 12px;
  }

  .brand h1{
    font-size: 16px;
    text-align: center;
  }

  .top-actions{
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .page{padding: 12px;}

  .hero-card{
    min-height: 200px;
    text-align: center;
  }

  .hero-actions{
    flex-direction: column;
    gap: 8px;
  }

  .modal .modal-body{
    min-width: 90vw;
    margin: 10px;
    padding: 16px;
  }

  .inline{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .btn{
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
  }

  .nav-link{
    padding: 10px 14px 10px 36px;
    font-size: 14px;
  }

  .table{
    font-size: 14px;
  }

  .table th, .table td{
    padding: 8px 6px;
  }

  .stats{
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .class-norms label{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .class-norms input{
    max-width: 80px;
  }
}

@media (max-width: 480px){
  .brand-icon{
    font-size: 20px;
  }

  .brand h1{
    font-size: 14px;
  }

  .brand-logo{
    height: 32px;
    width: auto;
    border-radius: 6px;
    filter: drop-shadow(0 0 8px rgba(0,255,208,0.6));
  }

  .hero-header{
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .hero-icon{
    font-size: 24px;
  }

  .card{
    padding: 12px;
  }

  .data-card{
    padding: 12px;
  }

  .nav-link{
    padding: 8px 12px 8px 32px;
    font-size: 13px;
  }

  .btn{
    padding: 10px 12px;
    font-size: 12px;
  }

  .btn i{
    margin-right: 4px;
    font-size: 11px;
  }

  .mini-list li{
    padding: 8px 10px;
    font-size: 12px;
  }

  .status-indicator{
    font-size: 10px;
    padding: 3px 6px;
  }
}

/* 展开式输入框样式 */
.expandable-input {
  margin-bottom: 8px;
  border: 1px solid rgba(0,255,208,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,255,208,0.02);
  transition: all 0.3s ease;
}

.expandable-input:hover {
  border-color: rgba(0,255,208,0.2);
  background: rgba(0,255,208,0.04);
}

.expandable-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 8px 12px;
  position: relative;
  transition: all 0.3s ease;
}

.expandable-trigger:hover {
  background: rgba(0,255,208,0.05);
}

.expandable-trigger input {
  flex: 1;
  margin-left: 8px;
  margin-right: 8px;
  pointer-events: none;
}

.expand-icon {
  color: var(--accent);
  transition: transform 0.3s ease;
  font-size: 12px;
  min-width: 16px;
}

.expand-icon.rotated {
  transform: rotate(180deg);
}

.expanded-inputs {
  padding: 12px;
  background: rgba(0,0,0,0.2);
  border-top: 1px solid rgba(0,255,208,0.1);
  animation: expandDown 0.3s ease;
}

.expanded-inputs.hidden {
  display: none;
}

.mecha-divider.mini {
  height: 1px;
  margin: 8px 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

.sub-input {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 6px 8px;
  background: rgba(0,255,208,0.03);
  border: 1px solid rgba(0,255,208,0.1);
  border-radius: 4px;
  font-size: 19.5px;
  transition: all 0.3s ease;
}

.sub-input:hover {
  background: rgba(0,255,208,0.06);
  border-color: rgba(0,255,208,0.2);
}

.sub-input i {
  color: var(--accent);
  margin-right: 8px;
  font-size: 12px;
  min-width: 16px;
}

.sub-input input {
  flex: 1;
  margin-left: 8px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,208,0.2);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 16px;
}

.sub-input input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(0,255,208,0.3);
}

.expand-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(0,255,208,0.1);
}

.btn.mini {
  padding: 4px 12px;
  font-size: 11px;
  border-radius: 4px;
  min-height: auto;
}

.btn.mini.ghost {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--muted);
}

.btn.mini.ghost:hover {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.4);
  color: var(--text);
}

.btn.mini.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: none;
  color: #000;
  font-weight: 600;
}

.btn.mini.primary:hover {
  background: linear-gradient(135deg, #00e6bb, #ff1f71);
  box-shadow: 0 0 16px rgba(0,255,208,0.4);
}

@keyframes expandDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 详细模式状态指示器 */
.detailed-mode-indicator {
  display: inline-block;
  padding: 2px 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #000;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 2px;
  margin-left: 8px;
  animation: indicatorPulse 2s ease-in-out infinite;
}

@keyframes indicatorPulse {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

/* 移动端适配 */
@media (max-width: 768px) {
  .expandable-trigger {
    padding: 12px;
  }
  
  .expanded-inputs {
    padding: 16px;
  }
  
  .sub-input {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .sub-input input {
    width: 100%;
    margin-left: 0;
  }
  
  .expand-actions {
    flex-direction: column;
  }
  
  .btn.mini {
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* 模块内班级最高分设置区域 */
.module-max-scores {
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(0,255,208,0.08), rgba(15,23,32,0.9));
  border: 2px solid rgba(0,255,208,0.3);
  padding: 12px;
}

.module-max-scores h4 {
  margin: 0 0 8px 0;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.module-max-scores label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-size: 19.5px;
  color: var(--text);
}

.module-max-scores input {
  flex: 1;
  max-width: 120px;
  padding: 14px 18px;
  font-size: 16px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,208,0.2);
  color: var(--text);
  border-radius: 4px;
}

.module-max-scores input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(0,255,208,0.3);
}

/* 手动输入区域样式 */
.manual-input-area {
  background: rgba(0,0,0,0.1);
  border: 1px solid rgba(0,255,208,0.1);
  border-radius: 6px;
  padding: 12px;
  margin-top: 8px;
}

.detailed-manual-inputs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detailed-manual-inputs .sub-input {
  margin-bottom: 0;
  padding: 8px;
  background: rgba(0,255,208,0.03);
  border: 1px solid rgba(0,255,208,0.1);
  border-radius: 4px;
}

.detailed-manual-inputs .sub-input input {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,255,208,0.2);
  padding: 14px 18px;
  font-size: 16px;
}

/* 公式中数字的蓝色样式 */
.formula-number {
  color: #4A9EFF !important;
  font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .module-max-scores {
    padding: 10px;
    margin-bottom: 12px;
  }
  
  .module-max-scores h4 {
    font-size: 13px;
  }
  
  .module-max-scores label {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .module-max-scores input {
    width: 100%;
    max-width: none;
  }
  
  .manual-input-area {
    padding: 10px;
  }
}

/* 右侧实时结果滚动优化 */
.right {
  max-height: 80vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* 自定义滚动条样式 */
.right::-webkit-scrollbar {
  width: 6px;
}

.right::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.right::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 3px;
  box-shadow: 0 0 6px rgba(0, 255, 208, 0.5);
}

.right::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, rgba(0, 255, 208, 0.8), rgba(255, 61, 129, 0.8));
  box-shadow: 0 0 8px rgba(0, 255, 208, 0.8);
}

/* 实时结果项目高亮动画 */
.live li {
  transition: all 0.3s ease;
  scroll-margin-top: 20px;
}

.live li:target,
.live li.highlight {
  background: rgba(0, 255, 208, 0.1);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  transform: translateX(5px);
  box-shadow: 0 0 10px rgba(0, 255, 208, 0.3);
}

/* ===================== 右侧实时结果区域机甲风格优化 ===================== */

/* 右侧实时结果容器增强 */
.right.card-enhanced {
  position: relative;
  background:
    linear-gradient(135deg, rgba(26,31,46,0.95), rgba(36,41,56,0.95)),
    radial-gradient(circle at top right, rgba(0,255,208,0.12), transparent 70%),
    radial-gradient(circle at bottom left, rgba(255,61,129,0.08), transparent 60%),
    linear-gradient(45deg, rgba(18,26,36,0.2), rgba(12,18,26,0.2));
  border: 3px solid transparent;
  background-clip: padding-box;
  border-image: linear-gradient(135deg, 
    rgba(0,255,208,0.8) 0%, 
    rgba(255,61,129,0.6) 25%, 
    rgba(255,170,0,0.5) 50%, 
    rgba(0,255,208,0.8) 75%, 
    rgba(255,61,129,0.6) 100%) 1;
  animation: neonBorderPulse 4s ease-in-out infinite;
  box-shadow:
    0 0 10px rgba(0,255,208,0.6),
    0 0 20px rgba(0,255,208,0.4),
    0 0 30px rgba(0,255,208,0.2),
    0 0 40px rgba(255,61,129,0.2),
    inset 0 0 10px rgba(0,255,208,0.1),
    inset 0 0 20px rgba(255,61,129,0.05),
    0 8px 32px rgba(0,0,0,0.4);
}

/* 霓虹边框呼吸动画 */
@keyframes neonBorderPulse {
  0%, 100% {
    filter: brightness(1) saturate(1);
    box-shadow:
      0 0 10px rgba(0,255,208,0.6),
      0 0 20px rgba(0,255,208,0.4),
      0 0 30px rgba(0,255,208,0.2),
      0 0 40px rgba(255,61,129,0.2),
      inset 0 0 10px rgba(0,255,208,0.1),
      inset 0 0 20px rgba(255,61,129,0.05),
      0 8px 32px rgba(0,0,0,0.4);
  }
  25% {
    filter: brightness(1.1) saturate(1.2);
    box-shadow:
      0 0 15px rgba(255,61,129,0.7),
      0 0 25px rgba(255,61,129,0.5),
      0 0 35px rgba(255,61,129,0.3),
      0 0 45px rgba(0,255,208,0.2),
      inset 0 0 15px rgba(255,61,129,0.15),
      inset 0 0 25px rgba(0,255,208,0.05),
      0 8px 32px rgba(0,0,0,0.4);
  }
  50% {
    filter: brightness(1.2) saturate(1.4);
    box-shadow:
      0 0 20px rgba(255,170,0,0.8),
      0 0 30px rgba(255,170,0,0.6),
      0 0 40px rgba(255,170,0,0.4),
      0 0 50px rgba(255,61,129,0.3),
      inset 0 0 20px rgba(255,170,0,0.2),
      inset 0 0 30px rgba(255,61,129,0.05),
      0 8px 32px rgba(0,0,0,0.4);
  }
  75% {
    filter: brightness(1.1) saturate(1.2);
    box-shadow:
      0 0 15px rgba(255,61,129,0.7),
      0 0 25px rgba(255,61,129,0.5),
      0 0 35px rgba(255,61,129,0.3),
      0 0 45px rgba(0,255,208,0.2),
      inset 0 0 15px rgba(255,61,129,0.15),
      inset 0 0 25px rgba(0,255,208,0.05),
      0 8px 32px rgba(0,0,0,0.4);
  }
}

/* 实时结果模块增强样式 */
.live li {
  position: relative;
  background:
    linear-gradient(135deg, rgba(45,55,72,0.4), rgba(42,52,65,0.4)),
    radial-gradient(circle at top left, rgba(0,255,208,0.08), transparent 60%);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 0 2px rgba(0,255,208,0.5),
    0 0 8px rgba(0,255,208,0.3),
    0 0 16px rgba(0,255,208,0.15),
    inset 0 0 6px rgba(255,61,129,0.1),
    0 4px 16px rgba(0,0,0,0.2);
  scroll-margin-top: 20px;
  animation: moduleGlow 6s ease-in-out infinite;
}

/* 模块发光动画 */
@keyframes moduleGlow {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(0,255,208,0.5),
      0 0 8px rgba(0,255,208,0.3),
      0 0 16px rgba(0,255,208,0.15),
      inset 0 0 6px rgba(255,61,129,0.1),
      0 4px 16px rgba(0,0,0,0.2);
  }
  33% {
    box-shadow:
      0 0 0 2px rgba(255,61,129,0.6),
      0 0 10px rgba(255,61,129,0.4),
      0 0 20px rgba(255,61,129,0.2),
      inset 0 0 8px rgba(0,255,208,0.15),
      0 4px 16px rgba(0,0,0,0.2);
  }
  66% {
    box-shadow:
      0 0 0 2px rgba(255,170,0,0.7),
      0 0 12px rgba(255,170,0,0.5),
      0 0 24px rgba(255,170,0,0.25),
      inset 0 0 10px rgba(255,61,129,0.2),
      0 4px 16px rgba(0,0,0,0.2);
  }
}

/* 模块间分割线增强 */
.live li::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--accent) 20%, 
    var(--accent-2) 50%, 
    var(--accent-3) 80%, 
    transparent 100%);
  animation: separatorPulse 3s ease-in-out infinite;
  filter: blur(0.5px);
}

@keyframes separatorPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 0.8;
    transform: scaleX(1.2);
  }
}

/* 模块悬停效果增强 */
.live li:hover {
  transform: translateY(-4px) scale(1.02);
  background:
    linear-gradient(135deg, rgba(55,65,82,0.6), rgba(45,55,72,0.6)),
    radial-gradient(circle at top left, rgba(0,255,208,0.15), transparent 60%);
  box-shadow:
    0 0 0 3px rgba(0,255,208,0.8),
    0 0 15px rgba(0,255,208,0.5),
    0 0 25px rgba(0,255,208,0.3),
    0 0 35px rgba(255,61,129,0.2),
    inset 0 0 10px rgba(255,61,129,0.2),
    inset 0 0 20px rgba(255,170,0,0.1),
    0 8px 24px rgba(0,0,0,0.3);
}

/* 模块内部装饰元素 */
.live li::before {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: conic-gradient(from 45deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  border-radius: 50%;
  box-shadow: 
    0 0 6px rgba(0,255,208,0.6),
    0 0 12px rgba(0,255,208,0.3);
  animation: moduleIndicator 2s ease-in-out infinite;
}

@keyframes moduleIndicator {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
  }
}

/* 数据卡片区域增强 */
.data-card.tech-scan.tech-pulse-border {
  position: relative;
  background:
    linear-gradient(135deg, rgba(0,255,208,0.12), rgba(45,55,72,0.6)),
    radial-gradient(circle at bottom right, rgba(255,61,129,0.08), transparent 50%);
  border: 3px solid transparent;
  background-clip: padding-box;
  border-image: linear-gradient(45deg, 
    rgba(0,255,208,0.9),
    rgba(255,61,129,0.7),
    rgba(255,170,0,0.6),
    rgba(0,255,208,0.9)) 1;
  box-shadow:
    0 0 0 1px rgba(0,255,208,0.3) inset,
    0 0 15px rgba(0,255,208,0.4),
    0 0 25px rgba(255,61,129,0.2),
    0 0 35px rgba(255,170,0,0.1),
    0 6px 20px rgba(0,0,0,0.3);
  animation: dataCardPulse 5s ease-in-out infinite;
  overflow: hidden;
}

@keyframes dataCardPulse {
  0%, 100% {
    filter: brightness(1) saturate(1);
  }
  20% {
    filter: brightness(1.1) saturate(1.2);
  }
  40% {
    filter: brightness(1.2) saturate(1.4);
  }
  60% {
    filter: brightness(1.1) saturate(1.2);
  }
  80% {
    filter: brightness(1.05) saturate(1.1);
  }
}

/* 数据卡片扫描线效果 */
.data-card.tech-scan::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(0,255,208,0.2),
    rgba(0,255,208,0.6),
    rgba(255,61,129,0.4),
    rgba(255,170,0,0.3),
    rgba(0,255,208,0.2),
    transparent
  );
  animation: enhancedScanMove 4s ease-in-out infinite;
}

@keyframes enhancedScanMove {
  0% {
    left: -100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

/* 特殊模块标识 */
#live-result-moral::before {
  background: conic-gradient(from 45deg, #ff3d81, #ff6b9d, #ff3d81, #ff6b9d);
}

#live-result-intellect::before {
  background: conic-gradient(from 45deg, #00ffd0, #00d4ff, #00ffd0, #00d4ff);
}

#live-result-physical::before {
  background: conic-gradient(from 45deg, #2ee59d, #4ade80, #2ee59d, #4ade80);
}

#live-result-aesthetic::before {
  background: conic-gradient(from 45deg, #ffaa00, #fbbf24, #ffaa00, #fbbf24);
}

#live-result-labor::before {
  background: conic-gradient(from 45deg, #a855f7, #c084fc, #a855f7, #c084fc);
}

/* 移动端优化 */
@media (max-width: 768px) {
  .live li {
    padding: 12px 14px;
    margin-bottom: 8px;
    border-radius: 8px;
    /* 简化移动端动画效果 */
    animation: none;
    box-shadow:
      0 0 0 2px rgba(0,255,208,0.4),
      0 0 6px rgba(0,255,208,0.2),
      0 0 12px rgba(0,255,208,0.1),
      0 2px 8px rgba(0,0,0,0.2);
  }
  
  .live li:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow:
      0 0 0 2px rgba(0,255,208,0.6),
      0 0 8px rgba(0,255,208,0.3),
      0 0 16px rgba(0,255,208,0.15),
      0 4px 12px rgba(0,0,0,0.3);
  }
  
  .live li::after {
    height: 1px;
    bottom: -4px;
  }
  
  .live li::before {
    width: 6px;
    height: 6px;
    top: 6px;
    right: 6px;
    animation: moduleIndicator 3s ease-in-out infinite;
  }
  
  .data-card.tech-scan.tech-pulse-border {
    border-width: 2px;
    box-shadow:
      0 0 0 1px rgba(0,255,208,0.2) inset,
      0 0 8px rgba(0,255,208,0.3),
      0 0 16px rgba(255,61,129,0.15),
      0 4px 12px rgba(0,0,0,0.3);
    animation: none;
  }
}

