/* Aurora 兼容覆盖层：在不破坏原有布局/逻辑的前提下赋予新外观 */
:root {
  --a-bg: radial-gradient(1200px 800px at 10% 10%, rgba(99,102,241,.25), transparent),
           radial-gradient(1200px 800px at 90% 30%, rgba(236,72,153,.22), transparent),
           radial-gradient(1000px 700px at 30% 80%, rgba(34,197,94,.18), transparent),
           #0f0f23;
  --a-text: #e5e7eb;
  --a-muted: #9ca3af;
  --a-card: rgba(255,255,255,0.08);
  --a-card-border: rgba(255,255,255,0.12);
  --a-primary: #6366f1;
  --a-primary-2: #8b5cf6;
  --a-danger: #ef4444;
}

body.aurora-compat {
  background: var(--a-bg);
  color: var(--a-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* 顶部导航（运行时注入） */
.aurora-nav {
  position: sticky;
  top: 0; z-index: 1000;
  display: flex; gap: 12px; align-items: center;
  background: linear-gradient(120deg, rgba(15,15,35,.6), rgba(20,20,40,.35));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--a-card-border);
  padding: 10px 16px;
}
.aurora-nav a {
  color: var(--a-text); text-decoration: none; font-weight: 500;
  padding: 6px 10px; border-radius: 8px;
}
.aurora-nav a:hover { background: rgba(255,255,255,0.08); }
.aurora-nav .spacer { flex: 1; }
.aurora-badge {
  font-size: 12px; color: var(--a-muted); margin-left: 6px;
}

/* 常见卡片/容器名的温和玻璃化 */
section, article, .card, .panel, .box, .container, div[class*="card"], div[class*="panel"], div[class*="box"] {
  background: var(--a-card);
  border: 1px solid var(--a-card-border);
  border-radius: 14px;
  backdrop-filter: blur(8px);
}

/* 按钮统一风格（尽量不破坏宽度/布局） */
button, .btn, input[type=button], input[type=submit], .button {
  background: linear-gradient(135deg, var(--a-primary), var(--a-primary-2));
  color: #fff; border: none; border-radius: 10px;
  padding: 10px 14px; cursor: pointer; transition: transform .12s ease, opacity .12s ease;
}
button:hover, .btn:hover, input[type=submit]:hover { transform: translateY(-1px); opacity: .95; }
button:active, .btn:active, input[type=submit]:active { transform: translateY(0); opacity: .9; }

/* 表格轻量化现代样式 */
table { width: 100%; border-collapse: collapse; }
thead th { color: var(--a-muted); font-weight: 600; text-align: left; }
tbody tr { border-top: 1px solid rgba(255,255,255,0.08); }
td, th { padding: 10px 12px; }

/* 输入框 */
input, select, textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--a-card-border);
  color: var(--a-text);
  border-radius: 10px;
  padding: 8px 10px;
}

/* 链接可见性 */
a { color: #a5b4fc; }
a:hover { color: #c7d2fe; }
