/* ═══════════════════════════════════════════════════════
   FootballChat 共享视觉系统（蓝白 Falcon 质感）— 纯外观
   引入方式：各页面在自家 <style> 之后 <link rel="stylesheet" href="/app.css">
   覆盖原则：只调颜色/圆角/阴影/字体/边框，绝不改布局与 JS 行为
   ═══════════════════════════════════════════════════════ */

:root {
  --bg: #f0f0f0;
  --text: #282828;
  --surface: #fff;
  --panel: #f5f8ff;
  --border: #e5e7eb;
  --primary: #1d4ed8;
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;
  --muted: #6b7280;
  --success: #16a34a;
  --danger: #dc2626;
  --pro: #b45309;
  --card-shadow: .32rem 1.18rem 1.42rem rgb(15 23 42 / 11%), 0 .18rem .42rem rgb(15 23 42 / 3.5%);
}
.dark {
  --bg: #0f172a;
  --text: #f1f5f9;
  --surface: #1e293b;
  --panel: #26334d;
  --border: #334155;
  --primary: #3b82f6;
  --accent: #3b82f6;
  --accent-soft: #1e3a5f;
  --muted: #94a3b8;
  --success: #22c55e;
  --danger: #f87171;
  --pro: #f59e0b;
  --card-shadow: 0 .18rem .42rem rgb(0 0 0 / 35%);
}

/* 字体：系统栈，无外部资源 */
body {
  font-family: "Segoe UI Variable", "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
input, select, textarea, button {
  font-family: inherit;
}

/* 卡片质感 */
.card {
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  background: var(--surface);
  box-shadow: var(--card-shadow);
}
.panel { border-radius: 1rem; border: 1px solid var(--border); }

/* 按钮统一（胶囊 + 蓝渐变主按钮） */
.btn, button.primary {
  border-radius: 999px;
}
.btn-primary, button.primary {
  background: linear-gradient(100deg, #3b82f6 0%, #2563eb 38%, #1d4ed8 100%);
  border: none;
  color: #fff;
  box-shadow: 0 .3rem .9rem rgb(37 99 235 / 35%);
}
.btn-primary:hover, button.primary:hover { filter: brightness(1.06); }
.btn-outline {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* 输入控件 */
input, select, textarea {
  border-radius: .75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* 表格 */
table { border-collapse: collapse; }
th { background: var(--panel); }
th, td { border-color: var(--border); }

/* 徽章 / 标签 / 状态 */
.badge, .tag { border-radius: 999px; }
.loading { color: var(--muted); }
.empty-state { color: var(--muted); }

/* 链接 */
a { color: var(--primary); }
a:hover { text-decoration: none; }

/* 弹窗卡片 */
.modal-card {
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}
