/* ==========================================================================
   球球大作战商城 · H5 现代化首页样式
   只作用于首页（template/紫色/index.php），不污染其它页面
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
  --c1: #6C4CF1;
  --c2: #9A6BFF;
  --c-deep: #3B27B0;
  --gold: #FFC53D;
  --ok: #17B26A;
  --ink: #14152A;
  --sub: #55576F;
  --mut: #8A8CA6;
  --bg: #F3F1FF;
  --card: #FFFFFF;
  --line: #EAE8F6;
  --radius: 18px;
  --shadow-s: 0 2px 10px rgba(76, 58, 160, .06);
  --shadow-m: 0 8px 26px rgba(76, 58, 160, .10);
  --shadow-l: 0 18px 44px rgba(59, 39, 176, .16);
  --safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- 2. 基础重置 ---------- */
html { -webkit-text-size-adjust: 100%; }

/* ===== 禁止网页缩放（全端） ===== */
html {
  -webkit-text-size-adjust: 100% !important;
  -moz-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
  -ms-text-size-adjust: 100% !important;
  /* manipulation = 允许平移、禁止双击放大；捏合由 nozoom.js 拦截 */
  touch-action: manipulation;
  -ms-touch-action: manipulation;
}
body.h5-body {
  margin: 0;
  padding: 0 0 calc(88px + var(--safe-b));
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro SC", "PingFang SC",
    "HarmonyOS Sans SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.h5-body *,
body.h5-body *::before,
body.h5-body *::after { box-sizing: border-box; }

body.h5-body img { max-width: 100%; height: auto; border: 0; }
body.h5-body a { text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
body.h5-body ul, body.h5-body ol { list-style: none; margin: 0; padding: 0; }
body.h5-body h1, body.h5-body h2, body.h5-body h3, body.h5-body h4,
body.h5-body h5, body.h5-body h6, body.h5-body p { margin: 0; }

/* 覆盖 bootstrap 的全局容器宽度，统一手机版心 */
body.h5-body .h5-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 14px;
}

/* ---------- 3. 顶部品牌栏 ---------- */
.h5-topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 10px 0 8px;
  background: rgba(243, 241, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .6);
}

.h5-topbar .h5-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.h5-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }

.h5-brand__mark {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, var(--c1), var(--c2));
  box-shadow: 0 6px 14px rgba(108, 76, 241, .32);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.h5-brand__text { min-width: 0; display: flex; flex-direction: column; }
.h5-brand__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.2px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
.h5-brand__sub {
  display: block;
  font-size: 11px;
  color: var(--mut);
  letter-spacing: .2px;
  white-space: nowrap;
}

.h5-kf {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--c-deep);
}
.h5-kf i { font-size: 13px; }

/* ---------- 4. Hero 主视觉 ---------- */
.h5-hero {
  position: relative;
  overflow: hidden;
  width: calc(100% - 28px);
  max-width: 612px;
  margin: 10px auto 0;
  padding: 12px 12px 10px;
  border-radius: 24px;
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(255, 197, 61, .30) 0%, rgba(255, 197, 61, 0) 55%),
    radial-gradient(90% 70% at 0% 100%, rgba(154, 107, 255, .55) 0%, rgba(154, 107, 255, 0) 60%),
    linear-gradient(158deg, #5B3AF0 0%, #6C4CF1 42%, #8E5CFF 100%);
  box-shadow: 0 14px 30px rgba(59, 39, 176, .18);
}
.h5-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px);
  background-size: 14px 14px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .45) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .45) 60%, transparent 100%);
  pointer-events: none;
}

.h5-hero__inner { position: relative; z-index: 2; }

.h5-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3px;
}
.h5-hero__tag .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6BFFB0;
  box-shadow: 0 0 0 3px rgba(107, 255, 176, .25);
}

.h5-hero__title {
  margin-top: 12px;
  color: #fff;
  font-size: 27px;
  line-height: 1.24;
  font-weight: 800;
  letter-spacing: -.6px;
  text-shadow: 0 2px 12px rgba(45, 22, 120, .22);
}
.h5-hero__title em {
  font-style: normal;
  background: linear-gradient(180deg, #FFE9A8, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 注意：body.h5-body ... p{margin:0} 优先级更高，这里必须带 body.h5-body */
body.h5-body .h5-hero__desc {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 12.5px;
  letter-spacing: .2px;
  text-align: center;
  line-height: 1.5;
}

/* 主视觉图片 */
.h5-hero__media {
  position: relative;
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(40, 18, 110, .34);
  border: 2px solid rgba(255, 255, 255, .55);
  line-height: 0;
}
.h5-hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hero 数据条 */
.h5-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.h5-stats__item {
  padding: 10px 6px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  text-align: center;
  color: #fff;
  backdrop-filter: blur(4px);
}
.h5-stats__num {
  display: block;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.3px;
  line-height: 1.2;
}
.h5-stats__num small { font-size: 11px; font-weight: 600; margin-left: 1px; }
.h5-stats__label {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, .76);
  letter-spacing: .2px;
}

/* ---------- 5. 公告滚动条 ---------- */
.h5-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 9px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  position: relative;
  z-index: 3;
}
.h5-notice__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFF3D6, #FFE7B0);
  color: #A96B00;
  font-size: 11px;
  font-weight: 700;
}
.h5-notice__viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
  height: 20px;
}
.h5-notice__track {
  position: absolute;
  left: 0; top: 0;
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  will-change: transform;
  animation: h5-marquee 26s linear infinite;
}
.h5-notice:hover .h5-notice__track { animation-play-state: paused; }
.h5-notice__track span {
  font-size: 12.5px;
  color: var(--sub);
  font-weight: 500;
}
.h5-notice__track span i { color: var(--c1); margin-right: 5px; }

@keyframes h5-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- 6. 快捷入口 ---------- */
.h5-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 16px;
  padding: 14px 8px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
}
.h5-quick__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 4px 2px;
  border-radius: 12px;
  transition: transform .18s ease, background .18s ease;
}
.h5-quick__item:active { transform: scale(.94); background: #F7F5FF; }
.h5-quick__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 13px;
  font-size: 17px;
  color: #fff;
  box-shadow: 0 6px 14px rgba(108, 76, 241, .18);
}
.h5-quick__icon--violet { background: linear-gradient(140deg, #7B5BFF, #A47CFF); }
.h5-quick__icon--gold   { background: linear-gradient(140deg, #FFB020, #FFD469); box-shadow: 0 6px 14px rgba(255, 176, 32, .24); }
.h5-quick__icon--green  { background: linear-gradient(140deg, #17B26A, #4BD98D); box-shadow: 0 6px 14px rgba(23, 178, 106, .22); }
.h5-quick__icon--blue   { background: linear-gradient(140deg, #2E90FA, #62B4FF); box-shadow: 0 6px 14px rgba(46, 144, 250, .22); }
.h5-quick__label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sub);
  letter-spacing: .1px;
}

/* ---------- 7. 区块标题 ---------- */
.h5-sec { margin-top: 20px; }
.h5-sec__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0 2px;
}
.h5-sec__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--ink);
}
.h5-sec__title::before {
  content: "";
  width: 4px; height: 15px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--c1), var(--c2));
}
.h5-sec__more {
  font-size: 12px;
  color: var(--mut);
  font-weight: 500;
}

/* ---------- 8. 搜索框 ---------- */
.h5-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 6px 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-s);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.h5-search:focus-within {
  border-color: #C9BBFF;
  box-shadow: 0 0 0 3px rgba(108, 76, 241, .10);
}
.h5-search > i { color: var(--mut); font-size: 14px; }
.h5-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0 !important;
  outline: 0;
  background: transparent !important;
  font-size: 14px;
  color: var(--ink);
  box-shadow: none !important;
  padding: 0 !important;
}
.h5-search input::placeholder { color: #A9AAC0; font-weight: 400; }
.h5-search__btn {
  flex: 0 0 auto;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(108, 76, 241, .28);
}
.h5-search__btn:active { transform: scale(.96); }

/* ---------- 9. 分类宫格 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cat-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 11px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-s);
  cursor: pointer;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cat-card::after {
  content: "";
  position: absolute;
  right: -22px; top: -22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108, 76, 241, .09), rgba(108, 76, 241, 0) 70%);
}
.cat-card:active {
  transform: scale(.975);
  border-color: #CDBFFF;
  box-shadow: 0 4px 14px rgba(108, 76, 241, .14);
}

.cat-card__icon {
  flex: 0 0 38px;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.5px;
  box-shadow: 0 5px 12px rgba(76, 58, 160, .18);
}

.cat-card__body { min-width: 0; flex: 1 1 auto; display: block; }
.cat-card__name {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-card__meta {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-card__meta b { color: var(--c1); font-weight: 700; }

.cat-card__arrow {
  flex: 0 0 auto;
  color: #C6C4DC;
  font-size: 11px;
}

/* 折叠状态 */
.cat-grid.is-collapsed .cat-card.is-extra { display: none; }

.cat-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin-top: 10px;
  height: 40px;
  border: 1px dashed #D8D2F5;
  border-radius: 13px;
  background: #FBFAFF;
  color: var(--c-deep);
  font-size: 13px;
  font-weight: 600;
}
.cat-more i { font-size: 11px; transition: transform .2s ease; }
.cat-more.is-open i { transform: rotate(180deg); }

/* ---------- 10. 交易卡片（Tab + 表单） ---------- */
.h5-card {
  margin-top: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-m);
  overflow: hidden;
}

/* 分段式 Tab */
.h5-tabs {
  display: flex;
  gap: 4px;
  padding: 6px;
  margin: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.h5-tabs > li {
  flex: 1;
  float: none !important;
  margin: 0 !important;
  list-style: none;
}
.h5-tabs > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 8px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--mut) !important;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: all .2s ease;
}
.h5-tabs > li > a i { font-size: 13px; }
.h5-tabs > li.active > a {
  background: linear-gradient(135deg, var(--c1), var(--c2)) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(108, 76, 241, .26);
}
.h5-tabs > li.active > a i { color: #fff; }

.h5-tabs ~ .tab-content {
  padding: 14px !important;
  background: #fff !important;
}
.h5-tabs ~ .tab-content > .tab-pane { display: none; }
.h5-tabs ~ .tab-content > .tab-pane.active { display: block; }

/* ---------- 11. 购买表单 ---------- */
.h5-buy__head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 2px 0 14px;
  margin-bottom: 4px;
  border-bottom: 1px dashed var(--line);
}
.h5-buy__avatar {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #EFEBFF, #FBF9FF);
  border: 1px solid #E7E1FF;
  overflow: hidden;
}
.h5-buy__avatar img { width: 100%; height: 100%; object-fit: cover; }
.h5-buy__avatar i { font-size: 19px; color: var(--c1); }
.h5-buy__title { min-width: 0; flex: 1 1 auto; }
.h5-buy__title h3 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.3px;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h5-buy__title p { font-size: 11.5px; color: var(--mut); margin-top: 2px; }

/* 表单行 */
body.h5-body .h5-form .form-group { margin: 0 0 10px !important; }

body.h5-body .h5-form .input-group {
  display: flex !important;
  align-items: stretch;
  width: 100% !important;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #FBFAFF;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
body.h5-body .h5-form .input-group:focus-within {
  border-color: #C9BBFF;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 76, 241, .10);
}

body.h5-body .h5-form .input-group-addon {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: 84px;
  min-width: 84px;
  padding: 0 10px !important;
  border: 0 !important;
  border-right: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--sub) !important;
  font-size: 12.5px !important;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
body.h5-body .h5-form .input-group-addon.onclick { color: var(--c1) !important; cursor: pointer; }

body.h5-body .h5-form .form-control {
  flex: 1 1 auto;
  width: 100% !important;
  min-width: 0;
  height: 46px !important;
  padding: 0 12px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-size: 14px !important;
  line-height: 46px;
  -webkit-appearance: none;
  appearance: none;
}
body.h5-body .h5-form select.form-control {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A8CA6' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
  background-size: 11px 7px !important;
  padding-right: 30px !important;
  cursor: pointer;
}
body.h5-body .h5-form input[disabled],
body.h5-body .h5-form .form-control[disabled] {
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink);
  opacity: 1;
  background: transparent !important;
}

/* 价格高亮 */
body.h5-body .h5-form #need {
  color: #F5313F !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -.3px;
  -webkit-text-fill-color: #F5313F;
}

/* 数量步进器 */
body.h5-body .h5-form #num_min,
body.h5-body .h5-form #num_add {
  flex: 0 0 44px;
  width: 44px !important;
  height: 46px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #F1EDFF !important;
  color: var(--c-deep) !important;
  font-size: 15px !important;
  font-weight: 800;
  box-shadow: none !important;
  cursor: pointer;
}
body.h5-body .h5-form #num_min { border-right: 1px solid var(--line) !important; }
body.h5-body .h5-form #num_add { border-left: 1px solid var(--line) !important; }
body.h5-body .h5-form #num_min:active,
body.h5-body .h5-form #num_add:active { background: #E4DDFF !important; }
body.h5-body .h5-form #num {
  text-align: center !important;
  font-weight: 700;
  font-size: 15px !important;
  -moz-appearance: textfield;
}
body.h5-body .h5-form #num::-webkit-outer-spin-button,
body.h5-body .h5-form #num::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 商品说明条 */
/* 商品介绍：沿用旧模板的白底斜条纹 */
body.h5-body .h5-form #alert_frame {
  margin: 0 0 10px !important;
  padding: 12px 13px !important;
  border: 1px solid #EEECF6 !important;
  border-left: 0 !important;
  border-radius: 12px !important;
  background: repeating-linear-gradient(-45deg, #FFFFFF 0, #FFFFFF 18px, #F7F7FA 18px, #F7F7FA 36px) !important;
  color: #333333 !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  line-height: 1.7;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06) !important;
}
body.h5-body .h5-form #alert_frame img {
  display: block;
  max-width: 100% !important;
  height: auto !important;
  margin: 6px auto;
  border-radius: 8px;
}


/* 详情过长时折叠，避免把购买按钮顶出屏幕 */
body.h5-body .h5-form #alert_frame.is-clamped {
  max-height: 232px;
  overflow: hidden;
  position: relative;
}
body.h5-body .h5-form #alert_frame.is-clamped::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 56px;
  background: linear-gradient(to top, #FFF9EC, rgba(255, 249, 236, 0));
  pointer-events: none;
}
.h5-desc-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 34px;
  margin: -10px 0 10px;
  border: 0;
  border-radius: 0 0 12px 12px;
  background: #FFF6E2;
  color: #A9700A;
  font-size: 12px;
  font-weight: 600;
}
.h5-desc-more i { font-size: 10px; transition: transform .2s ease; }
.h5-desc-more.is-open i { transform: rotate(180deg); }

/* 购买按钮 */
.h5-buy__cta {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 50px;
  margin-top: 4px;
  border: 0 !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #6C4CF1 0%, #8E5CFF 55%, #A87BFF 100%) !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .5px;
  box-shadow: 0 10px 24px rgba(108, 76, 241, .34) !important;
  text-shadow: 0 1px 2px rgba(45, 22, 120, .18);
  transition: transform .16s ease, box-shadow .16s ease;
  position: relative;
  overflow: hidden;
}
.h5-buy__cta::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-18deg);
  animation: h5-sheen 3.4s ease-in-out infinite;
}
@keyframes h5-sheen {
  0%, 62% { left: -60%; }
  92%, 100% { left: 130%; }
}
.h5-buy__cta:active { transform: scale(.985); box-shadow: 0 5px 14px rgba(108, 76, 241, .3) !important; }

.h5-buy__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 42px;
  margin-top: 9px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--sub);
  font-size: 13px;
  font-weight: 600;
}
.h5-buy__back:active { background: #F7F5FF; }

/* 未选商品时的空态 */
.h5-empty {
  padding: 34px 18px;
  text-align: center;
  color: var(--mut);
}
.h5-empty i {
  display: block;
  font-size: 30px;
  color: #D9D3F3;
  margin-bottom: 10px;
}
.h5-empty p { font-size: 13px; }

/* ---------- 12. 到账查询 ---------- */
.h5-query__tip {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, #F7F4FF, #FBFAFF);
  border: 1px solid #EFEAFF;
  margin-bottom: 12px;
}
.h5-query__tip i { color: var(--c1); font-size: 15px; margin-top: 1px; }
.h5-query__tip div { font-size: 12.5px; color: var(--sub); line-height: 1.65; }
.h5-query__tip b { color: var(--ink); }

.h5-query__row { display: flex; gap: 8px; }
.h5-query__row input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #FBFAFF;
  font-size: 14px;
  color: var(--ink);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.h5-query__row input:focus {
  border-color: #C9BBFF;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 76, 241, .10);
}
.h5-query__row input::placeholder { color: #A9AAC0; }
.h5-query__btn {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(108, 76, 241, .26);
}
.h5-query__btn:active { transform: scale(.97); }

/* ---------- 13. 信任保障 ---------- */
.h5-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.h5-trust__item {
  padding: 14px 8px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow-s);
}
.h5-trust__item i {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  margin: 0 auto 8px;
  border-radius: 10px;
  font-size: 14px;
}
.h5-trust__item:nth-child(1) i { background: #EAF7F0; color: #17B26A; }
.h5-trust__item:nth-child(2) i { background: #FFF4DE; color: #D98A00; }
.h5-trust__item:nth-child(3) i { background: #EEF0FF; color: #6C4CF1; }
.h5-trust__item strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.h5-trust__item span {
  display: block;
  margin-top: 2px;
  font-size: 10.5px;
  color: var(--mut);
}

/* ---------- 14. 成交滚动 + 评价 ---------- */
.h5-live {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.h5-live__head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.h5-live__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #17B26A;
  box-shadow: 0 0 0 3px rgba(23, 178, 106, .18);
  animation: h5-pulse 1.8s ease-in-out infinite;
}
@keyframes h5-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}
.h5-live__head span { margin-left: auto; font-weight: 500; color: var(--mut); font-size: 11px; }

.h5-live__viewport { height: 186px; overflow: hidden; position: relative; }
.h5-live__viewport::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 34px;
  background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
  pointer-events: none;
}
.h5-live__list {
  animation: h5-scrollup 24s linear infinite;
  will-change: transform;
}
.h5-live:hover .h5-live__list { animation-play-state: paused; }
@keyframes h5-scrollup {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}
.h5-live__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-bottom: 1px dashed #F3F1FB;
}
.h5-live__item:last-child { border-bottom: 0; }
.h5-live__thumb {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 11px;
  overflow: hidden;
  background: linear-gradient(140deg, #F2EEFF, #E8E2FF);
  color: #6C4CF1;
  font-size: 12px;
  border: 1px solid #EFEAFF;
}
.h5-live__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.h5-live__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.h5-live__text b { color: var(--ink); font-weight: 700; }
.h5-live__text em {
  font-style: normal;
  color: #17B26A;
  font-weight: 600;
  margin-left: 4px;
}
.h5-live__time {
  flex: 0 0 auto;
  font-size: 10.5px;
  color: #B3B4C6;
}

/* 评价墙 */
.h5-reviews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}
.h5-review {
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-s);
}
.h5-review__top {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
}
.h5-review__ava {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #7B5BFF, #A47CFF);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px rgba(76, 58, 160, .16);
}
.h5-review__ava img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
}
.h5-review__id { font-size: 11px; color: var(--mut); font-weight: 600; }
.h5-review__stars { margin-left: auto; color: var(--gold); font-size: 9px; letter-spacing: 1px; }
.h5-review__text {
  font-size: 12.5px;
  color: var(--sub);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 评价区标题下方提示条 */
body.h5-body .h5-review-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 15px;
  background: linear-gradient(135deg, #FFF1F3, #FFE7EB);
  border: 1px solid #FFD3DA;
  box-shadow: var(--shadow-s);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.55;
  color: #E5303E;
  text-align: center;
  letter-spacing: -.1px;
}
body.h5-body .h5-review-tip i {
  color: #E5303E;
  font-size: 13.5px;
  flex: 0 0 auto;
}

/* ---------- 15. 页脚 ---------- */
.h5-footer {
  margin-top: 22px;
  padding: 20px 4px 8px;
  text-align: center;
  color: var(--mut);
  font-size: 11.5px;
  line-height: 1.8;
}
.h5-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.h5-footer__links a {
  color: var(--sub);
  font-weight: 600;
  font-size: 12px;
}
.h5-footer__links i { color: #D2CFE6; font-size: 8px; }
.h5-footer p { color: #A9AAC0; }

/* ---------- 16. 底部 TabBar ---------- */
.h5-tabbar {
  position: fixed;
  left: 50%;
  bottom: calc(12px + var(--safe-b));
  transform: translateX(-50%);
  width: calc(100% - 56px);
  max-width: 340px;
  z-index: 120;
  display: flex;
  gap: 5px;
  padding: 5px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(45, 32, 110, .18), 0 1px 0 rgba(255, 255, 255, .9) inset;
}
.h5-tabbar__item {
  flex: 1;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 17px;
  color: #8A8CA6;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
  transition: color .2s ease, background .2s ease, transform .16s ease;
}
.h5-tabbar__item i { font-size: 15px; line-height: 1; }
.h5-tabbar__item:active { transform: scale(.97); }
.h5-tabbar__item.is-active {
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  box-shadow: 0 6px 16px rgba(108, 76, 241, .34);
}
.h5-tabbar__item.is-active i { color: #fff; }

/* ---------- 17. 弹窗（沿用原有 id，仅美化） ---------- */
body.h5-body .custom-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 18, 45, .48);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s ease, visibility .26s ease;
}
body.h5-body .custom-modal.active { opacity: 1; visibility: visible; }
body.h5-body .custom-modal .modal-content {
  width: 100%;
  max-width: 340px;
  padding: 26px 22px 22px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(20, 18, 45, .28);
  transform: scale(.92) translateY(8px);
  transition: transform .26s cubic-bezier(.22, 1, .36, 1);
}
body.h5-body .custom-modal.active .modal-content { transform: scale(1) translateY(0); }
body.h5-body .custom-modal .modal-icon { font-size: 38px; margin-bottom: 12px; }
body.h5-body .custom-modal .modal-title { font-size: 17px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
body.h5-body .custom-modal .modal-desc {
  font-size: 13px;
  color: var(--sub);
  line-height: 1.75;
  margin-bottom: 20px;
  text-align: left;
  white-space: pre-line;      /* 支持换行 */
  word-break: break-word;
}

/* 查询中：转圈图标 */
body.h5-body .custom-modal .modal-icon.icon-loading { color: var(--c1); }
body.h5-body .custom-modal .modal-icon.icon-loading i { animation: h5-spin 1s linear infinite; }
@keyframes h5-spin { to { transform: rotate(360deg); } }

/* 查询结果：警示图标 */
body.h5-body .custom-modal .modal-icon.icon-warn { color: #F5A524; }

/* 查询中弹窗稍窄一点，更像等待态 */
body.h5-body .custom-modal .modal-content:has(.icon-loading) { max-width: 300px; }
body.h5-body .custom-modal .modal-btn {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(108, 76, 241, .28);
}
body.h5-body .custom-modal .modal-btn:active { transform: scale(.98); }

/* 输入抖动 */
@keyframes h5-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
body.h5-body .shake { animation: h5-shake .5s ease; }

/* ---------- 18. 进入动画 ---------- */
@keyframes h5-rise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.h5-anim { animation: h5-rise .5s cubic-bezier(.22, 1, .36, 1) both; }
.h5-anim--d1 { animation-delay: .06s; }
.h5-anim--d2 { animation-delay: .12s; }
.h5-anim--d3 { animation-delay: .18s; }

@media (prefers-reduced-motion: reduce) {
  .h5-anim, .h5-live__list, .h5-notice__track, .h5-buy__cta::after, .h5-live__dot {
    animation: none !important;
  }
}

/* ---------- 19. 响应式微调 ---------- */
@media (max-width: 359px) {
  .h5-hero__title { font-size: 23px; }
  .h5-quick { grid-template-columns: repeat(4, 1fr); padding: 12px 4px; }
  .h5-quick__icon { width: 36px; height: 36px; font-size: 15px; }
  .h5-quick__label { font-size: 10.5px; }
  .cat-grid { gap: 8px; }
  .cat-card { padding: 10px 9px; gap: 8px; }
  .cat-card__icon { flex-basis: 34px; width: 34px; height: 34px; font-size: 13px; }
  .cat-card__name { font-size: 12.5px; }
  .h5-reviews { grid-template-columns: 1fr; }
  body.h5-body .h5-form .input-group-addon { width: 72px; min-width: 72px; font-size: 11.5px !important; }
}

@media (min-width: 560px) {
  .h5-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  body.h5-body { font-size: 15.5px; }
  .h5-hero__title { font-size: 30px; }
  .h5-wrap { padding: 0 18px; }
  .h5-tabbar { display: none; }
  body.h5-body { padding-bottom: 28px; }
}

/* ==========================================================================
   20. 商品分类金刚区（8 宫格 + 翻页）
   ========================================================================== */
.cat-nav-card {
  margin-top: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}

.cat-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px 4px;
}
.cat-nav__head .h5-sec__title { font-size: 15.5px; }

.cat-nav__pager {
  display: flex;
  align-items: center;
  gap: 7px;
}
.cat-nav__btn {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--c-deep);
  font-size: 13px;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: all .18s ease;
}
.cat-nav__btn:active { background: #F3F0FF; transform: scale(.94); }
.cat-nav__btn[disabled] {
  color: #CFCDE0;
  border-color: #F0EEF8;
  background: #FBFAFF;
}
.cat-nav__page {
  min-width: 30px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
}

.cat-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  padding: 6px 6px 14px;
}
.cat-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 9px 2px 7px;
  border-radius: 13px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.cat-nav__item:active { background: #F7F5FF; transform: scale(.95); }
.cat-nav__item.is-hidden { display: none; }
.cat-nav.is-collapsed .cat-nav__item.is-extra { display: none; }

.cat-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: calc(100% - 24px);
  margin: 0 12px 14px;
  height: 38px;
  border: 1px dashed #DCD6F5;
  border-radius: 12px;
  background: #FBFAFF;
  color: var(--c-deep);
  font-size: 12.5px;
  font-weight: 600;
}
.cat-toggle i { font-size: 11px; transition: transform .22s ease; }
.cat-toggle.is-open i { transform: rotate(180deg); }
.cat-toggle:active { background: #F4F1FF; }

/* 周期性抖一下，提示可点击 */
.cat-toggle:not(.is-open) {
  animation: h5-nudge 3.8s ease-in-out infinite;
}
.cat-toggle:not(.is-open) i {
  animation: h5-nudge-arrow 3.8s ease-in-out infinite;
}
@keyframes h5-nudge {
  0%, 56%, 100% { transform: translateX(0); }
  60% { transform: translateX(-3px); }
  64% { transform: translateX(3px); }
  68% { transform: translateX(-2px); }
  72% { transform: translateX(2px); }
  76% { transform: translateX(0); }
}
@keyframes h5-nudge-arrow {
  0%, 56%, 100% { transform: translateY(0); }
  62% { transform: translateY(3px); }
  72% { transform: translateY(0); }
}

.cat-nav__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  font-size: 19px;
  box-shadow: 0 6px 14px rgba(76, 58, 160, .18);
}
.cat-nav__label {
  max-width: 100%;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--sub);
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 359px) {
  .cat-nav__icon { width: 42px; height: 42px; font-size: 17px; border-radius: 13px; }
  .cat-nav__label { font-size: 10.5px; }
}

/* ==========================================================================
   21. 到账查询页
   ========================================================================== */
.h5-topbar--plain { background: rgba(243, 241, 255, .92); }
.h5-topbar__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-s);
  color: var(--c-deep);
  font-size: 15px;
}
.h5-topbar__title {
  flex: 1 1 auto;
  text-align: center;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
}
.h5-topbar__spacer { flex: 0 0 32px; width: 32px; }

.q-intro {
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F7F4FF, #FBFAFF);
  border: 1px solid #EFEAFF;
  margin-top: 16px;
}
.q-intro i { color: var(--c1); font-size: 15px; margin-top: 2px; }
.q-intro div { font-size: 12.5px; color: var(--sub); line-height: 1.65; }
.q-intro b { color: var(--ink); }

.q-seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin-top: 14px;
  border-radius: 13px;
  background: #EFECFB;
}
.q-seg__btn {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--mut);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s ease;
}
.q-seg__btn.is-active {
  background: #fff;
  color: var(--c-deep);
  box-shadow: 0 3px 10px rgba(76, 58, 160, .12);
}

.q-search {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.q-search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #FBFAFF;
  font-size: 14px;
  color: var(--ink);
  outline: 0;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.q-search input:focus {
  border-color: #C9BBFF;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(108, 76, 241, .10);
}
.q-search input::placeholder { color: #A9AAC0; }
.q-search button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(108, 76, 241, .26);
}
.q-search button:active { transform: scale(.97); }

.q-result { margin-top: 16px; }

.q-card {
  padding: 13px 14px;
  margin-bottom: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: var(--shadow-s);
}
.q-card__top {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #F0EEF8;
}
.q-card__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.q-badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.q-badge--0 { background: #EEF0FF; color: #4B5BD6; }
.q-badge--1 { background: #E7F7EF; color: #12885A; }
.q-badge--2 { background: #FFF4DE; color: #B57400; }
.q-badge--3 { background: #FDECEC; color: #D92D20; }
.q-badge--4 { background: #F1F0F5; color: #6B6B7B; }

.q-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 9px;
  font-size: 12.5px;
  color: var(--sub);
}
.q-row__label {
  flex: 0 0 62px;
  color: var(--mut);
  font-size: 12px;
}
.q-row__value {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
  word-break: break-all;
}
.q-card__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px dashed #F0EEF8;
}
.q-card__oid {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 11.5px;
  color: var(--mut);
}
.q-card__more {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 13px;
  border: 1px solid #E2DDF8;
  border-radius: 9px;
  background: #F8F6FF;
  color: var(--c-deep);
  font-size: 12px;
  font-weight: 600;
}

.q-empty {
  padding: 46px 20px;
  text-align: center;
}
.q-empty i {
  display: block;
  font-size: 34px;
  color: #D9D3F3;
  margin-bottom: 12px;
}
.q-empty strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 5px;
}
.q-empty p { font-size: 12.5px; color: var(--mut); line-height: 1.7; }

.q-pager {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.q-pager button {
  flex: 1;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--sub);
  font-size: 13px;
  font-weight: 600;
}
.q-pager button[disabled] { color: #C7C5D6; background: #FBFAFF; }
.q-pager button:not([disabled]):active { background: #F5F3FF; }

.q-loading {
  padding: 34px 0;
  text-align: center;
  color: var(--mut);
  font-size: 12.5px;
}
.q-loading i { margin-right: 6px; color: var(--c1); }

/* ==========================================================================
   22. 双栏点单（左分类 / 右商品）
   ========================================================================== */
.browser {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-m);
  overflow: hidden;
}

.browser__head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
}
.browser__back {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 10px 0 7px;
  border: 0;
  border-radius: 9px;
  background: #F5F3FF;
  color: var(--c-deep);
  font-size: 12.5px;
  font-weight: 600;
}
.browser__back i { font-size: 14px; }
.browser__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser__count {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--mut);
}

.browser__body {
  display: flex;
  height: 62vh;
  max-height: 520px;
  min-height: 380px;
}

/* 左：分类 */
.browser__side {
  flex: 0 0 92px;
  width: 92px;
  background: #F7F6FC;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.browser__side::-webkit-scrollbar { width: 0; }

.side-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 7px;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--sub);
  text-align: center;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
  word-break: break-all;
}
.side-item:active { background: #EFECFB; }
.side-item.is-active {
  background: #fff;
  color: var(--c-deep);
  font-weight: 700;
}
.side-item.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  border-radius: 0 3px 3px 0;
  background: var(--c1);
}

/* 右：商品 */
.browser__main {
  flex: 1 1 auto;
  min-width: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 10px 12px;
}
.browser__main::-webkit-scrollbar { width: 0; }

.browser__tip {
  padding: 26px 8px;
  text-align: center;
  color: var(--mut);
  font-size: 12.5px;
}
.browser__tip i { display: block; font-size: 26px; color: #D9D3F3; margin-bottom: 10px; }

.prod {
  display: flex;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid #F5F3FB;
  cursor: pointer;
  transition: background .16s ease;
}
.prod:last-child { border-bottom: 0; }
.prod:active { background: #FBFAFF; }

.prod__thumb {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(135deg, #F2EEFF, #E8E2FF);
  display: grid;
  place-items: center;
  position: relative;
}
.prod__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.prod__thumb span {
  font-size: 18px;
  font-weight: 800;
  color: #A79BF0;
}

.prod__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.prod__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.prod__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.prod__price {
  color: #F5313F;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -.3px;
}
.prod__price small { font-size: 10.5px; font-weight: 700; }
.prod__price .prod__free {
  display: inline-block;
  padding: 0 7px;
  border-radius: 7px;
  background: linear-gradient(135deg, #FF8A5B, #F5313F);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 18px;
  letter-spacing: 0;
  vertical-align: 1px;
  box-shadow: 0 4px 10px rgba(245, 49, 63, .22);
}
.prod__stock {
  font-size: 10.5px;
  color: var(--mut);
}
.prod__buy {
  margin-left: auto;
  flex: 0 0 auto;
  height: 26px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(108, 76, 241, .26);
}
.prod.is-soldout .prod__name { color: #A9AAC0; }
.prod.is-soldout .prod__buy { background: #DDDBE8; box-shadow: none; color: #8A8CA6; }

/* ==========================================================================
   23. 底部购买弹层
   ========================================================================== */
.h5-sheet {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}
.h5-sheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(20, 18, 45, .46);
  opacity: 0;
  transition: opacity .28s ease;
}
.h5-sheet__panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 0 14px calc(16px + var(--safe-b));
  box-shadow: 0 -12px 40px rgba(20, 18, 45, .22);
  transform: translateY(101%);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.h5-sheet.is-open { pointer-events: auto; }
.h5-sheet.is-open .h5-sheet__mask { opacity: 1; }
.h5-sheet.is-open .h5-sheet__panel { transform: translateY(0); }

.h5-sheet__grip {
  width: 38px;
  height: 4px;
  margin: 8px auto 4px;
  border-radius: 4px;
  background: #E4E1F0;
}
.h5-sheet__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #F3F1FB;
  color: var(--mut);
  font-size: 13px;
  display: grid;
  place-items: center;
  z-index: 2;
}
.h5-sheet .h5-buy__head { padding-top: 10px; }

@media (max-width: 359px) {
  .browser__side { flex-basis: 82px; width: 82px; }
  .side-item { font-size: 11.5px; padding: 11px 5px; }
  .prod__thumb { flex-basis: 52px; width: 52px; height: 52px; }
  .prod__name { font-size: 12.5px; }
}

/* ==========================================================================
   24. 顶部大 Logo（卡片 + 文字修饰）
   ========================================================================== */
.h5-logo {
  position: relative;
  padding: 26px 14px 0;
  overflow: hidden;
  background:
    radial-gradient(75% 58% at 8% 0%, rgba(255, 212, 105, .42) 0%, rgba(255, 212, 105, 0) 62%),
    radial-gradient(70% 55% at 100% 4%, rgba(154, 107, 255, .32) 0%, rgba(154, 107, 255, 0) 60%),
    linear-gradient(180deg, #F2EEFF 0%, #F8F6FF 52%, var(--bg) 100%);
}
.h5-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(108, 76, 241, .12) 1px, transparent 1px);
  background-size: 13px 13px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 52%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .4) 52%, transparent 92%);
  pointer-events: none;
}
.h5-logo__card {
  position: relative;
  z-index: 1;
  padding: 2px;
  border-radius: 23px;
  background: linear-gradient(135deg, #FFD469 0%, #C6A5FF 40%, #6C4CF1 100%);
  box-shadow: 0 14px 34px rgba(59, 39, 176, .26), 0 1px 0 rgba(255, 255, 255, .5) inset;
}
.h5-logo__inner {
  border-radius: 21px;
  overflow: hidden;
  padding: 2px;
  background: #fff;
  line-height: 0;
}
.h5-logo__inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 19px;
}
.h5-logo__badge {
  position: absolute;
  left: 26px;
  top: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 28px;
  padding: 0 13px 0 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 8px 20px rgba(45, 22, 120, .3), 0 0 0 1px rgba(108, 76, 241, .06), 0 1px 0 rgba(255, 255, 255, .9) inset;
  color: #4A2FD8;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .5px;
  overflow: hidden;
}
.h5-logo__badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 42%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .95), transparent);
  transform: skewX(-18deg);
  animation: h5-badge-shine 4.6s ease-in-out infinite;
}
@keyframes h5-badge-shine {
  0%, 68% { left: -70%; }
  92%, 100% { left: 135%; }
}
.h5-logo__badge i {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD469, #FFA800);
  color: #fff;
  font-size: 10px;
  box-shadow: 0 2px 6px rgba(255, 168, 0, .48);
}
.h5-logo__badge span { position: relative; z-index: 1; }

.h5-logo__cap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
  padding: 0 6px;
}
.h5-logo__line {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(to right, rgba(108, 76, 241, 0), rgba(108, 76, 241, .3));
}
.h5-logo__line:last-child {
  background: linear-gradient(to left, rgba(108, 76, 241, 0), rgba(108, 76, 241, .3));
}
.h5-logo__text {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 600;
  color: #6E6F8C;
  letter-spacing: .5px;
  white-space: nowrap;
}

/* ==========================================================================
   25. 分类宫格缩略图（4 列全展示）
   ========================================================================== */
.cat-nav {
  gap: 10px 4px;
  padding: 8px 6px 16px;
}
.cat-nav__item {
  gap: 7px;
  padding: 5px 2px;
}
.cat-nav__thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  background: #F5F3FF;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(76, 58, 160, .12);
}
.cat-nav__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.cat-nav__thumb--icon {
  color: #fff;
  font-size: 20px;
  box-shadow: 0 6px 14px rgba(76, 58, 160, .18);
}

@media (max-width: 359px) {
  .cat-nav { gap: 8px 2px; }
  .cat-nav__thumb { width: 46px; height: 46px; border-radius: 13px; }
  .cat-nav__label { font-size: 10.5px; }
}

/* ==========================================================================
   26. 支付选择弹窗（layer）
   ========================================================================== */
body.h5-body .layui-layer {
  max-width: 92vw !important;
  box-sizing: border-box;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(20, 18, 45, .24) !important;
  border: 0 !important;
}
body.h5-body .layui-layer-title {
  height: 48px !important;
  line-height: 48px !important;
  padding: 0 16px !important;
  border-bottom: 1px solid #F0EEF8 !important;
  background: #fff !important;
  color: #14152A !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
}
body.h5-body .layui-layer-content {
  padding: 6px 16px 14px !important;
  font-size: 14px;
  color: #55576F;
}
body.h5-body .layui-layer-content center { display: block; }
body.h5-body .layui-layer-content h2 {
  margin: 12px 0 6px !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #F5313F !important;
  letter-spacing: -.5px;
  line-height: 1.2;
}
body.h5-body .layui-layer-content hr {
  border: 0 !important;
  border-top: 1px solid #F0EEF8 !important;
  margin: 12px 0 !important;
}
body.h5-body .layui-layer-content img.logo {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  object-fit: contain;
  margin: 0 9px 0 0 !important;
  vertical-align: -5px;
  display: inline-block;
}
body.h5-body .layui-layer-content .btn-block {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin-top: 10px !important;
  padding: 0 14px !important;
  border: 1px solid #E9E7F5 !important;
  border-radius: 13px !important;
  background: #fff !important;
  color: #14152A !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: 0 2px 8px rgba(76, 58, 160, .06) !important;
  text-align: center;
}
body.h5-body .layui-layer-content .btn-block:active {
  background: #F7F5FF !important;
}
body.h5-body .layui-layer-content .btn-block .text-muted {
  color: #8A8CA6 !important;
  font-size: 12.5px;
  font-weight: 500;
  margin-left: 4px;
}

/* ==========================================================================
   27. 到账查询页 · 渐变主卡
   ========================================================================== */
.h5-topbar--plain {
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.h5-topbar--plain .h5-topbar__title { font-size: 16px; }

.q-hero {
  position: relative;
  overflow: hidden;
  margin: 6px 0 0;
  padding: 16px 14px;
  border-radius: 20px;
  color: var(--ink);
  background: linear-gradient(160deg, #FFFFFF 0%, #F7F4FF 58%, #EFEAFF 100%);
  border: 1px solid #ECE7FB;
  box-shadow: 0 10px 26px rgba(76, 58, 160, .10);
}
.q-hero::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -54px;
  width: 158px;
  height: 158px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(154, 107, 255, .22) 0%, rgba(154, 107, 255, 0) 70%);
  pointer-events: none;
}
.q-hero h1 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(45, 22, 120, .22);
}
.q-hero > p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .82);
}

.q-hero__seg {
  display: flex;
  gap: 4px;
  margin-top: 14px;
  padding: 4px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .2);
}
.q-hero__seg .q-seg__btn {
  flex: 1;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, .8);
  font-size: 12.5px;
  font-weight: 600;
  transition: all .2s ease;
}
.q-hero__seg .q-seg__btn.is-active {
  background: #fff;
  color: var(--c-deep);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(20, 18, 45, .18);
}

.q-hero__search {
  position: relative;
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.q-hero__search input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #E5E0F6;
  border-radius: 13px;
  background: #fff;
  font-size: 14px;
  color: var(--ink);
  outline: 0;
  box-shadow: 0 2px 8px rgba(76, 58, 160, .05);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.q-hero__search input::placeholder { color: #A9AAC0; }
.q-hero__search input:focus {
  border-color: #C9BBFF;
  box-shadow: 0 0 0 3px rgba(108, 76, 241, .10);
}
.q-hero__search button {
  flex: 0 0 auto;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: .5px;
  box-shadow: 0 8px 18px rgba(108, 76, 241, .28);
}
.q-hero__search button:active { transform: scale(.97); }

/* 结果区在渐变卡下方留白 */
.q-result { margin-top: 16px; }
.q-result:empty { margin-top: 0; }

/* 查询页的购买记录 / 评价与首页保持一致的间距 */
.h5-sec .h5-live__viewport { height: 200px; }

/* ==========================================================================
   28. 授权标识条
   ========================================================================== */
.h5-brandbar {
  margin-top: 16px;
  padding: 16px 14px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  text-align: center;
}
.h5-brandbar__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
/* 注意：body.h5-body img 的 height:auto 优先级更高，这里必须两级类名 */
.h5-brandbar__row .h5-brandbar__img {
  height: 28px;
  width: auto;
  max-width: none;
  display: block;
  opacity: .96;
}
.h5-brandbar__row .h5-brandbar__img--ball { height: 32px; }
.h5-brandbar__row .h5-brandbar__img--trust { height: 30px; }
.h5-brandbar__sep {
  width: 1px;
  height: 22px;
  background: linear-gradient(to bottom, rgba(234, 232, 246, 0), #E7E4F4, rgba(234, 232, 246, 0));
}
.h5-brandbar__cap {
  margin-top: 11px;
  font-size: 10.5px;
  color: #A9AAC0;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ==========================================================================
   29. 查询页主卡：透明 logo + 提示 + 输入
   ========================================================================== */
.q-hero__top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
}
.q-hero__logo {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 4px 10px rgba(76, 58, 160, .20));
}
.q-hero__hint {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: .2px;
}

@media (max-width: 359px) {
  .q-hero__logo { flex-basis: 42px; width: 42px; height: 42px; }
  .q-hero__hint { font-size: 12.5px; }
  .q-hero__search input { height: 44px; font-size: 13px; }
  .q-hero__search button { height: 44px; padding: 0 16px; font-size: 13.5px; }
}

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
  .cat-toggle, .cat-toggle i, .h5-logo__badge::after { animation: none !important; }
}

/* ==========================================================================
   30. 成交 / 评价 默认收起 + 展开按钮
   ========================================================================== */
.h5-live.is-collapsed .h5-live__viewport { height: auto; }
.h5-live.is-collapsed .h5-live__viewport::after { display: none; }
.h5-live.is-collapsed .h5-live__list { animation: none; }
.h5-live.is-collapsed .h5-live__item:nth-child(n+3) { display: none; }

.h5-reviews.is-collapsed .h5-review:nth-child(n+3) { display: none; }

.h5-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 38px;
  margin-top: 10px;
  border: 1px dashed #DCD6F5;
  border-radius: 12px;
  background: #FBFAFF;
  color: var(--c-deep);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .18s ease;
}
.h5-more i { font-size: 11px; transition: transform .22s ease; }
.h5-more.is-open i { transform: rotate(180deg); }
.h5-more:active { background: #F4F1FF; }

/* ==========================================================================
   31. 禁止输入框聚焦放大（iOS 只在字号 < 16px 时自动缩放）
   ========================================================================== */
@media (max-width: 640px) {
  body.h5-body input,
  body.h5-body select,
  body.h5-body textarea {
    font-size: 16px !important;
  }
  body.h5-body input::placeholder,
  body.h5-body textarea::placeholder {
    font-size: 14px;
  }
}
/* 禁止双击缩放与长按选中抖动 */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body.h5-body { touch-action: manipulation; }
body.h5-body.sheet-locked { overflow: hidden; }

/* 立即购买按钮吸底，窄屏也不用滑 */
.h5-sheet__foot {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin: 10px -14px 0;
  padding: 10px 14px calc(10px + var(--safe-b));
  background: #fff;
  box-shadow: 0 -10px 22px rgba(20, 18, 45, .08);
}
.h5-sheet__foot .h5-buy__cta { margin-top: 0 !important; }

/* ==========================================================================
   32. 成交 / 评价 横向轮播（一行，自动循环）
   ========================================================================== */
.h5-carousel {
  overflow: hidden;
  position: relative;
}
.h5-carousel__track {
  display: flex;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.h5-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

/* 成交：一次一条，去掉行分隔线 */
.h5-carousel__slide .h5-live__item {
  border-bottom: 0;
  padding: 12px 14px;
}

/* 评价：一次一张卡 */
.h5-reviewbox { position: relative; }
.h5-carousel__slide .h5-review {
  height: 100%;
  margin: 0;
}

/* 轮播容器淡入，避免首屏跳动 */
.h5-carousel__track > .h5-carousel__slide:only-child { flex: 0 0 100%; }

/* ==========================================================================
   33. 客户评价：竖向滚动轮播（露两行，每次下滑一条）
   ========================================================================== */
.h5-vcarousel {
  position: relative;
  overflow: hidden;
}
.h5-vcarousel__track {
  transition: transform .56s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}
.h5-vcarousel__slide {
  height: 96px;
  overflow: hidden;
  box-sizing: border-box;
}
.h5-vcarousel__slide .h5-review {
  height: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
}
.h5-vcarousel__slide .h5-review__top {
  margin-bottom: 6px;
}
