/* ============================================================
   AI 中转站 - 全站样式（设计系统 v2）
   设计语言：精密 / 透明 / 轻量
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root {
  /* 品牌色 - 深岩青 */
  --brand-50: #ecfeff;
  --brand-100: #cffafe;
  --brand-200: #a5f3fc;
  --brand-500: #0891b2;
  --brand-600: #0e7490;
  --brand-700: #155e75;
  --brand-soft: #ecfeff;

  /* 强调色 - 琥珀 */
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --accent-soft: #fffbeb;

  /* 语义色 */
  --success: #10b981;
  --success-soft: #ecfdf5;
  --danger: #f43f5e;
  --danger-soft: #fff1f2;
  --warning: #f59e0b;
  --warning-soft: #fffbeb;
  --info: #0891b2;
  --info-soft: #ecfeff;

  /* 表面色 */
  --surface-0: #f8fafc;
  --surface-1: #ffffff;
  --surface-2: #f1f5f9;
  --surface-3: #e2e8f0;

  /* 边框 */
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  /* 文字 */
  --text-1: #0f172a;
  --text-2: #475569;
  --text-3: #94a3b8;
  --text-4: #cbd5e1;

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 999px;

  /* 阴影 */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 4px 8px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -8px rgba(15, 23, 42, 0.08), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 0 4px rgba(8, 145, 178, 0.12);

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* 过渡 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.15s;
  --t-base: 0.2s;
  --t-slow: 0.35s;
}

[data-theme="dark"] {
  --brand-50: #164e63;
  --brand-100: #155e75;
  --brand-200: #0e7490;
  --brand-500: #22d3ee;
  --brand-600: #67e8f9;
  --brand-700: #a5f3fc;
  --brand-soft: #164e63;

  --accent-500: #fbbf24;
  --accent-600: #fcd34d;
  --accent-soft: #422006;

  --success: #34d399;
  --success-soft: #064e3b;
  --danger: #fb7185;
  --danger-soft: #4c0519;
  --warning: #fbbf24;
  --warning-soft: #422006;
  --info: #22d3ee;
  --info-soft: #164e63;

  --surface-0: #020617;
  --surface-1: #0f172a;
  --surface-2: #1e293b;
  --surface-3: #334155;

  --border: #1e293b;
  --border-strong: #334155;

  --text-1: #f1f5f9;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --text-4: #475569;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 4px 8px -2px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 32px -8px rgba(0, 0, 0, 0.5), 0 4px 8px -4px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 4px rgba(34, 211, 238, 0.15);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--surface-0);
  color: var(--text-1);
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
a { color: var(--brand-500); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--brand-600); }
img { max-width: 100%; display: block; }
code, pre { font-family: var(--font-mono); }
button { font-family: inherit; }

/* ---------- 图标工具类 ---------- */
.icon {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 1.75;
  fill: none;
  stroke: currentColor;
  vertical-align: -0.18em;
  flex-shrink: 0;
}
.icon-sm { width: 0.95em; height: 0.95em; }
.icon-lg { width: 1.4em; height: 1.4em; }

/* 数字等宽 */
.tabular { font-variant-numeric: tabular-nums; }

/* 屏幕阅读器 */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 页面容器 ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.page {
  padding: 28px 0 56px;
  animation: page-in var(--t-slow) var(--ease);
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.section { padding: 56px 0; }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .nav {
  background: rgba(15, 23, 42, 0.8);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; height: 60px; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--text-1);
  letter-spacing: -0.01em;
}
.nav-logo:hover { color: var(--text-1); }
.logo-badge {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
}
[data-theme="dark"] .logo-badge {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  box-shadow: 0 2px 12px rgba(34, 211, 238, 0.25);
}
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-links a {
  padding: 7px 13px; border-radius: var(--radius-full);
  color: var(--text-2); font-size: 13.5px; font-weight: 500;
  transition: all var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--text-1); background: var(--surface-2); }
.nav-links a.active { color: var(--brand-600); background: var(--brand-soft); font-weight: 600; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-user .avatar {
  width: 30px; height: 30px; border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.nav-user .username { color: var(--text-1); font-weight: 500; font-size: 13.5px; }
.nav-burger {
  display: none; background: none; border: none;
  width: 36px; height: 36px; border-radius: var(--radius-md);
  color: var(--text-2); cursor: pointer;
  align-items: center; justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.nav-burger:hover { background: var(--surface-2); color: var(--text-1); }

/* 主题切换 */
.theme-toggle {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface-1); color: var(--text-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast) var(--ease);
}
.theme-toggle:hover {
  color: var(--brand-500); border-color: var(--brand-500);
  background: var(--brand-soft);
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 17px; border-radius: var(--radius-md);
  border: 1px solid transparent;
  font-size: 13.5px; font-weight: 500; cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  white-space: nowrap; line-height: 1;
  font-family: var(--font-sans);
  user-select: none;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  box-shadow: 0 1px 2px rgba(8, 145, 178, 0.25), 0 2px 6px rgba(8, 145, 178, 0.15);
}
.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}
[data-theme="dark"] .btn-primary {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(34, 211, 238, 0.15);
}

.btn-outline {
  background: transparent; border-color: var(--border); color: var(--text-2);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--brand-500); color: var(--brand-500);
  background: var(--brand-soft);
}

.btn-ghost {
  background: transparent; color: var(--text-2);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface-2); color: var(--text-1);
}

.btn-danger {
  background: var(--danger); color: #fff;
}
.btn-danger:hover:not(:disabled) {
  background: #e11d48; color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-600));
  color: #fff;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.btn-accent:hover:not(:disabled) {
  color: #fff; transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-sm { height: 30px; padding: 0 12px; font-size: 12.5px; border-radius: var(--radius-sm); }
.btn-lg { height: 46px; padding: 0 26px; font-size: 15px; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: var(--radius-md); }
.btn-icon.btn-sm { width: 28px; height: 28px; }

/* 按钮 loading */
.btn-loading { pointer-events: none; }
.btn-loading .icon { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 卡片 ---------- */
.card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.card-pad { padding: 20px; }
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-elevated {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.card-body { padding: 20px; }
.card-footer {
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}

/* ---------- 网格 ---------- */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- 标签 / Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11.5px; font-weight: 500;
  line-height: 1.4;
}
.badge::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: 0.7;
}
.badge-primary { background: var(--brand-soft); color: var(--brand-600); }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-warning { background: var(--warning-soft); color: var(--warning); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-muted { background: var(--surface-2); color: var(--text-2); }

/* ---------- 表单 ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12.5px; color: var(--text-2); font-weight: 500;
}

.form-control, select.form-control, textarea.form-control {
  width: 100%; height: 40px; padding: 0 14px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--surface-1); color: var(--text-1);
  font-size: 13.5px; outline: none;
  font-family: var(--font-sans);
  transition: all var(--t-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
textarea.form-control {
  height: auto; min-height: 90px;
  padding: 10px 14px; resize: vertical;
  line-height: 1.6;
}
.form-control:hover { border-color: var(--border-strong); }
.form-control:focus {
  border-color: var(--brand-500);
  box-shadow: var(--shadow-glow);
}
.form-control::placeholder { color: var(--text-3); }

/* select 自定义箭头 */
select.form-control {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.input-group { display: flex; gap: 8px; }
.input-group .form-control { flex: 1; min-width: 0; }
.input-group .btn { flex: 0 0 auto; }

.input-icon {
  position: relative;
}
.input-icon .icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--text-3); pointer-events: none;
}
.input-icon .form-control { padding-left: 38px; }

.form-hint { font-size: 12px; color: var(--text-3); }
.form-error { font-size: 12px; color: var(--danger); margin-top: 4px; }

/* 开关 */
.switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: 0 0 auto; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .slider {
  position: absolute; cursor: pointer; inset: 0;
  background: var(--surface-3); border-radius: var(--radius-full);
  transition: background var(--t-fast) var(--ease);
}
.switch .slider::before {
  content: "";
  position: absolute; height: 18px; width: 18px;
  left: 3px; top: 3px;
  background: #fff; border-radius: 50%;
  transition: transform var(--t-fast) var(--ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}
.switch input:checked + .slider { background: var(--brand-500); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* 复选框组 */
.check-group { display: flex; flex-wrap: wrap; gap: 8px; }
.check-group label {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--surface-1); font-size: 13px; color: var(--text-2);
  transition: all var(--t-fast) var(--ease);
  user-select: none;
}
.check-group label:hover { border-color: var(--border-strong); color: var(--text-1); }
.check-group label:has(input:checked) {
  border-color: var(--brand-500);
  color: var(--brand-600);
  background: var(--brand-soft);
  font-weight: 500;
}
.check-group input { accent-color: var(--brand-500); }

/* ---------- 分段控制器 ---------- */
.segmented {
  display: inline-flex;
  padding: 3px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  gap: 2px;
}
.segmented a, .segmented button {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: none; background: transparent;
  color: var(--text-2); font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  text-decoration: none;
  font-family: var(--font-sans);
}
.segmented a:hover, .segmented button:hover { color: var(--text-1); }
.segmented a.active, .segmented button.active {
  background: var(--surface-1);
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  font-size: 13px;
}
.table th {
  text-align: left; padding: 10px 14px;
  font-weight: 600; color: var(--text-2);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.table th:first-child { border-radius: var(--radius-md) 0 0 0; }
.table th:last-child { border-radius: 0 var(--radius-md) 0 0; }
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.table tbody tr {
  transition: background var(--t-fast) var(--ease);
}
.table tbody tr:hover { background: var(--surface-2); }
.table tbody tr:last-child td { border-bottom: none; }
.table .actions { display: flex; gap: 6px; white-space: nowrap; }

/* ---------- 提示 / Alert ---------- */
.alert {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}
.alert .icon { flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--success-soft); color: #065f46; border-color: rgba(16, 185, 129, 0.25); }
[data-theme="dark"] .alert-success { color: #6ee7b7; }
.alert-error { background: var(--danger-soft); color: #881337; border-color: rgba(244, 63, 94, 0.25); }
[data-theme="dark"] .alert-error { color: #fda4af; }
.alert-warning { background: var(--warning-soft); color: #92400e; border-color: rgba(245, 158, 11, 0.25); }
[data-theme="dark"] .alert-warning { color: #fcd34d; }
.alert-info { background: var(--info-soft); color: #164e63; border-color: rgba(8, 145, 178, 0.25); }
[data-theme="dark"] .alert-info { color: #67e8f9; }

/* ---------- 空状态 ---------- */
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 24px;
  text-align: center;
  color: var(--text-3);
}
.empty-state .empty-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3);
  margin-bottom: 14px;
}
.empty-state .empty-icon .icon { width: 26px; height: 26px; }
.empty-state h4 {
  font-size: 15px; font-weight: 600; color: var(--text-1);
  margin-bottom: 4px;
}
.empty-state p { font-size: 13px; max-width: 320px; margin-bottom: 16px; }

/* ---------- 骨架屏 ---------- */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-1) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
  border-radius: var(--radius-md);
}
@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- 统计卡片 ---------- */
.stat-card {
  padding: 20px;
  display: flex; flex-direction: column; gap: 8px;
  position: relative;
  overflow: hidden;
}
.stat-card .s-icon {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft);
  color: var(--brand-600);
  opacity: 0.9;
}
.stat-card .s-label { color: var(--text-3); font-size: 12px; font-weight: 500; }
.stat-card .s-value {
  font-size: 26px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.stat-card .s-value small {
  font-size: 12px; color: var(--text-3);
  font-weight: 400; margin-left: 2px;
}

/* ---------- 首页 / Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 72px 20px 56px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 400px; height: 400px;
  background: var(--brand-500);
  top: -180px; left: 50%;
  transform: translateX(-60%);
}
.hero::after {
  width: 320px; height: 320px;
  background: var(--accent-500);
  top: -120px; right: 10%;
  opacity: 0.2;
}
[data-theme="dark"] .hero::before { opacity: 0.2; }
[data-theme="dark"] .hero::after { opacity: 0.12; }

.hero > * { position: relative; z-index: 1; }
.hero h1 {
  font-size: 40px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1.15;
  color: var(--text-1);
}
.hero h1 .grad {
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-2); font-size: 16px;
  margin: 16px auto 28px; max-width: 580px;
  line-height: 1.7;
}
.hero .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats > div { text-align: center; }
.hero-stats .num {
  font-size: 28px; font-weight: 700;
  color: var(--text-1);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.hero-stats .lbl { font-size: 13px; color: var(--text-3); margin-top: 2px; }

.section-title { text-align: center; margin-bottom: 36px; }
.section-title h2 {
  font-size: 24px; font-weight: 700;
  letter-spacing: -0.02em;
}
.section-title p { color: var(--text-2); margin-top: 6px; font-size: 14px; }

/* ---------- 模型卡片 ---------- */
.model-card {
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
a.model-card { text-decoration: none; color: inherit; }
.model-card .m-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.model-card .m-name {
  font-weight: 600; font-size: 15px;
  color: var(--text-1);
  letter-spacing: -0.01em;
}
.model-card .m-code {
  color: var(--text-3); font-size: 11.5px;
  font-family: var(--font-mono);
  margin-top: 2px;
}
.model-card .m-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.model-card .m-price {
  margin-top: auto;
  color: var(--brand-600); font-weight: 600; font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 套餐卡片 ---------- */
.pkg-card {
  padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.pkg-card.featured {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.pkg-card .pkg-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff; font-size: 11.5px; font-weight: 600;
  padding: 4px 14px; border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(8, 145, 178, 0.35);
}
.pkg-card .pkg-name {
  font-size: 16px; font-weight: 700;
  letter-spacing: -0.01em;
}
.pkg-card .pkg-price {
  font-size: 32px; font-weight: 800;
  color: var(--brand-600);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1;
}
.pkg-card .pkg-price small {
  font-size: 13px; color: var(--text-3);
  font-weight: 400; margin-left: 4px;
}
.pkg-card ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.pkg-card ul li {
  color: var(--text-2); font-size: 13px;
  display: flex; gap: 10px; align-items: flex-start;
  line-height: 1.5;
}
.pkg-card ul li .icon {
  color: var(--success);
  margin-top: 2px;
  flex-shrink: 0;
}

/* ---------- 特性卡片 ---------- */
.feature-card { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.feature-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand-600);
  display: flex; align-items: center; justify-content: center;
}
.feature-card h4 {
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.01em;
}
.feature-card p { color: var(--text-2); font-size: 13px; line-height: 1.65; }

/* ---------- 认证页 ---------- */
.auth-wrap {
  display: flex; justify-content: center; align-items: center;
  padding: 48px 20px;
  min-height: calc(100vh - 60px);
}
.auth-card {
  width: 420px; max-width: 100%;
  padding: 32px;
}
.auth-card h1 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.auth-card .sub {
  color: var(--text-2); font-size: 13px;
  margin-bottom: 24px;
}

.auth-tabs {
  display: flex; gap: 4px;
  margin-bottom: 20px;
  padding: 3px;
  background: var(--surface-2);
  border-radius: var(--radius-md);
}
.auth-tabs button {
  flex: 1; height: 36px;
  border-radius: var(--radius-sm);
  border: none; background: transparent;
  color: var(--text-2); cursor: pointer;
  font-size: 13px; font-weight: 500;
  transition: all var(--t-fast) var(--ease);
  font-family: var(--font-sans);
}
.auth-tabs button:hover { color: var(--text-1); }
.auth-tabs button.active {
  background: var(--surface-1);
  color: var(--text-1);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.auth-tab { display: none; }
.auth-tab.active { display: block; animation: fade-in var(--t-base) var(--ease); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- 控制台布局 ---------- */
.console-wrap {
  display: flex; gap: 20px;
  align-items: flex-start;
}
.console-side { width: 220px; flex: 0 0 auto; position: sticky; top: 76px; }
.console-side .card { overflow: hidden; }
.console-side a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 18px;
  color: var(--text-2); font-size: 13.5px;
  border-left: 3px solid transparent;
  transition: all var(--t-fast) var(--ease);
  position: relative;
}
.console-side a .icon { color: var(--text-3); transition: color var(--t-fast) var(--ease); }
.console-side a:hover {
  background: var(--surface-2); color: var(--text-1);
}
.console-side a:hover .icon { color: var(--text-2); }
.console-side a.active {
  color: var(--brand-600);
  background: var(--brand-soft);
  border-left-color: var(--brand-500);
  font-weight: 600;
}
.console-side a.active .icon { color: var(--brand-600); }

.console-main { flex: 1; min-width: 0; }
.console-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 18px;
  gap: 12px;
  flex-wrap: wrap;
}
.console-head h2 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
}

/* 侧边栏用户信息卡 */
.side-card { padding: 16px; font-size: 13px; margin-top: 16px; }
.side-card h4 {
  margin-bottom: 12px;
  font-size: 13px; font-weight: 600; color: var(--text-2);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.side-card .info-row {
  display: flex; justify-content: space-between;
  padding: 5px 0;
  color: var(--text-2);
}
.side-card .info-row b { color: var(--text-1); font-weight: 600; }

/* 用户摘要卡 */
.side-profile {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.side-profile .avatar {
  width: 38px; height: 38px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.side-profile .sp-name { font-weight: 600; font-size: 13.5px; }
.side-profile .sp-group { font-size: 11.5px; color: var(--text-3); margin-top: 1px; }

/* ---------- 进度条 ---------- */
.progress {
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress .bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease);
}

/* ---------- 聊天界面 ---------- */
.chat-wrap {
  display: flex; flex-direction: column;
  height: calc(100vh - 140px); min-height: 480px;
  overflow: hidden;
}
.chat-toolbar {
  display: flex; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.chat-toolbar select { max-width: 280px; }

.chat-box {
  flex: 1; overflow-y: auto;
  padding: 20px;
  display: flex; flex-direction: column; gap: 16px;
  scroll-behavior: smooth;
}
.chat-box::-webkit-scrollbar { width: 6px; }
.chat-box::-webkit-scrollbar-track { background: transparent; }
.chat-box::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.chat-message {
  display: flex; gap: 10px;
  max-width: 85%;
  animation: msg-in 0.25s var(--ease);
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.chat-message.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-message.assistant { align-self: flex-start; }
.chat-message.error { align-self: flex-start; max-width: 100%; }

.chat-avatar {
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.chat-message.user .chat-avatar {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
}
.chat-message.assistant .chat-avatar {
  background: var(--brand-soft);
  color: var(--brand-600);
  border: 1px solid var(--border);
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}
.chat-message.user .chat-bubble {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-message.assistant .chat-bubble {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-bottom-left-radius: 4px;
}
.chat-message.error .chat-bubble {
  background: var(--danger-soft);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: var(--danger);
  width: 100%;
}

/* 建议 chips */
.chat-suggestions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 10px;
}
.chat-suggestion {
  padding: 6px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12.5px; color: var(--text-2);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.chat-suggestion:hover {
  background: var(--brand-soft);
  border-color: var(--brand-500);
  color: var(--brand-600);
}

/* typing 动画 */
.typing-dots {
  display: inline-flex; gap: 4px;
  padding: 4px 0;
}
.typing-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  animation: typing-bounce 1.3s infinite ease-in-out;
}
.typing-dots span:nth-child(2) { animation-delay: 0.15s; }
.typing-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.chat-inputbar {
  display: flex; gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  align-items: flex-end;
}
.chat-inputbar textarea {
  flex: 1;
  min-height: 44px; max-height: 160px;
  resize: none;
  padding: 10px 14px;
  line-height: 1.6;
}
.chat-send-btn {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  flex-shrink: 0;
}
.chat-send-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.35);
}
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* 流式生成中：按钮变为停止 */
.chat-send-btn.stop {
  background: var(--danger);
}
.chat-send-btn.stop:hover:not(:disabled) {
  filter: brightness(0.92);
}

/* 代码块 */
.chat-bubble pre {
  background: var(--surface-2);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 8px 0;
  overflow-x: auto;
  font-size: 12.5px;
  line-height: 1.6;
  position: relative;
}
.chat-bubble code { font-family: var(--font-mono); font-size: 12.5px; }
.chat-bubble :not(pre) > code {
  background: var(--surface-2);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex; gap: 6px;
  justify-content: center;
  margin-top: 20px; flex-wrap: wrap;
}
.pagination a, .pagination span {
  min-width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2); font-size: 13px;
  padding: 0 10px;
  transition: all var(--t-fast) var(--ease);
}
.pagination a:hover {
  border-color: var(--brand-500); color: var(--brand-500);
  background: var(--brand-soft);
}
.pagination .current {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
  font-weight: 600;
}

/* ---------- 页脚 ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0; margin-top: 40px;
  text-align: center;
  color: var(--text-3); font-size: 12.5px;
}
.footer-links {
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 10px;
}
.footer-links a { color: var(--text-2); font-size: 13px; }
.footer-links a:hover { color: var(--brand-500); }

/* ---------- 金额卡片（充值） ---------- */
.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.amount-chip {
  padding: 14px 10px;
  text-align: center;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  font-size: 16px; font-weight: 600;
  color: var(--text-1);
}
.amount-chip:hover {
  border-color: var(--brand-500);
  color: var(--brand-600);
}
.amount-chip.active {
  background: var(--brand-500);
  border-color: var(--brand-500);
  color: #fff;
}

/* ---------- 支付方式卡片 ---------- */
.pay-methods {
  display: flex; flex-direction: column; gap: 8px;
}
.pay-method {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.pay-method:hover { border-color: var(--border-strong); }
.pay-method:has(input:checked) {
  border-color: var(--brand-500);
  background: var(--brand-soft);
}
.pay-method .pm-icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
}
.pay-method .pm-name { font-weight: 500; font-size: 13.5px; }

/* ---------- 后台布局 ---------- */
.admin-body { display: flex; min-height: calc(100vh - 60px); }
.admin-aside {
  width: 220px; flex: 0 0 auto;
  border-right: 1px solid var(--border);
  background: var(--surface-1);
  padding: 14px 10px;
  position: sticky; top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}
.admin-aside a {
  display: flex; align-items: center; gap: 11px;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  color: var(--text-2); font-size: 13.5px;
  margin-bottom: 2px;
  transition: all var(--t-fast) var(--ease);
}
.admin-aside a .icon { color: var(--text-3); transition: color var(--t-fast) var(--ease); }
.admin-aside a:hover { background: var(--surface-2); color: var(--text-1); }
.admin-aside a:hover .icon { color: var(--text-2); }
.admin-aside a.active {
  background: var(--brand-soft);
  color: var(--brand-600);
  font-weight: 600;
}
.admin-aside a.active .icon { color: var(--brand-600); }

.admin-main {
  flex: 1; min-width: 0;
  padding: 24px 28px;
}
.admin-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; gap: 12px; flex-wrap: wrap;
}
.admin-head h2 {
  font-size: 20px; font-weight: 700;
  letter-spacing: -0.02em;
}
.page-title {
  font-size: 18px; font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* 柱状图 */
.chart-bar-wrap {
  display: flex; gap: 10px;
  align-items: flex-end;
  height: 140px;
  padding: 0 4px;
}
.chart-bar-col {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.chart-bar-col .bar-val {
  font-size: 11px; color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.chart-bar-col .bar {
  width: 100%;
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  border-radius: 6px 6px 0 0;
  transition: all var(--t-base) var(--ease);
  min-height: 4px;
  opacity: 0.85;
}
.chart-bar-col:hover .bar { opacity: 1; }
.chart-bar-col .bar-label {
  font-size: 11px; color: var(--text-3);
}

/* ---------- 复制按钮 ---------- */
.copy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface-1);
  color: var(--text-3);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.copy-btn:hover {
  color: var(--brand-500); border-color: var(--brand-500);
  background: var(--brand-soft);
}
.copy-btn.copied {
  color: var(--success); border-color: var(--success);
  background: var(--success-soft);
}

/* ---------- 信息列表 ---------- */
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 12px; border-bottom: 1px dashed var(--border);
}
.info-row:last-child { border-bottom: none; padding-bottom: 0; }
.info-label { color: var(--text-3); font-size: 13px; }
.info-value { font-size: 14px; font-weight: 500; color: var(--text-1); }

/* ---------- 密钥单元格 ---------- */
.key-cell {
  display: flex; align-items: center; gap: 8px;
}
.key-text {
  font-family: var(--font-mono); font-size: 12.5px;
  background: var(--surface-2); padding: 4px 10px;
  border-radius: 6px; color: var(--text-2);
  max-width: 240px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- 筛选栏 ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding: 14px 16px; background: var(--surface-2);
  border-radius: var(--radius-lg);
}
.filter-item { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 140px; }
.filter-item label { font-size: 12px; color: var(--text-3); font-weight: 500; }
.filter-actions {
  flex: 0 0 auto; flex-direction: row; align-items: flex-end; gap: 8px;
}

/* ---------- 内联筛选表单 ---------- */
.inline-form {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}

/* ---------- 模态框 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
}
.modal.active { display: flex; }
.modal-mask {
  position: absolute; inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}
.modal-card {
  position: relative; z-index: 1;
  width: 92%; max-width: 440px;
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 20px; border-bottom: 1px solid var(--border);
}
.modal-head h3 { font-size: 16px; font-weight: 600; margin: 0; }
.modal-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none; background: transparent;
  color: var(--text-3); border-radius: var(--radius-md);
  cursor: pointer; transition: all 0.15s;
}
.modal-close:hover { background: var(--surface-2); color: var(--text-1); }
.modal-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 16px 20px; border-top: 1px solid var(--border);
}

/* ---------- 行内操作 ---------- */
.row-actions {
  display: flex; gap: 12px; font-size: 13px;
}
.link-primary { color: var(--brand-600); }
.link-danger { color: var(--danger); }
.link-primary:hover, .link-danger:hover { opacity: 0.8; }

/* ---------- 分页 ---------- */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 20px;
}
.page-btn {
  padding: 6px 14px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px; color: var(--text-2);
  transition: all 0.15s;
}
.page-btn:hover {
  border-color: var(--brand-600);
  color: var(--brand-600);
}
.page-info { font-size: 13px; color: var(--text-3); }

/* ---------- 页面标题头 ---------- */
.page-head {
  margin-bottom: 20px;
}
.page-head h2 {
  font-size: 20px; font-weight: 600;
  margin: 0 0 4px 0;
}

/* ---------- 统计卡片趋势 ---------- */
.stat-card .s-trend {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
}
.stat-card .s-trend.up { color: var(--success); }
.stat-card .s-trend.down { color: var(--danger); }

/* ---------- 进度条 ---------- */
.progress {
  width: 100%;
  height: 8px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-500), var(--brand-600));
  border-radius: 999px;
  transition: width 0.4s var(--ease);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .nav-links {
    display: none;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--surface-1);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
    flex-direction: column;
    gap: 2px;
    animation: slide-down var(--t-base) var(--ease);
  }
  @keyframes slide-down {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; }
  .nav-burger { display: flex; }

  .console-wrap { flex-direction: column; }
  .console-side {
    width: 100%; position: static;
  }
  .console-side .card {
    display: flex;
    overflow-x: auto;
    padding: 4px;
  }
  .console-side a {
    border-left: none !important;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    padding: 10px 14px;
  }
  .console-side a.active { border-bottom-color: var(--brand-500); }
  .side-card { display: none; }
  .side-profile { display: none; }

  .admin-body { flex-direction: column; }
  .admin-aside {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    display: flex;
    overflow-x: auto;
    position: static;
    padding: 8px 10px;
  }
  .admin-aside a { white-space: nowrap; margin-bottom: 0; }
  .admin-main { padding: 18px 16px; }

  .hero h1 { font-size: 30px; }
  .hero { padding: 52px 20px 40px; }
  .hero-stats { gap: 32px; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero h1 { font-size: 26px; }
  .auth-card { padding: 24px; }
  .amount-grid { grid-template-columns: repeat(3, 1fr); }
  .chat-wrap { height: calc(100vh - 180px); min-height: 400px; }
  .page { padding: 18px 0 40px; }
}

/* ---------- 减少动画偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
