/* ============================================================
   星云互联 · 订购产品页（goodsList）整体重构美化 v2
   白色高级基调 × 蓝青渐变点缀，覆盖并增强 goodsList.css
   ============================================================ */

/* ---------- 页面容器 ---------- */
.el-main {
  background: linear-gradient(180deg, #f6f9fe 0%, #eef3fb 60%, #eaf0f9 100%) !important;
}
.main-card {
  background: transparent !important;
  box-shadow: none !important;
}
.main-card-title .title-text {
  color: #1e2b4f !important;
  font-weight: 700;
  position: relative;
  padding-left: 0.14rem;
}
.main-card-title .title-text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.04rem;
  height: 0.16rem;
  border-radius: 0.02rem;
  background: linear-gradient(180deg, #2FA6FF, #7c6ff0);
}

/* ---------- 一级分类：白卡容器 + 渐变滑块 ---------- */
.category-nav {
  background: #ffffff;
  border: 1px solid #eef1f8;
  border-radius: 0.18rem;
  box-shadow: 0 0.08rem 0.3rem rgba(31, 45, 90, 0.06);
  padding: 0.14rem 0.18rem;
  margin-bottom: 0.22rem;
}
.category-first-list {
  background: #f6f8fd !important;
  border-radius: 0.14rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 0.1rem !important;
}
.category-slider {
  background: linear-gradient(135deg, #2FA6FF 0%, #6d5ef0 100%) !important;
  box-shadow: 0 0.05rem 0.16rem rgba(47, 166, 255, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
}
.category-first-item {
  height: 0.46rem !important;
  border-radius: 0.1rem !important;
  font-weight: 500;
  color: #5a6278;
}
.category-first-item:hover {
  color: #2FA6FF !important;
  background: rgba(47, 166, 255, 0.07) !important;
}
.category-first-item.is-active {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(20, 60, 140, 0.25);
}
.category-first-item img.category-first-icon:not(.is-flag-icon):not(.is-region-icon) {
  filter: brightness(0) saturate(0) opacity(0.5);
}
.category-first-item.is-active img.category-first-icon:not(.is-flag-icon):not(.is-region-icon) {
  filter: brightness(0) invert(1);
}
.category-first-icon.is-flag-icon {
  border-radius: 0.04rem;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.10);
}

/* ---------- 二级分类：白卡图标项 ---------- */
.category-second-row {
  margin-top: 0.16rem !important;
  padding-top: 0.16rem;
  border-top: 1px dashed #e6ebf5;
}
.category-second-label {
  color: #5b6e96 !important;
  font-size: 13px !important;
  line-height: 1.45;
  font-weight: 600;
}
.category-second-label i {
  color: #2FA6FF !important;
}
.category-second-list {
  gap: 0.12rem !important;
}
.category-second-item {
  background: #f7f9fd !important;
  border: 1px solid #eef1f8 !important;
  border-radius: 0.12rem !important;
  padding: 0.1rem 0.16rem !important;
  transition: all 0.25s ease !important;
}
.category-second-item:hover {
  background: #ffffff !important;
  border-color: rgba(47, 166, 255, 0.45) !important;
  box-shadow: 0 0.06rem 0.18rem rgba(47, 166, 255, 0.12) !important;
  transform: translateY(-2px);
}
.category-second-item.is-active {
  background: linear-gradient(135deg, rgba(47, 166, 255, 0.08), rgba(109, 94, 240, 0.08)) !important;
  border-color: rgba(47, 166, 255, 0.55) !important;
  box-shadow: 0 0.06rem 0.18rem rgba(47, 166, 255, 0.16) !important;
}
.category-second-item.is-active .category-second-title {
  color: #1e5ef0 !important;
}
.category-second-icon {
  width: 0.34rem !important;
  height: 0.34rem !important;
  border-radius: 0.09rem;
  background: #ffffff;
  padding: 0.05rem;
  box-shadow: 0 0.03rem 0.1rem rgba(31, 45, 90, 0.08);
  object-fit: contain;
}
.category-second-item.is-active .category-second-icon {
  box-shadow: 0 0.04rem 0.12rem rgba(47, 166, 255, 0.25);
}
.category-second-description {
  margin-top: 0.14rem !important;
  background: #f7f9fd;
  border: 1px solid #eef1f8;
  border-radius: 0.12rem;
}
.category-second-description-body {
  padding: 0.12rem 0.18rem !important;
}
.category-second-description-kicker {
  color: #2FA6FF !important;
}
.category-second-description-name {
  color: #1e2b4f !important;
  font-weight: 700;
}
.category-second-description-content {
  color: #66708c !important;
}

/* ---------- 商品卡片：聚合卡（系列卡） ---------- */
.goods-list-div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(3.55rem, 1fr));
  gap: 0.26rem;
  padding: 0.06rem 0.02rem 0.2rem;
}
.xy-series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff !important;
  border: 1px solid #eef1f8 !important;
  border-radius: 0.2rem !important;
  padding: 0.26rem 0.26rem 0.24rem !important;
  box-shadow: 0 0.08rem 0.3rem rgba(31, 45, 90, 0.06) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
  overflow: hidden;
}
.xy-series-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.03rem;
  background: linear-gradient(90deg, #2FA6FF 0%, #7c6ff0 60%, #b0a6ff 100%);
  z-index: 2;
}
.xy-series-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.18rem 0.4rem rgba(31, 45, 90, 0.12) !important;
  border-color: rgba(47, 166, 255, 0.4) !important;
}
.xy-series-card:hover::before {
  background: linear-gradient(90deg, #2FA6FF, #6d5ef0 50%, #2FA6FF);
}

/* 卡内顶部：名称 + 徽章 */
.xy-series-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.12rem;
  margin-bottom: 0.12rem;
}
.xy-series-name {
  font-size: 0.2rem;
  font-weight: 700;
  color: #1e2b4f;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
  word-break: break-all;
}
.xy-series-name.sold-out {
  color: #9aa3b8;
}
.xy-series-badge {
  background: rgba(47, 166, 255, 0.10) !important;
  color: #2FA6FF !important;
  border-color: rgba(47, 166, 255, 0.28) !important;
}

/* 标签 */
.xy-series-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.06rem;
  margin-bottom: 0.12rem;
}
.xy-tag {
  font-size: 0.12rem;
  color: #4a587c;
  background: #f2f6ff;
  border: 1px solid #e3ebfb;
  padding: 0.015rem 0.1rem;
  border-radius: 0.06rem;
  white-space: nowrap;
}

/* 卖点列表 */
.xy-series-points {
  margin: 0 0 0.12rem !important;
  padding: 0 !important;
  list-style: none !important;
}
.xy-series-points li {
  position: relative;
  padding-left: 0.18rem;
  font-size: 0.13rem;
  color: #66708c;
  line-height: 1.7;
  margin-bottom: 0.02rem;
}
.xy-series-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.12rem;
  width: 0.07rem;
  height: 0.07rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2FA6FF, #7c6ff0);
  box-shadow: 0 0 0.04rem rgba(47, 166, 255, 0.35);
}

/* 适用场景 */
.xy-series-scene {
  font-size: 0.12rem;
  color: #5F6D88;
  background: #f7f9fd;
  border: 1px solid #eef1f8;
  border-radius: 0.08rem;
  padding: 0.06rem 0.1rem;
  margin-bottom: 0.16rem;
}

/* 底部：价格 + 按钮 */
.xy-series-bottom {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.08rem;
  margin-top: auto;
  padding-top: 0.14rem;
  border-top: 1px dashed #e8edf6;
}
.xy-series-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  min-width: 0;
}
.xy-series-pl {
  font-size: 0.12rem;
  color: #5F6D88;
  margin-right: 0.04rem;
}
.xy-series-pv {
  font-size: 0.3rem;
  font-weight: 800;
  background: linear-gradient(180deg, #1e2b4f, #2FA6FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.xy-series-cycle {
  font-size: 0.12rem;
  color: #5F6D88;
  margin-left: 0.04rem;
}
.xy-series-perday {
  font-size: 0.12rem;
  color: #a5b1cc;
  margin-left: 0.04rem;
  width: 100%;
}
.xy-series-enter {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.04rem;
  font-size: 0.13rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #2FA6FF, #6d5ef0);
  border-radius: 0.09rem;
  padding: 0.09rem 0.2rem;
  box-shadow: 0 0.06rem 0.16rem rgba(47, 166, 255, 0.28);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.xy-series-enter i {
  font-size: 0.13rem;
  transition: transform 0.25s ease;
}
.xy-series-card:hover .xy-series-enter {
  box-shadow: 0 0.08rem 0.2rem rgba(47, 166, 255, 0.4);
}
.xy-series-card:hover .xy-series-enter i {
  transform: translateX(2px);
}
.xy-series-enter.xy-enter-soldout {
  background: #e3e8f2 !important;
  color: #9aa3b8 !important;
  box-shadow: none !important;
}

/* 单卡（非系列商品） */
.xy-single-card .xy-series-name {
  font-size: 0.18rem;
}

/* 角标 + 会员标签 */
.product-corner-badge {
  background: linear-gradient(135deg, #ff6b35, #ff8f5e) !important;
  color: #fff !important;
  font-weight: 600;
  border-radius: 0.06rem !important;
  box-shadow: 0 0.04rem 0.1rem rgba(255, 107, 53, 0.3) !important;
}
.shopping-item .client-box span {
  background: linear-gradient(135deg, rgba(47, 166, 255, 0.12), rgba(109, 94, 240, 0.12)) !important;
  color: #2FA6FF !important;
  border: 1px solid rgba(47, 166, 255, 0.3) !important;
  border-radius: 0.06rem !important;
  font-weight: 600;
}

/* 售罄整卡灰化 */
.xy-series-card:has(.xy-badge-soldout) {
  background: #fbfcfe !important;
}
.xy-series-card:has(.xy-badge-soldout) .xy-series-points li,
.xy-series-card:has(.xy-badge-soldout) .xy-series-name {
  color: #9aa3b8;
}

/* 骨架 loading 也白卡化 */
.goods-load-error,
.no-goods {
  background: #ffffff;
  border: 1px solid #eef1f8;
  border-radius: 0.16rem;
  padding: 0.5rem 0;
}

/* ---------- 手机端 ---------- */
@media screen and (max-width: 768px) {
  .goods-list-div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
  .category-nav {
    padding: 0.1rem 0.12rem;
    border-radius: 0.14rem;
  }
  .category-first-list {
    gap: 0.08rem;
  }
  .category-first-item {
    min-width: 1rem;
    padding: 0 0.14rem;
    height: 0.42rem !important;
  }
  .category-second-list {
    gap: 0.08rem !important;
  }
  .category-second-item {
    padding: 0.08rem 0.12rem !important;
  }
  .xy-series-card {
    padding: 0.24rem 0.22rem 0.22rem !important;
    border-radius: 0.16rem !important;
  }
  .xy-series-pv {
    font-size: 0.26rem;
  }
  .xy-series-enter {
    padding: 0.08rem 0.16rem;
  }
}
/* ===== 星云 v3：卡片配置参数图标区 ===== */
.xy-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 12px 0 8px;
}
.xy-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #f5f9ff 0%, #eef5ff 100%);
  border: 1px solid #e3edfc;
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 0;
}
.xy-spec-ic {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #2f6fed;
}
.xy-spec-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}
.xy-spec-lbl {
  font-size: 10px;
  color: #8aa2cc;
  white-space: nowrap;
}
.xy-spec-val {
  font-size: 13px;
  font-weight: 700;
  color: #163a7a;
  white-space: nowrap;
}
/* 一级分类 emoji 图标 */
.category-first-emoji {
  font-size: 15px;
  line-height: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.15));
  margin-right: 4px;
}
.category-panel-emoji {
  font-size: 16px;
  line-height: 1;
  margin-right: 6px;
}
/* 弹层 chips：禁用（前置条件未满足）态 */
.xy-sd-chip.is-dim {
  opacity: 0.38;
  cursor: not-allowed;
  background: #f1f3f7;
  border-color: #e5e9f0;
  color: #8a94a8;
}
.xy-sd-chip.is-dim:hover {
  transform: none;
  box-shadow: none;
  background: #f1f3f7;
}


/* ===== 聚合卡配置弹层（星云美化） ===== */
.xy-series-dialog {
  border-radius: 16px;
  overflow: hidden;
  padding: 0 !important;
  background: #fff;
}
.xy-series-dialog .el-dialog__header { display: none; }
.xy-series-dialog .el-dialog__body { padding: 0; }
.xy-sd-head {
  background: linear-gradient(135deg, #4085ff 0%, #2b6bf3 100%);
  padding: 20px 24px 16px;
  color: #fff;
}
.xy-sd-title { font-size: 18px; font-weight: 700; line-height: 1.3; }
.xy-sd-sub { font-size: 12px; opacity: .85; margin-top: 4px; }
.xy-sd-body { padding: 18px 24px 22px; max-height: 66vh; overflow-y: auto; }
.xy-sd-section + .xy-sd-section { margin-top: 16px; }
.xy-sd-sec-title {
  font-size: 13px; font-weight: 600; color: #1f2937;
  margin-bottom: 10px; padding-left: 8px; border-left: 3px solid #4085ff;
}
.xy-sd-row { display: flex; align-items: flex-start; margin-bottom: 12px; }
.xy-sd-lbl { flex: 0 0 48px; font-size: 13px; color: #6b7280; line-height: 30px; }
.xy-sd-val { font-size: 13px; color: #1f2937; line-height: 30px; }
.xy-sd-opts { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.xy-sd-chip {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 30px; padding: 0 14px;
  border-radius: 8px; border: 1px solid #e2e8f0; background: #f8fafc;
  font-size: 13px; color: #334155; cursor: pointer;
  transition: all .18s ease; user-select: none;
}
.xy-sd-chip:hover { border-color: #4085ff; color: #2b6bf3; background: #eef4ff; }
.xy-sd-chip.on {
  border-color: #4085ff;
  background: linear-gradient(135deg, #4085ff, #2b6bf3);
  color: #fff; font-weight: 600;
  box-shadow: 0 2px 8px rgba(43, 107, 243, .3);
}
.xy-sd-chip.is-dim { opacity: .4; cursor: not-allowed; background: #f1f3f7; border-color: #e5e9f0; color: #8a94a8; }
.xy-sd-chip.is-dim:hover { border-color: #e5e9f0; color: #8a94a8; background: #f1f3f7; transform: none; box-shadow: none; }
.xy-sd-bwchip em { font-style: normal; font-size: 11px; color: #f59e0b; margin-left: 2px; }
.xy-sd-chip.on em { color: #ffe9b3; }
.xy-sd-summary {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed #e2e8f0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.xy-sd-price-row { display: flex; flex-direction: column; gap: 2px; }
.xy-sd-sel { font-size: 12px; color: #e11d48; }
.xy-sd-refund { font-size: 12px; color: #16a34a; }
.xy-sd-refund-no { color: #e11d48; }
.xy-sd-price { font-size: 24px; font-weight: 800; color: #2b6bf3; line-height: 1.1; }
.xy-sd-price em { font-size: 13px; font-weight: 500; color: #6b7280; font-style: normal; }
.xy-sd-buy.el-button {
  border-radius: 10px; padding: 11px 30px; font-size: 15px; font-weight: 600;
  background: linear-gradient(135deg, #4085ff, #2b6bf3);
  border: none; color: #fff;
  box-shadow: 0 4px 12px rgba(43, 107, 243, .35);
}
.xy-sd-buy.el-button:hover { opacity: .92; background: linear-gradient(135deg, #4085ff, #2b6bf3); }
.xy-sd-buy.el-button.is-disabled { background: #cbd5e1; box-shadow: none; opacity: 1; }
@media (max-width: 768px) {
  .xy-series-dialog { width: 92vw !important; }
  .xy-sd-body { padding: 14px 16px 18px; }
  .xy-sd-chip { min-height: 28px; padding: 0 12px; font-size: 12px; }
  .xy-sd-summary { flex-direction: column; align-items: stretch; }
  .xy-sd-buy.el-button { width: 100%; }
}
.category-first-emoji-img{width:20px;height:20px;border-radius:4px;object-fit:contain;vertical-align:middle;}

/* 星云：卡片绿色网络延迟角标（≈ms，卡片右上角） */
.xy-series-card {
  position: relative;
}
.xy-series-name-wrap {
  display: flex;
  align-items: center;
  gap: 0.09rem;
  min-width: 0;
  flex: 1 1 auto;
}
.xy-series-name-wrap .xy-series-name {
  flex: 0 1 auto;
  min-width: 0;
}
.xy-speed-badge {
  position: absolute;
  top: 0.14rem;
  right: 0.14rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 0.03rem;
  flex-shrink: 0;
  padding: 0.035rem 0.12rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 0.13rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 0.03rem 0.08rem rgba(34, 197, 94, 0.4);
  line-height: 1.3;
  white-space: nowrap;
}
.xy-speed-badge svg {
  width: 0.14rem;
  height: 0.14rem;
  flex-shrink: 0;
}

/* 美化巡检 20261121：有延迟角标时标题右侧留白，避免角标压住标题文字（仅展示层） */
.xy-series-card:has(.xy-speed-badge) .xy-series-name-wrap {
  padding-right: 68px;
  box-sizing: border-box;
}

/* 星云：有延时角标时，售罄/库存徽章下移，避免与右上角延时角标重叠（仅徽章下移，标题保持原位） */
.xy-series-card:has(.xy-speed-badge) .xy-series-badges,
.xy-series-card.xy-single-card:has(.xy-speed-badge) .xy-series-top > .xy-series-badge {
  margin-top: 0.30rem;
}


/* ===== 卖点卡片会员价徽章(2026-10-15) ===== */
.xy-series-member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.1rem;
  margin-top: 0.04rem;
  width: 100%;
}
.xy-mb-badge { display:inline-flex; align-items:center; gap:5px; padding:3px 10px 3px 5px; border-radius:999px; background:linear-gradient(135deg,#f59e0b,#f97316); color:#fff; font-size:12px; font-weight:600; box-shadow:0 2px 8px rgba(245,158,11,.35); vertical-align:middle; white-space:nowrap; }
.xy-mb-ico { width:16px; height:16px; display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-style:normal; background:rgba(255,255,255,.24); border-radius:50%; }
.xy-mb-txt { letter-spacing:.3px; }
.xy-mb-pv { color:#7c2d12; font-weight:800; font-size:13px; background:#fff; border-radius:999px; padding:1px 7px; }

/* ===== 会员价主价格化(2026-10-15) ===== */
.xy-series-price { display:none !important; }
.xy-series-member {
  margin-top: 0;
  padding-top: 0;
  align-items: center;
}
.xy-mb-badge {
  padding: 7px 16px 7px 9px;
  gap: 7px;
  font-size: 14px;
  letter-spacing: .2px;
}
.xy-mb-ico { width: 22px; height: 22px; font-size: 13px; }
.xy-mb-txt { font-weight: 700; }
.xy-mb-pv {
  font-size: 21px;
  padding: 2px 11px;
  line-height: 1.2;
}
/* 游客态：灰色“登录查看会员价” */
.xy-mb-badge.xy-guest {
  background: #eef1f6;
  color: #5F6D88;
  box-shadow: none;
}
.xy-mb-badge.xy-guest .xy-mb-ico { background: rgba(138,150,181,.2); }
.xy-mb-badge.xy-guest .xy-mb-pv { color: #5F6D88; background: transparent; padding: 0; }
/* 手机端收缩，避免溢出 */
@media (max-width: 768px) {
  .xy-mb-badge { padding: 5px 11px 5px 7px; font-size: 12px; gap: 5px; }
  .xy-mb-pv { font-size: 17px; padding: 1px 8px; }
  .xy-mb-ico { width: 18px; height: 18px; font-size: 11px; }
}

/* ===== 价格+徽章标签分离(2026-10-15 v2) ===== */
.xy-series-price { display:flex !important; align-items:baseline; flex-wrap:wrap; gap:6px; min-width:0; }
.xy-series-price .xy-series-pv { font-size:0.32rem; }
.xy-series-cycle { font-size:0.13rem; color:#5F6D88; }
.xy-guest-price { font-size:0.16rem; color:#5F6D88; font-weight:600; }
.xy-mb-badge { padding:3px 10px 3px 5px; font-size:12px; gap:5px; }
.xy-mb-ico { width:16px; height:16px; font-size:10px; }
.xy-mb-txt { font-weight:700; }
.xy-mb-badge.xy-guest { background:#eef1f6; color:#5F6D88; box-shadow:none; }
.xy-series-bottom { display:flex !important; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.xy-series-member { width:auto !important; flex-shrink:0; margin-top:0 !important; }
@media (max-width: 768px) {
  .xy-series-bottom { gap:6px; }
  .xy-mb-badge { font-size:11px; padding:2px 8px 2px 4px; }
  .xy-series-price .xy-series-pv { font-size:0.26rem; }
  .xy-guest-price { font-size:0.14rem; }
}

/* ===== 价徽同行紧凑(2026-10-15 v3) ===== */
.xy-series-price { flex-wrap: nowrap !important; }
.xy-series-member { justify-content: flex-end !important; }
@media (max-width: 768px) {
  .xy-series-price .xy-series-pv { font-size: 0.24rem; }
}

/* ===== 星云 手机分类区修复 20261107 BEGIN ===== */
@media screen and (max-width: 750px) {
  .category-first-row { align-items: center; gap: 8px; }
  .category-first-list {
    flex: 1 1 auto; min-width: 0; width: auto;
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
    gap: 8px; padding: 6px 18px 6px 6px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 20px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 20px), transparent 100%);
  }
  .category-first-list::-webkit-scrollbar { width: 0; height: 0; display: none; }
  .category-first-item {
    flex: 0 0 auto; height: 36px !important; min-height: 36px !important;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0 12px !important; font-size: 13px; line-height: 1.2;
    border-radius: 10px !important; scroll-snap-align: start; white-space: nowrap;
    transition: background-color .18s ease, color .18s ease, transform .12s ease;
  }
  .category-first-item:active { transform: scale(.96); }
  .category-all-trigger {
    flex: 0 0 66px; height: 40px; min-width: 66px; margin: 0;
    padding: 0 8px; white-space: nowrap; flex-wrap: nowrap;
    border-radius: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, .20);
    transition: transform .12s ease, box-shadow .18s ease;
  }
  .category-all-trigger:active { transform: scale(.96); box-shadow: 0 2px 6px rgba(37,99,235,.18); }
  .category-panel { border-radius: 16px 16px 0 0; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .category-panel-item { min-height: 44px; border-radius: 10px; }
}
/* ===== 星云 手机分类区修复 20261107 END ===== */

/* ===== 星云美化巡检 20261108：手机分类条右侧渐隐更柔和，避免图标被硬切 ===== */
@media screen and (max-width: 750px) {
  .category-first-list {
    padding-right: 30px;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), transparent 100%);
            mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 30px), transparent 100%);
  }
}

/* ===== 星云 手机/平板可读性修复 20261116 BEGIN ===== */
@media screen and (max-width:1200px){
  .xy-series-name{font-size:16px!important;}
  .xy-tag{font-size:12px!important;line-height:1.7!important;padding:3px 9px!important;}
  .xy-series-points li{font-size:12.5px!important;line-height:1.9!important;}
  .xy-series-scene{font-size:12px!important;}
  .xy-series-cycle{font-size:12px!important;}
  .xy-series-enter{font-size:12.5px!important;}
  .xy-speed-badge{font-size:11px!important;}
  .un-login{font-size:12px!important;}
}
@media screen and (max-width:750px){
  /* 分类 chips：改自动宽度+换行，避免第三枚被裁成半截 */
  .category-first-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;-webkit-mask-image:none!important;mask-image:none!important;padding:6px 0!important;width:100%!important;}
  .category-first-item{flex:0 0 auto!important;min-width:0!important;width:100%!important;max-width:none!important;height:30px!important;line-height:30px!important;justify-content:flex-start!important;padding:0 9px!important;}
  .category-first-item .category-first-name{font-size:12px!important;line-height:30px!important;}
  .category-first-item .category-first-emoji{width:15px!important;height:15px!important;}
  .xy-spec-lbl,.xy-spec-val{font-size:12px!important;}
}
/* ===== 星云 手机/平板可读性修复 20261116 END ===== */

/* ===== 星云 美化巡检 20261119：手机分类标题避让顶栏/PC登录价排版 BEGIN ===== */
@media screen and (max-width:768px){
  .category-nav{margin-top:52px!important;}
}
@media screen and (min-width:769px){
  .xy-guest-price{font-size:18px!important;line-height:1.25!important;white-space:nowrap!important;}
  .xy-series-price{gap:4px!important;}
}
/* ===== 星云 美化巡检 20261119 END ===== */

/* 美化巡检 20261120：平板端分区标签字号过小（9.4px），统一提升到 14px 并保持高对比 */
@media (max-width: 768px) {
  .category-second-label { font-size: 14px !important; }
}

/* ===== 星云美化巡检 20261124 BEGIN ===== */
/* 订购卡：标题按词换行，避免型号尾部“2)”孤字；价格与周期不拆开 */
.xy-series-name{word-break:normal!important;overflow-wrap:break-word!important;}
.xy-series-price{flex-wrap:wrap!important;gap:4px!important;}
.xy-series-cycle{white-space:nowrap!important;flex:0 0 auto!important;}
/* ===== 星云美化巡检 20261124 END ===== */
