/* ============================================
   OBS魔改相机 - 白色科技感主题
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* 主色系 */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* 科技蓝 */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  /* 靛蓝 */
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;

  /* 青色 */
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;

  /* 绿色 */
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;

  /* 红色 */
  --red-400: #f87171;
  --red-500: #ef4444;
  --red-600: #dc2626;

  /* 语义色 */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --bg-main: #060e27;
  --bg-card: rgba(255, 255, 255, 0.93);
  --border-card: rgba(255, 255, 255, 0.9);
  --border-light: rgba(203, 213, 225, 0.6);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --radius-card: 20px;
  --radius-btn: 12px;
  --radius-sm: 8px;
  --font-main: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

html, body {
  height: 100%;
  overflow: hidden;
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at center, #0c183e 0%, #050a1e 60%, #010309 100%);
  color: var(--text-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* ===== 背景装饰（深蓝科技感） ===== */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* 科技网格 */
.bg-orbs::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

/* 扫描线动画 */
.bg-orbs::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.6), rgba(6, 182, 212, 0.8), rgba(96, 165, 250, 0.6), transparent);
  animation: scanLine 6s linear infinite;
  z-index: 1;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
}

@keyframes scanLine {
  0%   { top: -2px; opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.55), rgba(29, 78, 216, 0.2));
  top: -140px;
  right: -120px;
  animation: floatOrb 14s ease-in-out infinite;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.4), rgba(79, 70, 229, 0.25));
  bottom: -100px;
  left: -80px;
  animation: floatOrb 17s ease-in-out infinite reverse;
}

.orb-3 {
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35), rgba(139, 92, 246, 0.15));
  top: 45%;
  left: 30%;
  animation: floatOrb 20s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(25px, -25px) scale(1.06); }
  66%  { transform: translate(-18px, 18px) scale(0.94); }
}

/* 星点粒子 */
.bg-dots {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(148, 163, 184, 0.5) 1px, transparent 1px),
    radial-gradient(circle, rgba(96, 165, 250, 0.35) 1px, transparent 1px);
  background-size: 60px 60px, 90px 90px;
  background-position: 0 0, 30px 30px;
}

/* 边角科技线框 */
.tech-corner {
  position: fixed;
  width: 60px;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}
.tech-corner.tl { top: 16px; left: 16px; border-top: 2px solid rgba(96,165,250,0.5); border-left: 2px solid rgba(96,165,250,0.5); border-radius: 4px 0 0 0; }
.tech-corner.tr { top: 16px; right: 16px; border-top: 2px solid rgba(96,165,250,0.5); border-right: 2px solid rgba(96,165,250,0.5); border-radius: 0 4px 0 0; }
.tech-corner.bl { bottom: 16px; left: 16px; border-bottom: 2px solid rgba(96,165,250,0.5); border-left: 2px solid rgba(96,165,250,0.5); border-radius: 0 0 0 4px; }
.tech-corner.br { bottom: 16px; right: 16px; border-bottom: 2px solid rgba(96,165,250,0.5); border-right: 2px solid rgba(96,165,250,0.5); border-radius: 0 0 4px 0; }

/* ===== 应用外框 ===== */
.app-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 420px;
  height: 100%;
  max-height: 860px;
  display: flex;
  flex-direction: column;
  background: rgba(8, 18, 52, 0.72);
  border-radius: 36px;
  overflow: hidden;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(96, 165, 250, 0.2);
  box-shadow:
    0 0 0 1px rgba(59, 130, 246, 0.12),
    0 0 60px rgba(37, 99, 235, 0.15),
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@media (max-width: 480px) {
  .app-wrapper {
    border-radius: 0;
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100%;
  }
}

/* ===== 激活码页面 ===== */
.activation-screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: transparent;
  z-index: 100;
}

.activation-card {
  width: 100%;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 24px;
  padding: 36px 28px 28px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(37, 99, 235, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

/* Logo激活页 */
.act-logo {
  width: 72px;
  height: 72px;
  position: relative;
  margin: 0 auto 20px;
}

.act-logo-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border-radius: 20px;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.act-logo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 26px;
  border: 2px solid transparent;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.3), rgba(79, 70, 229, 0.3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: ringPulse 3s ease-in-out infinite;
}

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

.activation-title {
  font-size: 22px;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.activation-subtitle {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.75);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* 输入框 */
.input-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 0;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.activation-input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(96, 165, 250, 0.2);
  border-radius: var(--radius-btn);
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 14px;
  text-align: left;
  letter-spacing: 1.5px;
  outline: none;
  transition: all 0.25s ease;
}

.activation-input::placeholder {
  font-family: var(--font-main);
  letter-spacing: 0;
  color: rgba(148, 163, 184, 0.5);
}

.activation-input:focus {
  border-color: rgba(96, 165, 250, 0.55);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}

/* 激活按钮 */
.btn-activate {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  margin-top: 16px;
  background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  color: white;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
  letter-spacing: 0.3px;
}

.btn-activate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

.btn-activate:active {
  transform: translateY(0);
}

.btn-activate-icon {
  display: flex;
  align-items: center;
}

/* 激活页底部 */
.activation-footer {
  margin-top: 24px;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.footer-label {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.6);
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.footer-link:hover {
  background: rgba(96, 165, 250, 0.2);
  color: #bfdbfe;
}

/* ===== 顶部Header ===== */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 10px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(96, 165, 250, 0.15);
  background: rgba(6, 14, 44, 0.6);
  backdrop-filter: blur(10px);
}

.logo-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.header-center {
  text-align: center;
}

.app-title {
  font-size: 17px;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: -0.3px;
}

.app-subtitle {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.8);
  margin-top: 1px;
  font-weight: 500;
}

.online-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 11px;
  color: var(--green-600);
  font-weight: 600;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

/* ===== 统计条 ===== */
.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  padding: 12px 16px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.stat-num {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #60a5fa;
}

.stat-status { color: #4ade80; }
.stat-version { color: #a5b4fc; font-size: 13px; }

.stat-label {
  font-size: 10px;
  color: rgba(148, 163, 184, 0.7);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(96, 165, 250, 0.15);
}

/* ===== 主内容 ===== */
.main-content {
  flex: 1;
  min-height: 0;
  overflow-y: scroll; /* 强行启用滚动通道 */
  -webkit-overflow-scrolling: touch;
  padding: 0 14px 14px;
  display: block;
  scrollbar-width: none;
}

.main-content > * {
  margin-bottom: 12px;
}

.main-content > *:last-child {
  margin-bottom: 0;
}

.main-content::-webkit-scrollbar {
  display: none;
}

/* ===== LV1+LV2 并排行 ===== */
.cards-row {
  display: flex;
  gap: 10px;
}

.cards-row .feature-card.card-sm {
  flex: 1;
  min-width: 0;
  padding: 12px 12px 10px;
}

.card-title-sm {
  font-size: 14px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.card-desc-sm {
  font-size: 10px;
  color: rgba(148, 163, 184, 0.85);
  font-weight: 400;
}

.card-footer-sm {
  margin-top: 10px;
}

/* 小复制按钮 */
.btn-copy-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 7px 12px;
  width: 100%;
  border: none;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  color: white;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.btn-copy-sm::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.15s;
}

.btn-copy-sm:active::after { opacity: 0.12; }

.btn-blue-sm {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.28);
}

.btn-blue-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(37, 99, 235, 0.38);
}

.btn-indigo-sm {
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-500));
  box-shadow: 0 3px 10px rgba(79, 70, 229, 0.28);
}

.btn-indigo-sm:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(79, 70, 229, 0.38);
}

/* ===== 结果展示面板 ===== */
.results-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  animation: slideDown 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

.result-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.result-block-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.rbl-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rbl-blue   { background: var(--blue-500); box-shadow: 0 0 6px rgba(59,130,246,0.5); }
.rbl-indigo { background: var(--indigo-500); box-shadow: 0 0 6px rgba(99,102,241,0.5); }

.result-block-clear {
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-main);
}

.result-block-clear:hover {
  background: var(--gray-100);
  color: var(--text-secondary);
}

/* 名字/证件条目 compact */
.name-list.visible .name-item,
.id-list.visible .id-item {
  padding: 6px 10px;
}



/* ===== 功能卡片 (深色玻璃感) ===== */
.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: var(--radius-card);
  padding: 16px 16px 14px;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4), 
    0 0 0 1px rgba(96,165,250,0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.5), 
    0 0 0 1px rgba(96,165,250,0.2), 
    0 0 20px rgba(59,130,246,0.12);
  border-color: rgba(96, 165, 250, 0.35);
}

.feature-card:active {
  transform: scale(0.99);
}

/* 顶部彩色线条 */
.card-stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px 2px 0 0;
}

.stripe-blue { background: linear-gradient(90deg, var(--blue-500), var(--blue-400)); }
.stripe-indigo { background: linear-gradient(90deg, var(--indigo-500), var(--indigo-400)); }
.stripe-cyan { background: linear-gradient(90deg, var(--cyan-500), var(--cyan-400)); }

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-top: 4px;
}

.card-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.badge-lv1 {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #60a5fa;
}

.badge-lv2 {
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

.badge-cam {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #22d3ee;
  animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(6, 182, 212, 0); }
  50% { box-shadow: 0 0 10px rgba(6, 182, 212, 0.25); }
}

.card-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-blue { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.icon-indigo { background: rgba(99, 102, 241, 0.12); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.25); }
.icon-cyan { background: rgba(6, 182, 212, 0.12); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.25); }

.card-title {
  font-size: 16px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 2px;
}

.card-desc {
  font-size: 12px;
  color: rgba(148, 163, 184, 0.8);
  margin-bottom: 12px;
  font-weight: 400;
}

/* ===== 结果展示 ===== */
.result-display {
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(96, 165, 250, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(148, 163, 184, 0.6);
  font-size: 12px;
}

.placeholder-icon {
  font-size: 16px;
  opacity: 0.4;
  animation: twinkling 2.5s ease-in-out infinite;
  font-family: var(--font-mono);
  color: #60a5fa;
}

@keyframes twinkling {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.15); }
}

/* ===== 姓名/证件列表 ===== */
.name-list, .id-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.name-list.visible, .id-list.visible {
  max-height: 240px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.name-item, .id-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.15);
  border-radius: var(--radius-sm);
  font-size: 13px;
  animation: slideIn 0.3s ease forwards;
  opacity: 0;
  transform: translateX(-8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.id-item {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
}

@keyframes slideIn {
  to { opacity: 1; transform: translateX(0); }
}

.item-index {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(148, 163, 184, 0.5);
  width: 18px;
}

.item-value {
  flex: 1;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 500;
}

.name-item .item-value { color: #93c5fd; }
.id-item .item-value {
  color: #c7d2fe;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
}

.btn-item-copy {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-main);
  flex-shrink: 0;
}

.name-item .btn-item-copy:hover {
  background: rgba(96, 165, 250, 0.15);
  border-color: rgba(96, 165, 250, 0.3);
  color: #93c5fd;
}

.id-item .btn-item-copy:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #c7d2fe;
}

.btn-item-copy:active { transform: scale(0.95); }

/* ===== 主按钮 ===== */
.card-footer {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.btn-primary {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px 16px;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
  color: white;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: white;
  opacity: 0;
  transition: opacity 0.2s;
}

.btn-primary:active::after { opacity: 0.12; }

.btn-blue {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(37, 99, 235, 0.4);
}

.btn-indigo {
  background: linear-gradient(135deg, var(--indigo-600), var(--indigo-500));
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 20px rgba(79, 70, 229, 0.4);
}

.btn-full { flex: 1 1 100%; }

/* ===== 摄像头功能按钮组 ===== */
.cam-btn-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 10px;
}

.cam-func-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid rgba(96, 165, 250, 0.18);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.cam-func-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--cyan-500), var(--blue-500));
  opacity: 0;
  transition: opacity 0.2s;
}

.cam-func-btn:hover {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(96, 165, 250, 0.08);
  transform: translateX(3px);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

.cam-func-btn:hover::before { opacity: 1; }

.cam-func-btn:active { transform: scale(0.99); }

/* 活跃状态 */
.cam-func-btn.active {
  background: rgba(16, 185, 129, 0.05) !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
  animation: activeGlow 2.5s infinite ease-in-out;
}

.cam-func-btn.active .cam-func-label {
  color: var(--green-600) !important;
  font-weight: 600;
}

.cam-func-btn.active .cam-func-arrow {
  color: var(--green-500) !important;
}

@keyframes activeGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(16, 185, 129, 0); }
  50% { box-shadow: 0 0 14px rgba(16, 185, 129, 0.15); }
}

/* 停止按钮 */
.btn-stop-hack {
  background: rgba(254, 242, 242, 0.8) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
  margin-top: 4px;
  animation: stopGlow 2.5s infinite ease-in-out;
}

.btn-stop-hack .cam-func-label {
  color: var(--red-500) !important;
}

.btn-stop-hack .cam-func-arrow {
  color: var(--red-400) !important;
}

.btn-stop-hack::before {
  background: linear-gradient(180deg, var(--red-400), var(--red-500));
}

@keyframes stopGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 14px rgba(239, 68, 68, 0.15); }
}

.cam-func-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cam-func-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.cam-func-label {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 500;
  color: #cbd5e1;
  letter-spacing: 0;
}

.cam-func-arrow {
  color: rgba(148, 163, 184, 0.4);
  flex-shrink: 0;
  transition: transform 0.2s, color 0.2s;
}

.cam-func-btn:hover .cam-func-arrow {
  transform: translateX(3px);
  color: var(--cyan-500);
}

/* ===== 加载面板 ===== */
.loading-panel {
  padding: 8px 0 4px;
}

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

.loading-spinner {
  width: 22px;
  height: 22px;
  position: relative;
  flex-shrink: 0;
}

.spinner-ring {
  position: absolute;
  inset: 0;
  border: 2.5px solid var(--gray-200);
  border-top-color: var(--cyan-500);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-600);
}

/* ===== 进度步骤 ===== */
.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.step-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.step-pct {
  font-family: var(--font-mono);
  color: var(--blue-600);
  font-weight: 600;
}

.step-track {
  height: 5px;
  background: var(--gray-100);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.step-fill {
  height: 100%;
  border-radius: 5px;
  width: 0%;
  transition: width 0.3s ease;
}

.fill-blue { background: linear-gradient(90deg, var(--blue-600), var(--blue-400)); }
.fill-purple { background: linear-gradient(90deg, var(--indigo-600), var(--indigo-400)); }
.fill-cyan { background: linear-gradient(90deg, var(--cyan-600), var(--cyan-400)); }
.fill-green { background: linear-gradient(90deg, var(--green-600), var(--green-400)); }
.fill-pink { background: linear-gradient(90deg, #db2777, #818cf8); }

/* ===== 底部导航 ===== */
.bottom-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 20px 14px;
  background: rgba(4, 11, 36, 0.8);
  border-top: 1px solid rgba(96, 165, 250, 0.15);
  flex-shrink: 0;
  backdrop-filter: blur(10px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s;
  padding: 4px 22px;
  border-radius: 10px;
  transition: all 0.2s;
}

.nav-item {
  color: rgba(148, 163, 184, 0.6);
}

.nav-item:hover {
  background: rgba(96, 165, 250, 0.08);
  color: #93c5fd;
}

.nav-item.active {
  color: #60a5fa;
}

.nav-item.active svg {
  filter: drop-shadow(0 0 6px rgba(96, 165, 250, 0.6));
}

/* ===== 弹窗 ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 10, 30, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: #ffffff;
  border: 1px solid rgba(203, 213, 225, 0.6);
  border-radius: 24px;
  padding: 32px 28px 28px;
  max-width: 300px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.9);
  transform: scale(0.9) translateY(16px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.modal-icon-bg-green { background: rgba(34, 197, 94, 0.1); border: 2px solid rgba(34, 197, 94, 0.25); }
.modal-icon-bg-blue { background: rgba(59, 130, 246, 0.1); border: 2px solid rgba(59, 130, 246, 0.25); }
.modal-icon-bg-cyan { background: rgba(6, 182, 212, 0.1); border: 2px solid rgba(6, 182, 212, 0.25); }
.modal-icon-bg-red { background: rgba(239, 68, 68, 0.1); border: 2px solid rgba(239, 68, 68, 0.25); }

.modal-icon {
  position: relative;
  z-index: 1;
  animation: popIn 0.5s 0.15s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.modal-icon-check { color: var(--green-600); }

@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.modal-title-blue { color: var(--blue-700); }
.modal-title-cyan { color: var(--cyan-700, #0e7490); }
.modal-title-red { color: var(--red-600); }

.modal-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.modal-stats {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.modal-stat {
  flex: 1;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-stat span {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}

.modal-stat strong {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-mono);
}

.stat-blue { color: var(--blue-600); }
.stat-green { color: var(--green-600); }
.stat-indigo { color: var(--indigo-600); }

.btn-modal-close {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: var(--radius-btn);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
  color: white;
  letter-spacing: 0.2px;
}

.btn-modal-close:hover {
  transform: translateY(-2px);
}

.btn-modal-green {
  background: linear-gradient(135deg, var(--green-600), var(--green-500));
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
}

.btn-modal-blue {
  background: linear-gradient(135deg, var(--blue-600), var(--indigo-600));
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-modal-cyan {
  background: linear-gradient(135deg, var(--cyan-600), var(--blue-500));
  box-shadow: 0 4px 14px rgba(8, 145, 178, 0.3);
}

.btn-modal-red {
  background: linear-gradient(135deg, var(--red-600), #ea580c);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-modal-ghost {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--text-secondary);
  box-shadow: none;
}

.btn-modal-ghost:hover { background: var(--gray-200); }

.modal-footer-btns {
  display: flex;
  gap: 10px;
}

.modal-footer-btns .btn-modal-close {
  flex: 1;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  background: rgba(15, 23, 60, 0.95);
  color: #e2e8f0;
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: all 0.28s cubic-bezier(0.34, 1.4, 0.64, 1);
  z-index: 9999;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 12px rgba(59,130,246,0.2);
  letter-spacing: 0.2px;
}


.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


/* ============================================
   科技动效元素样式
   ============================================ */

/* ===== 科技场景容器 ===== */
.tech-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

/* tech-scene 所有后代都不拦截点击 */
.tech-scene * {
  pointer-events: none !important;
}

/* ===== 雷达扫描环 ===== */
.radar-wrap {
  position: absolute;
  width: 480px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.r1 { width: 180px; height: 180px; border-color: rgba(96,165,250,0.28); animation: radarPulse 3s ease-in-out infinite; }
.r2 { width: 290px; height: 290px; border-color: rgba(96,165,250,0.16); animation: radarPulse 3s ease-in-out infinite 0.6s; }
.r3 { width: 420px; height: 420px; border-color: rgba(96,165,250,0.09); animation: radarPulse 3s ease-in-out infinite 1.2s; }

@keyframes radarPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.02); }
}

/* 雷达扫描扇形 */
.radar-sweep {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(6, 182, 212, 0.0) 300deg,
    rgba(6, 182, 212, 0.35) 340deg,
    rgba(96, 165, 250, 0.55) 355deg,
    transparent 360deg
  );
  animation: radarSpin 4s linear infinite;
  filter: blur(1px);
}

@keyframes radarSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===== 旋转轨道 ===== */
.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(96, 165, 250, 0.22);
}

.orbit-1 {
  width: 240px;
  height: 240px;
  animation: orbitSpin 10s linear infinite;
}

.orbit-2 {
  width: 350px;
  height: 350px;
  animation: orbitSpin 18s linear infinite reverse;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 轨道上的卫星点 */
.orbit-dot {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.od-1 {
  width: 8px; height: 8px;
  background: #60a5fa;
  color: #60a5fa;
  top: -4px; left: 50%; transform: translateX(-50%);
}

.od-2 {
  width: 6px; height: 6px;
  background: #22d3ee;
  color: #22d3ee;
  bottom: -3px; left: 50%; transform: translateX(-50%);
}

/* ===== 六边形蜂窝 ===== */
.hex-grid {
  position: absolute;
  width: 100%;
  height: 100%;
}

.hex {
  position: absolute;
  width: 36px;
  height: 42px;
  opacity: 0;
  animation: hexBlink 4s ease-in-out infinite;
}

.hex::before, .hex::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
}

.hex::before {
  bottom: 100%;
  border-bottom: 10px solid rgba(96,165,250,0.18);
}

.hex::after {
  top: 100%;
  border-top: 10px solid rgba(96,165,250,0.18);
}

.hex { background: rgba(96,165,250,0.06); border: 1px solid rgba(96,165,250,0.15); }

.h1 { top: 12%; left: 5%;  animation-delay: 0s;   animation-duration: 3.5s; }
.h2 { top: 65%; left: 8%;  animation-delay: 1s;   animation-duration: 4.2s; }
.h3 { top: 20%; right: 6%; animation-delay: 0.5s; animation-duration: 3.8s; }
.h4 { top: 70%; right: 5%; animation-delay: 2s;   animation-duration: 4s;   }
.h5 { top: 42%; left: 3%;  animation-delay: 1.5s; animation-duration: 5s;   }
.h6 { top: 45%; right: 3%; animation-delay: 0.8s; animation-duration: 4.5s; }

@keyframes hexBlink {
  0%, 100% { opacity: 0;    transform: scale(0.8); }
  30%, 70% { opacity: 1;    transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.05); }
}

/* ===== 脉冲波纹 ===== */
.pulse-waves {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pulse-wave {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(96, 165, 250, 0.5);
  animation: pulsExpand 3s ease-out infinite;
}

.pw1 { width: 60px; height: 60px; animation-delay: 0s; }
.pw2 { width: 60px; height: 60px; animation-delay: 1s; }
.pw3 { width: 60px; height: 60px; animation-delay: 2s; }

@keyframes pulsExpand {
  0%   { transform: scale(1);  opacity: 0.7; border-color: rgba(96,165,250,0.6); }
  100% { transform: scale(6);  opacity: 0;   border-color: rgba(96,165,250,0); }
}

/* ===== 数据流竖线 ===== */
.data-streams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.data-line {
  position: absolute;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(96,165,250,0.6) 30%,
    rgba(6,182,212,0.8) 50%,
    rgba(96,165,250,0.6) 70%,
    transparent 100%
  );
  animation: dataFall 3s linear infinite;
  height: 60px;
}

.dl1 { left: 10%; animation-delay: 0s;    animation-duration: 2.8s; }
.dl2 { left: 88%; animation-delay: 1.2s;  animation-duration: 3.4s; }
.dl3 { left: 4%;  animation-delay: 0.6s;  animation-duration: 4s;   }
.dl4 { left: 94%; animation-delay: 2s;    animation-duration: 3.2s; }

@keyframes dataFall {
  0%   { top: -60px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: 100%;  opacity: 0; }
}

/* ===== 浮动HUD标签 ===== */
.hud-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hud-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: rgba(96, 165, 250, 0.7);
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 4px;
  padding: 4px 8px;
  letter-spacing: 0.5px;
  animation: hudFloat 4s ease-in-out infinite;
}

.hud-dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #22d3ee;
  box-shadow: 0 0 6px #22d3ee;
  animation: pulseDot 1.5s ease-in-out infinite;
}

.ht1 { top: 15%; left: 4%;  animation-delay: 0s;   animation-duration: 5s; }
.ht2 { top: 72%; right: 4%; animation-delay: 1.5s; animation-duration: 6s; }
.ht3 { top: 40%; left: 3%;  animation-delay: 3s;   animation-duration: 4.5s; }

@keyframes hudFloat {
  0%, 100% { transform: translateY(0px);  opacity: 0.7; }
  50%       { transform: translateY(-6px); opacity: 1;   }
}

/* ===== 卡片 HUD 边角装饰 ===== */
.card-hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 2;
}

.chtl { top: 8px;  left: 8px;  border-top: 2px solid rgba(96,165,250,0.7); border-left: 2px solid rgba(96,165,250,0.7);  border-radius: 2px 0 0 0; }
.chtr { top: 8px;  right: 8px; border-top: 2px solid rgba(96,165,250,0.7); border-right: 2px solid rgba(96,165,250,0.7); border-radius: 0 2px 0 0; }
.chbl { bottom: 8px; left: 8px;  border-bottom: 2px solid rgba(96,165,250,0.7); border-left: 2px solid rgba(96,165,250,0.7);  border-radius: 0 0 0 2px; }
.chbr { bottom: 8px; right: 8px; border-bottom: 2px solid rgba(96,165,250,0.7); border-right: 2px solid rgba(96,165,250,0.7); border-radius: 0 0 2px 0; }

/* ===== 卡片顶部扫描线 ===== */
.card-scan-line {
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.8), rgba(6,182,212,1), rgba(96,165,250,0.8), transparent);
  box-shadow: 0 0 12px rgba(6,182,212,0.6);
  animation: cardScan 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes cardScan {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.act-logo-ring.ring2 {
  inset: -10px;
  border-radius: 30px;
  animation: ringPulse 3s ease-in-out infinite reverse, spinSlow 12s linear infinite;
  opacity: 0.5;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* 激活卡片z-index */
.activation-card {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

/* ===== 背景科技HUD与图表 ===== */
.bg-hud-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hud-circle {
  position: absolute;
  border: 1px solid rgba(96, 165, 250, 0.08);
  border-radius: 50%;
  transform-origin: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 左侧雷达环 */
.hc-left {
  width: 500px;
  height: 500px;
  left: -200px;
  top: 50%;
  transform: translateY(-50%);
  border-style: dashed;
  animation: spinSlow 30s linear infinite;
  opacity: 0.8;
}
.hc-left::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border: 1px double rgba(6, 182, 212, 0.05);
  border-radius: 50%;
  animation: spinSlow 20s linear infinite reverse;
}

/* 右侧刻度盘 */
.hc-right {
  width: 600px;
  height: 600px;
  right: -250px;
  top: 10%;
  border: 1px solid rgba(99, 102, 241, 0.04);
  animation: spinSlow 45s linear infinite;
  opacity: 0.6;
}
.hc-right::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border: 1px dashed rgba(96, 165, 250, 0.08);
  border-radius: 50%;
  animation: spinSlow 15s linear infinite reverse;
}

/* 网格十字准心叠加 */
.hud-grid-overlay {
  position: absolute;
  inset: 10%;
  border-left: 1px dashed rgba(96, 165, 250, 0.04);
  border-right: 1px dashed rgba(96, 165, 250, 0.04);
  pointer-events: none;
}
.hud-grid-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px dashed rgba(96, 165, 250, 0.04);
  border-bottom: 1px dashed rgba(96, 165, 250, 0.04);
}

/* 地理与系统数据浮动标签 */
.hud-coords {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(96, 165, 250, 0.35);
  letter-spacing: 1px;
}

.coord-tag {
  background: rgba(9, 18, 52, 0.3);
  border: 1px solid rgba(96, 165, 250, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  animation: hudTagGlow 3s ease-in-out infinite;
}

@keyframes hudTagGlow {
  0%, 100% { opacity: 0.6; text-shadow: 0 0 2px rgba(96,165,250,0); }
  50%       { opacity: 1;   text-shadow: 0 0 6px rgba(96,165,250,0.5); }
}



/* ===== 移动端/全端极致性能流畅度优化 ===== */
#techCanvas { display: none !important; }

/* 禁用所有后台循环耗能动画 */
*, *::before, *::after {
  animation-duration: 0s !important;
  animation-name: none !important;
  transition-duration: 0.1s !important;
}

/* 移除导致极度卡顿的高斯模糊 (backdrop-filter) */
.glass-card, .activation-card, .header, .modal-content, .stats-bar, [style*="backdrop-filter"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
  background: rgba(10, 20, 42, 0.95) !important;
}

.orb {
  display: none !important;
}

.scan-line {
  display: none !important;
}
