.hg-coin-gate{
  position:absolute;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.62);color:#fff;text-align:center;padding:24px;box-sizing:border-box
}
/* 与播放页 head 里的同款规则一起：样式文件生效的同一帧也不要把锁层画给已登录用户。
   确认仍未解锁后 JS 加上 .is-coin-locked，这条 :not() 失效，上面的 display:flex 才生效。 */
html.hg-logged .hg-coin-gate:not(.is-coin-locked){display:none!important}
.hg-coin-gate__card{
  width:min(360px,100%);box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:16px;
  padding:22px 20px;border-radius:16px;background:#24242b;color:#fff;
  border:1px solid rgba(255,255,255,.28);
  box-shadow:0 0 0 1px rgba(255,74,123,.45),0 18px 48px rgba(0,0,0,.55)
}
.hg-coin-gate strong{font-size:18px;font-weight:600;line-height:1.4}
.hg-coin-gate__actions{display:flex;gap:12px}
.hg-coin-gate__actions button,.hg-coin-modal button,.hg-coin-recharge{
  height:40px;padding:0 16px;border-radius:10px;border:0;background:#ff4a7b;color:#fff;font-size:14px;cursor:pointer
}
.hg-coin-gate__actions button[data-coin-recharge],.hg-coin-modal button.is-ghost{
  background:#2a2a2e;color:#fff
}
.hg-coin-modal{
  position:fixed;inset:0;z-index:12030;display:flex;align-items:center;justify-content:center;
  padding:16px;box-sizing:border-box;background:rgba(0,0,0,.78)
}
.hg-coin-modal__card{
  width:min(420px,calc(100vw - 32px));box-sizing:border-box;background:#24242b;color:#fff;
  border-radius:16px;padding:20px;border:1px solid rgba(255,255,255,.28);
  box-shadow:0 0 0 1px rgba(255,74,123,.45),0 24px 64px rgba(0,0,0,.72)
}
.hg-coin-modal__card h3{margin:0 0 8px;font-size:18px}
.hg-coin-modal__card p{margin:0 0 14px;color:#c4c4c4;font-size:13px}
.hg-coin-packs{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.hg-coin-packs button{
  display:flex;justify-content:space-between;align-items:center;height:48px;padding:0 14px;border-radius:10px;
  border:1px solid rgba(255,255,255,.16);background:#16161a;color:#fff;cursor:pointer
}
.hg-coin-packs button.is-on{border-color:#ff4a7b;background:#2a1820;color:#ff4a7b}
.hg-coin-packs em{display:block;font-style:normal;font-size:12px;color:#ffd21c}
.hg-coin-pays{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}
.hg-coin-pays button{
  height:36px;padding:0 12px;border-radius:8px;border:1px solid rgba(255,255,255,.16);background:#16161a;color:#fff;cursor:pointer
}
.hg-coin-pays button.is-on{border-color:#ff4a7b;background:#2a1820;color:#ff4a7b}
.hg-coin-pays p,.hg-coin-packs p{margin:0;color:#c4c4c4;font-size:13px}
.hg-coin-rate{min-height:18px;margin:-6px 0 12px;font-size:12px;line-height:18px;color:#ffffff80}
.hg-coin-modal__row{display:flex;justify-content:flex-end;gap:8px}
.hg-coin-balance{margin:6px 0;color:#ffd21c}
.hg-play__ep-item.is-coin,.hg-web-detail__ep-grid a.is-coin{display:inline-flex;align-items:center;justify-content:center;gap:4px}
.hg-play__ep-item .hg-ep-lock,.hg-web-detail__ep-grid .hg-ep-lock{width:11px;height:13px;flex:none}
.hg-web-detail__ep-grid a.is-coin.is-active{border-color:#ff4a7b;color:#ff4a7b}
