/* 🔴 H5-344（11-19 袁总）：「点更多进去 要像竞品 惊喜潮玩一样 有礼品区」
   竞品组件 WwjMoreGift（scoped data-v-e667379e），原值 28 条抽自
   http://e9x8y.jxcwpl.com/assets/index-23e030fa.css，存档 多余文件/方案/H5-344_竞品WwjMoreGift_CSS原值_20261119.css
   换算口径：竞品 1rem = 30.47px（与我们全站一致），逐值搬运，不自造尺寸。
   竞品这一页价格是「钻石」；我们礼品是积分兑换 ⇒ 价格图标换成站点统一积分图。 */

#p-rankgift .rg-box { margin: 21.33px 15.23px 0; display: flex; flex-direction: column; align-items: center; }
#p-rankgift .rg-head { display: flex; align-items: center; justify-content: center; }
#p-rankgift .rg-head > img { height: 22.85px; }
#p-rankgift .rg-listbox { width: 100%; display: flex; flex-direction: column; overflow-y: auto; overflow-x: hidden;
  margin: 21.33px 0 9.14px; box-sizing: border-box; }

/* 我的兑换记录>> —— 竞品 .exchange-record-entry：右对齐 / .4rem / #ad5bbc / 下划线 */
#p-rankgift .rg-record { text-align: right; font-size: 12.19px; color: #ad5bbc; padding: 0 6.09px;
  text-decoration: underline; }

/* 行 —— 竞品 .listBox>.item：高 2.6rem=79.22 / 底 #c5c6ff / 阴影 0 .1rem .1rem #6468ff / 圆角 .2rem=6.09 */
#p-rankgift .rg-item { display: flex; align-items: center; margin: 6.09px 0 12.19px; height: 79.22px;
  background: #c5c6ff; box-shadow: 0 3.05px 3.05px #6468ff; border-radius: 6.09px; }

/* 左 25% 封面 —— 竞品 .left：紫渐变 + 紫阴影 + 左侧圆角 */
#p-rankgift .rg-item > .left { width: 25%; height: 79.22px; box-sizing: border-box;
  background: linear-gradient(0deg, #6b5b9a, #8a7dcf); box-shadow: 0 3.05px 3.05px #433089;
  border-radius: 6.09px 0 0 6.09px; display: flex; align-items: center; justify-content: center;
  padding: 0 6.09px; position: relative; }
#p-rankgift .rg-item > .left > img { width: 100%; object-fit: contain; }
/* 右上角标 —— 竞品 .tags：绝对定位 -0.3rem=-9.14 顶到行外，字体 .2rem=6.09 */
#p-rankgift .rg-item > .left > .tags {
  background: url('../assets/own/rank/energy/phb_bq.png') no-repeat;
  background-size: auto 100%; background-position: center;
  position: absolute; top: -9.14px; right: -9.14px; padding: 9.14px;
  font-size: 6.09px; z-index: 92; color: #fff; box-sizing: content-box; line-height: 1; }

/* 右 75% —— 竞品 .right：padding .2rem=6.09 */
#p-rankgift .rg-item > .right { width: 75%; display: flex; flex-direction: column; padding: 6.09px; box-sizing: border-box; }
/* 名称 —— 竞品 .title：.4rem=12.19 / 高 1.2rem=36.56 / 行高 .6rem=18.28 / 两行截断 / #333 */
#p-rankgift .rg-item > .right > .title { text-align: left; color: #333; font-size: 12.19px; height: 36.56px;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  text-overflow: ellipsis; line-height: 18.28px; max-height: 36.56px; }
#p-rankgift .rg-item > .right > .bot { display: flex; align-items: center; justify-content: space-between; }
/* 价格 —— 竞品 .bot-left：.5rem=15.23 / 蓝 #0048ff / 图标 .55rem=16.76 */
#p-rankgift .rg-item > .right > .bot > .bot-left { font-size: 15.23px; color: #0048ff; display: flex; align-items: center; }
#p-rankgift .rg-item > .right > .bot > .bot-left > img { width: 16.76px; margin-left: 3.05px; margin-bottom: 3.05px; }
#p-rankgift .rg-item > .right > .bot > .bot-right { display: flex; align-items: center; }
/* 详情钮 —— 竞品 .bottom：描边紫 / padding .15rem .3rem = 4.57 9.14 */
#p-rankgift .rg-item > .right > .bot > .bot-right > .bottom { font-size: 12.19px; color: #6055e2;
  padding: 4.57px 9.14px; border: 1px solid #6055e2; border-radius: 6.09px; margin-right: 6.09px; }
/* 兑换钮 —— 竞品 .bottom2：实底紫 */
#p-rankgift .rg-item > .right > .bot > .bot-right > .bottom2 { font-size: 12.19px; color: #fff;
  padding: 4.57px 9.14px; background: #6055e2; border-radius: 6.09px; }
/* 不可兑换置灰（我们商城同款口径 buyable=false） */
#p-rankgift .rg-item.off { opacity: .55; }
#p-rankgift .rg-empty { text-align: center; color: #8a7dcf; font-size: 12.19px; padding: 30px 0; }

/* 无封面占位（库里 id=12 天空龙 cover/image 为空）：紫色底上给个白字牌，别留空块 */
#p-rankgift .rg-item > .left > .rg-ph { font-size: 12.19px; color: rgba(255,255,255,.85);
  letter-spacing: 1px; font-weight: 700; }

/* ══ H5-347（11-19）「2026 兑换折扣」角标改成可点击 ══
   原状：inline_2.min.css 里 `#p-rank .rk-head .gift > .discountBtn {... pointer-events:none}`
   ⇒ 图在那儿但点不动，是张死图。这里同选择器覆盖（本文件在 inline_2.min.css 之后加载）。
   回滚：删掉这条即可恢复死图。 */
#p-rank .rk-head .gift > .discountBtn { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* ══ H5-347 折扣说明弹层压在所有遮罩之上 ══
   实测坑：进站提醒 #hm-notice-mask 是 z-index:600，而通用 .modal 只有 200
   ⇒ 那层没关时点折扣，说明弹层会被它整个盖住（截图实测：表格数字全被遮）。
   本弹层只从排行榜进，给 700 保证一定在最上面。 */
#m-rank-discount { z-index: 700; }

/* ══════════════════════════════════════════════════════════════════════════
   H5-348（11-19）能量兑换页 p-energy 重排 —— 版式照竞品 惊喜潮玩 WwjMoreGift
   袁总：「更多点进去之后，还是做一个排版，该放的图标要放上去，别是很 low 的那种，
          然后直接照着精品的做吧」
   竞品原值来源：http://e9x8y.jxcwpl.com/assets/index-23e030fa.css（scoped data-v-e667379e），
   1rem = 30.47px，逐值搬运；行卡尺寸与 #p-rankgift 的 .rg-item 同源（同一份竞品 CSS）。
   素材：gifts/g500|g1000|g5000|g10000（金币实物图）、energy/tc_nl（能量）、
        energy/tc_jingbi（金币）、energy/nl_01（能量小图标）、energy/phb_bq（角标底）。
   ══════════════════════════════════════════════════════════════════════════ */

/* 内容区（竞品 #box：width:100%; margin:.7rem .5rem 0）
   H5-349：再撑满一屏（减掉 nav 46 + 上边距），让底部「*注意」落到屏幕下方，
   否则内容只有 ~660px 时下半屏一大片空白（袁总「下面很空，没什么东西」）。 */
#p-energy .en-box { margin: 21.33px 15.23px 0; display: flex; flex-direction: column;
  min-height: calc(100vh - 46px - 21.33px); box-sizing: border-box; }

/* ①b 能量为 0 的窄提示条 —— 紧贴能量卡下沿（原来是大空态块被挤到页面最底部） */
#p-energy .en-zero { display: flex; align-items: center; justify-content: space-between;
  margin-top: 9.14px; padding: 7px 12px; border-radius: 8px;
  background: rgba(246,202,55,.10); border: 1px dashed rgba(246,202,55,.5); }
#p-energy .en-zero-t { font-size: 12.19px; color: #f0e6c8; line-height: 1.4; }
#p-energy .en-zero-b { font-size: 12.19px; font-weight: 800; color: #241F57; white-space: nowrap;
  background: linear-gradient(135deg,#f6ca37,#e1a52a); border-radius: 10px; padding: 4.5px 10px;
  margin-left: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; }

/* ① 我的能量卡 —— 竞品 #containerBox>.energyValue 是「能量数 + 获取记录 + 规则」三件套 */
#p-energy .en-mine { display: flex; align-items: center; justify-content: space-between;
  padding: 12.19px 15.23px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(61,52,134,.95), rgba(36,31,87,.95));
  border: 2px solid rgba(246,202,55,.55);
  box-shadow: 0 4px 14px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08); }
#p-energy .en-mine-l { display: flex; flex-direction: column; }
#p-energy .en-mine-lb { font-size: 12.19px; color: #cfc6ee; letter-spacing: .3px; }
#p-energy .en-mine-num { display: flex; align-items: center; margin: 2px 0 1px; }
#p-energy .en-mine-num > b { font-size: 30.47px; line-height: 1; color: #f6ca37; font-weight: 900;
  text-shadow: 0 2px 6px rgba(246,202,55,.35); }
#p-energy .en-mine-num > img { height: 22px; width: auto; margin-left: 7px; margin-bottom: 2px; }
#p-energy .en-mine-sub { font-size: 10.67px; color: #9a8fc0; }
#p-energy .en-mine-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6.09px; }
/* 药丸：竞品这三项是可点小字，我们做成描边小胶囊（深底上才看得清） */
#p-energy .en-pill { font-size: 12.19px; color: #f6ca37; padding: 3.05px 9.14px;
  border: 1px solid rgba(246,202,55,.55); border-radius: 10px;
  background: rgba(246,202,55,.10); cursor: pointer; white-space: nowrap; }

/* ② 标题行：金币图标 + 文字 + 右侧可点折扣角标 */
#p-energy .en-head { display: flex; align-items: center; justify-content: space-between;
  margin: 15.23px 0 3.05px; position: relative; min-height: 36px; }
#p-energy .en-head-l { display: flex; align-items: center; }
#p-energy .en-head-ico { width: 18.28px; margin-right: 6.09px; }
#p-energy .en-head-t { font-size: 16.76px; font-weight: 900; color: #fff124; letter-spacing: .5px;
  text-shadow: 0 2px 6px rgba(0,0,0,.45); }
#p-energy .en-head-tag { font-size: 10.67px; color: #241F57; font-weight: 700; margin-left: 6.09px;
  background: linear-gradient(135deg,#f6ca37,#e1a52a); border-radius: 8px; padding: 2.5px 6.09px; }
/* 折扣角标：竞品 .discountBtn 61×57，这里放右上，点了开说明弹层 */
#p-energy .en-disc { width: 45px; height: auto; cursor: pointer; margin-top: -6px;
  -webkit-tap-highlight-color: transparent; }

/* ③ 行卡列表 —— 竞品 #box>.listBox{margin:.7rem 0 .3rem; overflow-y:auto} */
#p-energy .en-listbox { margin: 9.14px 0 3.05px; display: flex; flex-direction: column; }

/* 行 —— 竞品 .listBox>.item：高 2.6rem=79.22 / 底 #c5c6ff / 阴影 0 .1rem .1rem #6468ff / 圆角 6.09 */
#p-energy .en-item { display: flex; align-items: center; height: 79.22px; margin: 6.09px 0 12.19px;
  background: #c5c6ff; box-shadow: 0 3.05px 3.05px #6468ff; border-radius: 6.09px; }

/* 左 25% 封面 —— 竞品 .left：紫渐变 + 紫阴影 + 左侧圆角 */
#p-energy .en-item > .left { width: 25%; height: 79.22px; box-sizing: border-box; position: relative;
  background: linear-gradient(0deg, #6b5b9a, #8a7dcf); box-shadow: 0 3.05px 3.05px #433089;
  border-radius: 6.09px 0 0 6.09px; display: flex; align-items: center; justify-content: center;
  padding: 0 6.09px; }
#p-energy .en-item > .left > img { width: 100%; max-height: 100%; object-fit: contain; }
/* 右上「热门」角标 —— 竞品 .tags：top/right -0.3rem=-9.14，padding .3rem，字号 .2rem=6.09 */
#p-energy .en-item > .left > .tags {
  background: url('../assets/own/rank/energy/phb_bq.png') no-repeat;
  background-size: auto 100%; background-position: center;
  position: absolute; top: -9.14px; right: -9.14px; padding: 9.14px;
  font-size: 6.09px; z-index: 92; color: #fff; box-sizing: content-box;
  line-height: 1; white-space: nowrap; }

/* 右 75% —— 竞品 .right：padding .2rem=6.09 */
#p-energy .en-item > .right { width: 75%; display: flex; flex-direction: column; padding: 6.09px;
  box-sizing: border-box; }
/* 名称 —— 竞品 .title：.4rem=12.19 / 行高 18.28 / #333 */
#p-energy .en-item > .right > .title { color: #333; font-size: 15.23px; font-weight: 800;
  line-height: 20px; }
#p-energy .en-item > .right > .bot { display: flex; align-items: center; justify-content: space-between;
  margin-top: 6.09px; }
/* 价格：7 折价（能量）+ 划线原价 —— 竞品 .bot-left 是 .5rem=15.23 / 蓝 #0048ff */
#p-energy .en-item > .right > .bot > .bot-left { display: flex; align-items: center; }
#p-energy .en-item > .right > .bot > .bot-left > .now { display: flex; align-items: center;
  font-size: 15.23px; font-weight: 800; color: #0048ff; }
#p-energy .en-item > .right > .bot > .bot-left > .now > .nl { height: 15px; width: auto;
  margin-left: 2px; margin-bottom: 2px; }
/* 划线原价 —— 竞品 .original-price-line：灰、带删除线 */
#p-energy .en-item > .right > .bot > .bot-left > .orig { font-size: 11.5px; color: #8a7dcf;
  text-decoration: line-through; margin-left: 6.09px; }
/* 兑换钮 —— 竞品 .bottom2：实底紫 / .4rem=12.19 / padding .15rem .3rem=4.57 9.14
   🔴 竞品原值高度只有 23px（4.57×2 + 12.19行高），实测点击热区太小、手指容易点空。
      这里把 padding 加到 8/16、字号 13 ⇒ 约 32px 高、60px 宽，仍落在 79.22 的行高内不溢出。
      这是唯一一处故意偏离竞品数值的地方（手感优先），其余全部逐值搬运。 */
#p-energy .en-item > .right > .bot > .bot-right > .bottom2 { font-size: 13px; color: #fff;
  padding: 8px 16px; background: #6055e2; border-radius: 6.09px; cursor: pointer;
  font-weight: 700; -webkit-tap-highlight-color: transparent; }

/* ④ 注意 —— 竞品 .attention 位置在列表下方 */
#p-energy .en-tip { font-size: 10.67px; color: #9a8fc0; text-align: center;
  margin: 6.09px 0 21.33px; line-height: 1.6; margin-top: auto; }
