/* ============================================================
   飞车全鉴 · 设计系统 v2
   现代轻拟物 / 渐变强调 / 大圆角 / 细腻阴影
   ============================================================ */
:root {
  --gx-bg: #f4f6fc;
  --gx-bg-deep: #eaeefa;
  --gx-card: #ffffff;
  --gx-ink: #0d1424;
  --gx-ink-2: #4a5568;
  --gx-ink-3: #94a1b8;
  --gx-line: rgba(15, 23, 42, .07);
  --gx-line-2: rgba(15, 23, 42, .12);
  --gx-brand: #5b6cff;
  --gx-brand-2: #8b5cf6;
  --gx-cyan: #06b6d4;
  --gx-ok: #10b981;
  --gx-warn: #f59e0b;
  --gx-danger: #f43f5e;
  --gx-r: 18px;
  --gx-r-lg: 24px;
  --gx-grad: linear-gradient(135deg, #5b6cff 0%, #8b5cf6 52%, #c04df9 100%);
  --gx-grad-soft: linear-gradient(135deg, rgba(91, 108, 255, .10) 0%, rgba(139, 92, 246, .10) 100%);
  --gx-shadow: 0 1px 2px rgba(13, 20, 36, .04), 0 12px 32px -18px rgba(13, 20, 36, .28);
  --gx-shadow-lg: 0 2px 6px rgba(13, 20, 36, .05), 0 26px 60px -26px rgba(13, 20, 36, .35);
}

/* ---------- 基础 ---------- */
body {
  background-color: var(--gx-bg) !important;
  background-image:
    radial-gradient(900px 460px at 12% -8%, rgba(91, 108, 255, .13), transparent 60%),
    radial-gradient(760px 420px at 92% 2%, rgba(139, 92, 246, .12), transparent 62%),
    radial-gradient(680px 380px at 50% 108%, rgba(6, 182, 212, .08), transparent 60%) !important;
  background-attachment: fixed !important;
  color: var(--gx-ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(91, 108, 255, .18);
}

.gx-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- 导航 ---------- */
.gx-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--gx-line);
}

.gx-nav::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 108, 255, .45), rgba(192, 77, 249, .45), transparent);
  opacity: .8;
}

.gx-nav-in {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.gx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none !important;
}

.gx-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gx-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px -8px rgba(91, 108, 255, .9);
  flex-shrink: 0;
}

.gx-logo-mark svg {
  width: 22px;
  height: 22px;
  color: #fff;
}

.gx-logo-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.gx-logo-txt b {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: .5px;
  background: var(--gx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.gx-logo-txt span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2.4px;
  color: #a3adc2;
  text-transform: uppercase;
}

.gx-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 10px;
}

.gx-menu a {
  position: relative;
  padding: 8px 14px;
  border-radius: 11px;
  font-size: 13.5px;
  font-weight: 700;
  color: #64748b !important;
  text-decoration: none !important;
  transition: all .22s ease;
  white-space: nowrap;
}

.gx-menu a:hover {
  color: var(--gx-brand) !important;
  background: rgba(91, 108, 255, .07);
}

.gx-menu a.on {
  color: #fff !important;
  background: var(--gx-grad);
  box-shadow: 0 8px 18px -10px rgba(91, 108, 255, .95);
}

.gx-search {
  position: relative;
  margin-left: auto;
  width: 210px;
}

.gx-search input {
  width: 100%;
  height: 38px;
  padding: 0 40px 0 38px;
  border-radius: 12px;
  border: 1px solid var(--gx-line) !important;
  background: #f6f7fc !important;
  font-size: 13px;
  outline: none !important;
  transition: all .22s;
  color: var(--gx-ink) !important;
}

.gx-search input:focus {
  width: 100%;
  border-color: rgba(91, 108, 255, .55) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(91, 108, 255, .12) !important;
}

.gx-search .ic {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #a3adc2;
  pointer-events: none;
  display: flex;
}

.gx-search .ic svg {
  width: 15px;
  height: 15px;
}

.gx-burger {
  display: none;
  margin-left: auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--gx-line) !important;
  background: #fff !important;
  align-items: center;
  justify-content: center;
  color: var(--gx-ink-2);
  cursor: pointer;
}

.gx-burger svg {
  width: 18px;
  height: 18px;
}

/* ---------- 卡片 / 表面 ---------- */
.gx-card {
  background: var(--gx-card) !important;
  border: 1px solid var(--gx-line) !important;
  border-radius: var(--gx-r) !important;
  box-shadow: var(--gx-shadow) !important;
}

.gx-card-pad {
  padding: 20px;
}

.gx-soft {
  background: linear-gradient(180deg, #fbfcff, #f6f7fd) !important;
  border: 1px solid var(--gx-line) !important;
  border-radius: 14px !important;
}

/* ---------- 区块标题 ---------- */
.gx-sec {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}

.gx-sec-bar {
  width: 4px;
  height: 20px;
  border-radius: 4px;
  background: var(--gx-grad);
}

.gx-sec h2 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: .3px;
  color: var(--gx-ink);
  margin: 0;
}

.gx-sec .count {
  font-size: 11px;
  font-weight: 800;
  color: var(--gx-ink-3);
  background: rgba(15, 23, 42, .04);
  border: 1px solid var(--gx-line);
  padding: 2px 9px;
  border-radius: 999px;
}

.gx-sec .more {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--gx-brand) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: gap .2s;
}

.gx-sec .more:hover {
  gap: 8px;
}

/* ---------- 按钮 ---------- */
.gx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 800;
  border: 1px solid transparent !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: all .2s ease;
  white-space: nowrap;
}

.gx-btn svg {
  width: 15px;
  height: 15px;
}

.gx-btn-primary {
  background: var(--gx-grad) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px -12px rgba(91, 108, 255, 1) !important;
}

.gx-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -12px rgba(91, 108, 255, 1) !important;
}

.gx-btn-ghost {
  background: #fff !important;
  color: var(--gx-ink-2) !important;
  border-color: var(--gx-line) !important;
}

.gx-btn-ghost:hover {
  color: var(--gx-brand) !important;
  border-color: rgba(91, 108, 255, .45) !important;
  background: rgba(91, 108, 255, .05) !important;
}

.gx-btn-sm {
  height: 32px;
  padding: 0 14px;
  font-size: 12px;
  border-radius: 10px;
}

/* ---------- 等级徽章（覆盖旧 grade-badge） ---------- */
.grade-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 5px 13px !important;
  border-bottom-left-radius: 14px !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 12px !important;
  letter-spacing: .5px;
  z-index: 10;
  box-shadow: -2px 3px 10px -4px rgba(13, 20, 36, .5) !important;
}

.grade-s,
.bg-s {
  background: linear-gradient(135deg, #8b5cf6, #c04df9) !important;
}

.grade-a,
.bg-a {
  background: linear-gradient(135deg, #fb923c, #f43f5e) !important;
}

.grade-b,
.bg-b {
  background: linear-gradient(135deg, #34d399, #059669) !important;
}

.grade-c,
.bg-c {
  background: linear-gradient(135deg, #38bdf8, #2563eb) !important;
}

.grade-d,
.bg-d {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8) !important;
}

.grade-l,
.bg-l {
  background: linear-gradient(135deg, #22d3ee, #0891b2) !important;
}

.gx-grade-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 3px 9px;
  border-radius: 8px;
  color: #fff !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;
}

/* ---------- 表单控件 ---------- */
.gx-input,
.gx-select {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px !important;
  border: 1px solid var(--gx-line) !important;
  background: #f7f8fd !important;
  font-size: 13px;
  color: var(--gx-ink) !important;
  outline: none !important;
  transition: all .2s;
  font-family: inherit;
}

.gx-input:focus,
.gx-select:focus {
  border-color: rgba(91, 108, 255, .55) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(91, 108, 255, .12) !important;
}

.gx-select {
  cursor: pointer;
  padding-right: 32px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a1b8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center !important;
  background-size: 14px;
}

/* ---------- 筛选胶囊 ---------- */
.gx-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  border-radius: 11px;
  font-size: 12.5px;
  font-weight: 800;
  border: 1px solid var(--gx-line) !important;
  background: #fff !important;
  color: var(--gx-ink-2) !important;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}

.gx-chip:hover {
  border-color: rgba(91, 108, 255, .4) !important;
  color: var(--gx-brand) !important;
  transform: translateY(-1px);
}

.gx-chip.on {
  background: var(--gx-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px -10px rgba(91, 108, 255, 1) !important;
}

.gx-chip .n {
  opacity: .6;
  font-size: 11px;
}

/* ---------- 赛车卡片 ---------- */
.gx-car {
  position: relative;
  overflow: hidden;
  background: #fff !important;
  border: 1px solid var(--gx-line) !important;
  border-radius: var(--gx-r) !important;
  box-shadow: var(--gx-shadow) !important;
  padding: 16px;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s, border-color .28s;
}

.gx-car:hover {
  transform: translateY(-4px);
  box-shadow: var(--gx-shadow-lg) !important;
  border-color: rgba(91, 108, 255, .28) !important;
}

.gx-car-thumb {
  width: 104px;
  height: 86px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(150deg, #f7f8ff, #eef1fb) !important;
  border: 1px solid var(--gx-line) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  overflow: hidden;
}

.gx-car-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.gx-car:hover .gx-car-thumb img {
  transform: scale(1.08);
}

.gx-car-name {
  font-size: 16px;
  font-weight: 900;
  color: var(--gx-ink);
  margin: 0 0 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gx-meta {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
}

.gx-meta i {
  font-style: normal;
  color: var(--gx-ink-3);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
}

.gx-meta b {
  font-weight: 900;
  color: var(--gx-ink);
  font-size: 12.5px;
  letter-spacing: .1px;
}

.gx-car-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--gx-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gx-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 800;
  color: var(--gx-brand) !important;
  background: rgba(91, 108, 255, .09) !important;
  border: 1px solid rgba(91, 108, 255, .14) !important;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all .2s;
}

.gx-link:hover {
  background: var(--gx-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
}

/* ---------- 工具卡（首页） ---------- */
.gx-tool {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 20px;
  border-radius: var(--gx-r) !important;
  background: #fff !important;
  border: 1px solid var(--gx-line) !important;
  box-shadow: var(--gx-shadow) !important;
  text-decoration: none !important;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .3s;
}

.gx-tool:hover {
  transform: translateY(-5px);
  box-shadow: var(--gx-shadow-lg) !important;
  border-color: rgba(91, 108, 255, .3) !important;
}

.gx-tool::before {
  content: '';
  position: absolute;
  right: -34px;
  top: -34px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--tool-c, rgba(91, 108, 255, .12));
  filter: blur(28px);
  opacity: .5;
  transition: opacity .35s, transform .5s;
}

.gx-tool:hover::before {
  opacity: .95;
  transform: scale(1.25);
}

.gx-tool-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  color: #fff;
  box-shadow: 0 10px 22px -10px var(--tool-s, rgba(91, 108, 255, .9));
}

.gx-tool-icon svg {
  width: 21px;
  height: 21px;
}

.gx-tool h3 {
  position: relative;
  font-size: 15px;
  font-weight: 900;
  color: var(--gx-ink);
  margin: 0 0 6px;
  transition: color .2s;
}

.gx-tool p {
  position: relative;
  font-size: 12px;
  line-height: 1.65;
  color: var(--gx-ink-3);
  margin: 0;
}

/* ---------- 数据卡 ---------- */
.gx-stat {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border-radius: 14px !important;
  background: linear-gradient(160deg, #fbfcff, #f3f5fd) !important;
  border: 1px solid var(--gx-line) !important;
}

.gx-stat::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -26px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--stat-c, rgba(91, 108, 255, .13));
  filter: blur(20px);
}

.gx-stat b {
  display: block;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -.5px;
  color: var(--gx-ink);
  line-height: 1.1;
}

.gx-stat b em {
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--gx-ink-3);
  margin-left: 3px;
}

.gx-stat span {
  position: relative;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gx-ink-3);
}

/* ---------- 首页 Hero ---------- */
.gx-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--gx-r-lg) !important;
  background: var(--gx-grad) !important;
  border: none !important;
  padding: 34px 38px;
  color: #fff;
  box-shadow: 0 26px 60px -28px rgba(91, 108, 255, .95) !important;
}

.gx-hero::after {
  content: '';
  position: absolute;
  right: -60px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 68%);
  pointer-events: none;
}

.gx-hero::before {
  content: '';
  position: absolute;
  left: -40px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, .38), transparent 70%);
  pointer-events: none;
}

.gx-hero h1 {
  position: relative;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}

.gx-hero p {
  position: relative;
  font-size: 13.5px;
  opacity: .92;
  margin: 0 0 20px;
  max-width: 620px;
  line-height: 1.7;
}

.gx-hero-stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gx-hero-stat {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .26);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 11px 20px;
  min-width: 104px;
}

.gx-hero-stat b {
  display: block;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
}

.gx-hero-stat span {
  font-size: 11px;
  opacity: .85;
  font-weight: 700;
}

/* ---------- 表格 / 列表 ---------- */
.gx-thead {
  display: grid;
  padding: 12px 18px;
  background: linear-gradient(180deg, #fafbff, #f4f6fc) !important;
  border-bottom: 1px solid var(--gx-line) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--gx-ink-3);
}

.gx-row {
  display: grid;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--gx-line) !important;
  transition: background .18s;
}

.gx-row:last-child {
  border-bottom: none !important;
}

.gx-row:hover {
  background: rgba(91, 108, 255, .045) !important;
}

.gx-val-good {
  color: #059669 !important;
}

.gx-val-bad {
  color: #f43f5e !important;
}

.gx-val-eq {
  color: var(--gx-ink) !important;
}

.gx-vs-grid {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .gx-vs-grid {
    grid-template-columns: 1fr;
  }

  .gx-vs-grid>*:nth-child(2) {
    height: 54px;
  }
}

/* ---------- 数据网格（详情页） ---------- */
.data-grid-item {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 22px !important;
  border-bottom: 1px solid var(--gx-line) !important;
  transition: background .18s;
}

.data-grid-item:hover {
  background: rgba(91, 108, 255, .04) !important;
}

.data-grid-item>span:first-child {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--gx-ink-3) !important;
}

.data-grid-item>span:last-child {
  font-size: 14px;
  font-weight: 900 !important;
  color: var(--gx-ink) !important;
  text-align: right;
}

/* ---------- 提示条 ---------- */
.gx-note {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 13px !important;
  background: rgba(91, 108, 255, .06) !important;
  border: 1px solid rgba(91, 108, 255, .13) !important;
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* ---------- 分页 ---------- */
.gx-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 11px;
  border-radius: 11px;
  border: 1px solid var(--gx-line) !important;
  background: #fff !important;
  color: var(--gx-ink-2) !important;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all .2s;
}

.gx-page:hover:not(:disabled) {
  border-color: rgba(91, 108, 255, .45) !important;
  color: var(--gx-brand) !important;
}

.gx-page.on {
  background: var(--gx-grad) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 8px 18px -10px rgba(91, 108, 255, 1) !important;
}

.gx-page:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ---------- 弹窗 ---------- */
.gx-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(13, 20, 36, .55) !important;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.gx-modal {
  background: #fff !important;
  border-radius: var(--gx-r-lg) !important;
  box-shadow: 0 40px 90px -30px rgba(13, 20, 36, .6) !important;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: gxPop .28s cubic-bezier(.22, 1, .36, 1);
}

@keyframes gxPop {
  from {
    opacity: 0;
    transform: scale(.94) translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.gx-modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gx-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.gx-modal-head h2 {
  font-size: 17px;
  font-weight: 900;
  color: var(--gx-ink);
  margin: 0;
}

.gx-x {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none !important;
  background: rgba(15, 23, 42, .05) !important;
  color: var(--gx-ink-3);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}

.gx-x:hover {
  background: rgba(244, 63, 94, .1) !important;
  color: var(--gx-danger);
}

/* ---------- 宠物卡片 ---------- */
.gx-pet {
  position: relative;
  background: #fff !important;
  border: 1px solid var(--gx-line) !important;
  border-radius: var(--gx-r) !important;
  box-shadow: var(--gx-shadow) !important;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s, border-color .3s;
}

.gx-pet:hover {
  transform: translateY(-6px);
  box-shadow: var(--gx-shadow-lg) !important;
  border-color: rgba(139, 92, 246, .3) !important;
}

.gx-pet-img {
  height: 168px;
  border-radius: 14px;
  background: linear-gradient(155deg, #f8f9ff, #eef1fb) !important;
  border: 1px solid var(--gx-line) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 13px;
  overflow: hidden;
}

.gx-pet-img img {
  max-width: 138px;
  max-height: 138px;
  object-fit: contain;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.gx-pet:hover .gx-pet-img img {
  transform: scale(1.1);
}

.gx-pet-name {
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  color: var(--gx-ink);
  margin: 0 0 4px;
}

.gx-pet-power {
  text-align: center;
  font-size: 12.5px;
  font-weight: 900;
  color: #f59e0b !important;
  margin-bottom: 12px;
}

.gx-pet-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10.5px;
  font-weight: 900;
  padding: 4px 12px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(135deg, #5b6cff, #8b5cf6) !important;
  box-shadow: 0 6px 14px -6px rgba(91, 108, 255, .9);
}

.gx-pet-tag.off {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8) !important;
  box-shadow: none;
}

.gx-attr {
  font-size: 11.5px;
  line-height: 1.75;
  padding: 10px 12px;
  border-radius: 12px !important;
  margin-top: 8px;
}

.gx-attr em {
  display: block;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: .6px;
  opacity: .65;
  margin-bottom: 2px;
}

.gx-attr span {
  display: block;
  border-bottom: 1px dashed rgba(15, 23, 42, .07);
}

.gx-attr span:last-child {
  border-bottom: none;
}

.gx-attr.base {
  background: rgba(91, 108, 255, .07) !important;
  color: #3b4a8f !important;
}

.gx-attr.strong {
  background: rgba(245, 158, 11, .09) !important;
  color: #a2640a !important;
}

/* ---------- 后台 ---------- */
.gx-admin-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.gx-admin-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media (min-width: 1024px) {
  .gx-admin-shell {
    flex-direction: row;
  }
}

.gx-side {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .gx-side {
    width: 216px;
  }
}

.gx-side-box {
  position: sticky;
  top: 86px;
  background: #fff !important;
  border: 1px solid var(--gx-line) !important;
  border-radius: var(--gx-r) !important;
  box-shadow: var(--gx-shadow) !important;
  padding: 12px;
}

.gx-side-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: none !important;
  background: transparent !important;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--gx-ink-2) !important;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
  font-family: inherit;
}

.gx-side-item:hover {
  background: rgba(91, 108, 255, .07) !important;
  color: var(--gx-brand) !important;
}

.gx-side-item.on {
  background: var(--gx-grad) !important;
  color: #fff !important;
  box-shadow: 0 10px 20px -12px rgba(91, 108, 255, 1) !important;
}

.gx-admin-card {
  background: #fff !important;
  border: 1px solid var(--gx-line) !important;
  border-radius: var(--gx-r) !important;
  box-shadow: var(--gx-shadow) !important;
  overflow: hidden;
}

.gx-admin-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gx-line);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.gx-label {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gx-ink-3);
  margin-bottom: 6px;
}

.gx-field {
  width: 100%;
  height: 40px;
  padding: 0 13px;
  border-radius: 11px !important;
  border: 1px solid var(--gx-line) !important;
  background: #f7f8fd !important;
  font-size: 13px;
  color: var(--gx-ink) !important;
  outline: none !important;
  font-family: inherit;
  transition: all .2s;
}

.gx-field:focus {
  border-color: rgba(91, 108, 255, .55) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(91, 108, 255, .12) !important;
}

textarea.gx-field {
  height: auto;
  padding: 10px 13px;
  line-height: 1.6;
  resize: vertical;
}

.gx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.gx-table th {
  text-align: left;
  padding: 12px 16px;
  background: linear-gradient(180deg, #fafbff, #f4f6fc) !important;
  border-bottom: 1px solid var(--gx-line) !important;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .8px;
  color: var(--gx-ink-3);
  white-space: nowrap;
}

.gx-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gx-line) !important;
  color: var(--gx-ink-2);
  vertical-align: middle;
}

.gx-table tr:last-child td {
  border-bottom: none !important;
}

.gx-table tbody tr:hover td {
  background: rgba(91, 108, 255, .04) !important;
}

.gx-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 11px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 800;
  border: 1px solid var(--gx-line) !important;
  background: #fff !important;
  color: var(--gx-ink-2) !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: all .2s;
  font-family: inherit;
}

.gx-mini:hover {
  border-color: rgba(91, 108, 255, .5) !important;
  color: var(--gx-brand) !important;
  background: rgba(91, 108, 255, .06) !important;
}

.gx-mini.danger:hover {
  border-color: rgba(244, 63, 94, .5) !important;
  color: var(--gx-danger) !important;
  background: rgba(244, 63, 94, .07) !important;
}

/* ---------- 页脚 ---------- */
.gx-footer {
  margin-top: 56px;
  background: #fff !important;
  border-top: 1px solid var(--gx-line) !important;
}

.gx-footer-in {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px 26px;
}

.gx-footer a {
  color: var(--gx-ink-2) !important;
  text-decoration: none !important;
  transition: color .2s;
  font-weight: 800;
  font-size: 13px;
}

.gx-footer a:hover {
  color: var(--gx-brand) !important;
}

/* ---------- 滚动条 ---------- */
.gx-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.gx-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.gx-scroll::-webkit-scrollbar-thumb {
  background: rgba(91, 108, 255, .22);
  border-radius: 10px;
}

.gx-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(91, 108, 255, .4);
}

/* ---------- 空状态 ---------- */
.gx-empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--gx-ink-3);
  font-size: 13.5px;
}

.gx-empty .ico {
  font-size: 44px;
  margin-bottom: 12px;
  opacity: .8;
}

/* ---------- 加载 ---------- */
.gx-loading {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gx-ink-3);
  font-size: 13px;
}

.gx-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gx-brand);
  animation: gxBounce 1s infinite ease-in-out;
}

.gx-dot:nth-child(2) {
  animation-delay: .15s;
}

.gx-dot:nth-child(3) {
  animation-delay: .3s;
}

@keyframes gxBounce {

  0%,
  80%,
  100% {
    transform: scale(.5);
    opacity: .4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.gx-detail {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.gx-detail>aside {
  width: 100%;
  max-width: 300px;
}

.gx-detail>article {
  flex: 1;
  min-width: 0;
  width: 100%;
}

@media (min-width: 1024px) {
  .gx-detail {
    flex-direction: row;
  }

  .gx-detail>aside {
    width: 290px;
    max-width: 290px;
    flex-shrink: 0;
  }
}

/* ---------- 移动端 ---------- */
@media (max-width: 1180px) {
  .gx-search {
    width: 160px;
  }
}

@media (max-width: 1023px) {
  .gx-menu {
    display: none;
  }

  .gx-search {
    display: none;
  }

  .gx-burger {
    display: flex;
  }
}

/* 移动端抽屉 */
.gx-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 20, 36, .5) !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.gx-drawer.open {
  opacity: 1;
  pointer-events: auto;
}

.gx-drawer-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  background: #fff !important;
  padding: 22px;
  transform: translateX(-100%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 20px 0 60px -20px rgba(13, 20, 36, .5);
  overflow-y: auto;
}

.gx-drawer.open .gx-drawer-panel {
  transform: none;
}

.gx-drawer a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  color: var(--gx-ink-2) !important;
  text-decoration: none !important;
  margin-bottom: 4px;
}

.gx-drawer a:hover {
  background: rgba(91, 108, 255, .08) !important;
  color: var(--gx-brand) !important;
}


/* ---------- 移动端细化 ---------- */
.gx-nav-in {
  padding: 0 16px;
}

img {
  max-width: 100%;
}

@media (max-width: 640px) {
  .gx-wrap {
    padding: 0 14px;
  }

  .gx-nav-in {
    height: 60px;
    padding: 0 14px;
  }

  .gx-hero {
    padding: 24px 20px;
    border-radius: 20px !important;
  }

  .gx-hero h1 {
    font-size: 20px;
    letter-spacing: .3px;
  }

  .gx-hero p {
    font-size: 12.5px;
    margin-bottom: 16px;
  }

  .gx-hero-stats {
    gap: 8px;
  }

  .gx-hero-stat {
    padding: 9px 14px;
    min-width: 78px;
    flex: 1;
  }

  .gx-hero-stat b {
    font-size: 18px;
  }

  .gx-car {
    padding: 14px;
  }

  .gx-car-thumb {
    width: 92px;
    height: 78px;
  }

  .gx-pet-img {
    height: 150px;
  }

  .gx-sec h2 {
    font-size: 17px;
  }

  .data-grid-item {
    padding: 11px 16px !important;
  }

  .gx-modal {
    max-height: 92vh;
  }

  .gx-mask {
    padding: 12px;
  }

  .gx-detail>aside {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .gx-car-thumb {
    width: 82px;
    height: 70px;
  }

  .gx-meta b {
    font-size: 11.5px;
  }
}
