/* =========================================================
   我的车辆 WoDeCheLiang
   车主中心 / 车辆切换 / 电量卡 / 数据网格 / 状态 / 定位
   ========================================================= */

/* ---------- 车主中心 ---------- */
.CheZhu_YingXiong {
  position: relative;
  overflow: hidden;
  padding: calc(var(--DaoHang_GaoDu) + clamp(56px, 8vw, 104px)) 0 clamp(44px, 5vw, 64px);
  background:
    radial-gradient(760px 420px at 82% 6%, rgba(58, 106, 166, .24), transparent 70%),
    linear-gradient(180deg, #070c13, #05080d 78%);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

/* 网格底纹 */
.CheZhu_YingXiong::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    linear-gradient(rgba(168, 200, 238, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 200, 238, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(78% 82% at 50% 22%, #000 12%, transparent 78%);
  mask-image: radial-gradient(78% 82% at 50% 22%, #000 12%, transparent 78%);
}

.CheZhu_YingXiong .KuaiRong { position: relative; z-index: 1; }

.CheZhu_DaBiao {
  font-size: clamp(38px, 6.6vw, 76px);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: .02em;
  margin: 16px 0 0;
  color: #fbfdff;
  text-shadow: 0 26px 60px rgba(0, 0, 0, .5);
}

.CheZhu_YingXiong p {
  max-width: 46em;
  font-size: 14px;
  line-height: 1.85;
}

/* ---------- 车辆切换（胶囊分段控件） ---------- */
.CheLiang_XuanZe {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 34px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  background: rgba(10, 16, 23, .62);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 46px -32px #000, 0 1px 0 rgba(255, 255, 255, .05) inset;
}

.CheLiang_XuanZe button {
  min-width: 108px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--CiYao_WenBen);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .35s, background .35s, border-color .35s, box-shadow .35s;
}
.CheLiang_XuanZe button:hover { color: var(--WenBen_YanSe); background: rgba(255, 255, 255, .05); }
.CheLiang_XuanZe button.DangQian {
  color: #05080d;
  border-color: rgba(255, 255, 255, .5);
  background: linear-gradient(180deg, #eef4fb, #c9d9ea);
  box-shadow: 0 10px 26px -14px rgba(168, 200, 238, .8), 0 1px 0 #fff inset;
}

/* ---------- 车辆状态主体 ---------- */
.CheLiang_ZhuangTai {
  display: grid;
  grid-template-columns: 1.38fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.CheLiang_ZhuKa,
.ZhuangTai_KaPian {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: var(--YuanJiao);
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012));
  box-shadow: 0 36px 80px -62px #000, 0 1px 0 rgba(255, 255, 255, .05) inset;
}

.CheLiang_ZhuKa {
  display: flex;
  flex-direction: column;
  padding: 30px 32px 30px;
}
.CheLiang_ZhuKa::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -14%;
  width: 76%;
  height: 130%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(96, 148, 210, .22), transparent 72%);
}
.CheLiang_ZhuKa > * { position: relative; }

/* 车辆图外框：α 是白底棚拍（浅色图板），β 是透明底（暗色光斑舞台），切换车辆时只换图不改结构 */
.CheLiang_TuPian_Qu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 16 / 9;
  margin: 14px auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f7fa;
  box-shadow:
    0 26px 60px -34px rgba(0, 0, 0, .95),
    0 0 0 1px rgba(255, 255, 255, .1),
    0 0 60px -18px rgba(150, 190, 235, .35);
  transition: background .55s var(--HuanDong), box-shadow .55s var(--HuanDong);
}
.CheLiang_TuPian_Qu.TouMing {
  background: radial-gradient(74% 80% at 50% 60%, rgba(120, 170, 225, .16), rgba(120, 170, 225, 0) 70%);
  box-shadow: none;
}

.CheLiang_TuPian_Qu img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(.96) contrast(1.03);
  transition: transform .55s var(--HuanDong), filter .55s, opacity .22s ease;
}
.CheLiang_TuPian_Qu.TouMing img {
  filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .55)) saturate(1) contrast(1.04);
  transform: scale(1.02);
}
.CheLiang_TuPian_Qu img.QieHuan_Zhong {
  opacity: 0;
  transform: translateY(8px);
}
.CheLiang_ZhuKa:hover .CheLiang_TuPian_Qu img { transform: scale(1.02); }
.CheLiang_ZhuKa:hover .CheLiang_TuPian_Qu.TouMing img { transform: scale(1.045); }
.CheLiang_ZhuKa:hover .CheLiang_TuPian_Qu {
  box-shadow:
    0 32px 70px -34px rgba(0, 0, 0, 1),
    0 0 0 1px rgba(255, 255, 255, .16),
    0 0 74px -14px rgba(150, 190, 235, .45);
}

/* 在线状态小点 */
.CheLiang_ZhuKa .XiaoBiao + .XiaoBiao,
.CheLiang_ZhuKa [data-zhuangtai="zaixian"] { color: #9fd4b4; }
.CheLiang_ZhuKa [data-zhuangtai="zaixian"]::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #6fd69b;
  box-shadow: 0 0 0 4px rgba(111, 214, 155, .14), 0 0 12px rgba(111, 214, 155, .8);
  animation: ZaiXian_Dian 2.4s ease-in-out infinite;
}
@keyframes ZaiXian_Dian {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 4px rgba(111, 214, 155, .14), 0 0 12px rgba(111, 214, 155, .8); }
  50% { opacity: .45; box-shadow: 0 0 0 8px rgba(111, 214, 155, 0), 0 0 4px rgba(111, 214, 155, .3); }
}

/* ---------- 电量卡 ---------- */
.ZhuangTai_KaPian {
  display: flex;
  flex-direction: column;
  padding: 30px 32px;
}

.DianLiang_DaShu {
  margin: 12px 0 22px;
  font-size: clamp(52px, 6.4vw, 78px);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(168deg, #ffffff 6%, #a8c8ee 52%, #5f86b4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #e8f1fb;
}

.DianLiang_Tiao {
  position: relative;
  height: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 20px),
    rgba(255, 255, 255, .07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset;
}
.DianLiang_Tiao > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6f9fd8, #a8c8ee 62%, #e6f1ff);
  box-shadow: 0 0 14px rgba(168, 200, 238, .7);
  transition: width .9s var(--HuanDong);
}
.DianLiang_Tiao > span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85), transparent);
  transform: translateX(-100%);
  animation: DianLiang_Liu 2.6s var(--HuanDong) infinite;
  mix-blend-mode: overlay;
}
@keyframes DianLiang_Liu {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(220%); }
}

/* ---------- 数据网格 ---------- */
.ShuJu_WangGe {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.ShuJu_KaPian {
  position: relative;
  overflow: hidden;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--YuanJiao_Xiao);
  background: linear-gradient(160deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
  transition: transform .5s var(--HuanDong), border-color .4s, background .4s;
}
.ShuJu_KaPian::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  top: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(168, 200, 238, .5), transparent);
  opacity: 0;
  transition: opacity .4s;
}
.ShuJu_KaPian:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 200, 238, .22);
  background: linear-gradient(160deg, rgba(168, 200, 238, .07), rgba(255, 255, 255, .012));
}
.ShuJu_KaPian:hover::after { opacity: 1; }
.ShuJu_KaPian span {
  display: block;
  margin-bottom: 10px;
  color: var(--DanSe_YanSe);
  font-size: 11px;
  letter-spacing: .18em;
}
.ShuJu_KaPian strong {
  display: block;
  color: var(--WenBen_YanSe);
  font-size: clamp(20px, 2.1vw, 26px);
  font-weight: 300;
  letter-spacing: .01em;
  font-variant-numeric: tabular-nums;
}

/* ---------- 车辆状态 ---------- */
.ZhuangTai_WangGe {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ZhuangTai_XiangMu {
  position: relative;
  padding: 26px 24px 24px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--YuanJiao_Xiao);
  background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .008));
  transition: border-color .4s, background .4s;
}
.ZhuangTai_XiangMu:hover {
  border-color: rgba(168, 200, 238, .2);
  background: linear-gradient(160deg, rgba(168, 200, 238, .06), rgba(255, 255, 255, .01));
}
.ZhuangTai_XiangMu span {
  display: block;
  margin-bottom: 14px;
  color: var(--DanSe_YanSe);
  font-size: 11px;
  letter-spacing: .16em;
}
.ZhuangTai_XiangMu strong {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--WenBen_YanSe);
  font-size: 17px;
  font-weight: 400;
}
.ZhuangTai_XiangMu strong::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8fc0f0;
  box-shadow: 0 0 10px rgba(143, 192, 240, .9);
}

/* ---------- 定位 ---------- */
.CheLiang_DiTu {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 40px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--YuanJiao);
  text-align: center;
  background:
    radial-gradient(60% 90% at 50% 50%, rgba(52, 96, 150, .2), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .005));
}
/* 定位脉冲环 */
.CheLiang_DiTu::before,
.CheLiang_DiTu::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border: 1px solid rgba(168, 200, 238, .3);
  border-radius: 50%;
  pointer-events: none;
  animation: DingWei_Huan 3.4s var(--HuanDong) infinite;
}
.CheLiang_DiTu::after { animation-delay: 1.7s; }
@keyframes DingWei_Huan {
  0% { transform: scale(.55); opacity: 0; }
  30% { opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}

.CheLiang_DiTu > div { position: relative; z-index: 1; }
.CheLiang_DiTu strong {
  display: block;
  margin-bottom: 10px;
  color: var(--WenBen_YanSe);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .04em;
}
.CheLiang_DiTu p { color: var(--DanSe_YanSe); line-height: 1.8; }

/* ---------- 备注 ---------- */
.ShuJu_BeiZhu {
  max-width: 78ch;
  margin: 44px 0 0;
  padding-left: 16px;
  border-left: 1px solid rgba(168, 200, 238, .28);
  color: #64768b;
  font-size: 12px;
  line-height: 1.95;
}

/* ---------- 卡片内部排版 ---------- */
.CheZhu_ZhuTi { padding: clamp(28px, 4vw, 44px) 0 clamp(64px, 8vw, 96px); }

.CheLiang_KaTou {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.CheLiang_MingCheng {
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: .03em;
  margin: 6px 0;
  color: var(--WenBen_YanSe);
}

.CheLiang_BianHao {
  color: var(--CiYao_WenBen);
  font-size: 12px;
  letter-spacing: .18em;
  font-variant-numeric: tabular-nums;
}

.CheLiang_ZaiXian { white-space: nowrap; }

.DianLiang_XiangQing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--CiYao_WenBen);
  font-size: 12px;
  letter-spacing: .08em;
}
.DianLiang_XiangQing strong {
  color: var(--WenBen_YanSe);
  font-weight: 400;
  font-size: 14px;
}

.DianLiang_BeiZhu {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: #74869a;
  font-size: 11px;
  line-height: 1.8;
  letter-spacing: .04em;
}

.CheZhu_Duan { padding-bottom: clamp(30px, 3.4vw, 42px); }
.CheZhu_DingWei_Qu { padding-top: clamp(18px, 2.4vw, 28px); }

.CheZhu_FenBiao {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  letter-spacing: .04em;
  margin: 8px 0 clamp(18px, 2vw, 26px);
}

.CheLiang_DiTu_Zhu {
  margin: 8px 0 0;
  color: var(--DanSe_YanSe);
  font-size: 11px;
}

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

@media (max-width: 620px) {
  .CheLiang_XuanZe { display: flex; border-radius: 18px; }
  .CheLiang_XuanZe button { flex: 1 1 46%; min-width: 0; }
  .CheLiang_ZhuKa { padding: 24px 22px 0; }
  .ZhuangTai_KaPian { padding: 24px 22px; }
  .ShuJu_WangGe { grid-template-columns: 1fr; }
  .ZhuangTai_WangGe { grid-template-columns: 1fr; }
  .CheLiang_DiTu { padding: 30px 20px; }
  .CheLiang_DiTu::before,
  .CheLiang_DiTu::after { width: 140px; height: 140px; margin: -70px 0 0 -70px; }
}
