/* ------------------------------------------------------------------
 * 本地站补丁样式：只补原站由 JS/内联样式负责的部分，避免改动原 CSS 文件。
 * ------------------------------------------------------------------ */

/* 首屏轮播缩略图：宽度与轨道动画由 home.css（原站内联样式）负责，
   这里只保证面板不会溢出到标题区之外 */

/* 小屏：首屏简介改多行、操作按钮收紧，避免右侧被裁 */
@media (max-width: 1023px) {
  .hg-hero__desc {
    white-space: normal !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .hg-web-play__actions { gap: 8px; }
  .hg-web-play__actions .hg-web-play__action { font-size: 12px; padding: 0 8px; gap: 4px; }
}

/* 空状态 */
.hg-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 48px 0;
  color: rgba(255, 255, 255, .55);
  font-size: 14px;
}

/* 静态信息页正文 */
.hg-static-block {
  margin: 4px 0 28px;
  padding: 20px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
  line-height: 1.9;
}

.hg-static-block p { margin: 0 0 10px; }
.hg-static-block p:last-child { margin-bottom: 0; }

.hg-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding: 12px 0;
}

.hg-faq__item summary {
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  list-style: none;
}

.hg-faq__item summary::-webkit-details-marker { display: none; }
.hg-faq__item summary::after { content: '+'; float: right; color: rgba(255, 255, 255, .45); }
.hg-faq__item[open] summary::after { content: '–'; }
.hg-faq__body { color: rgba(255, 255, 255, .62); font-size: 13px; line-height: 1.9; padding-top: 8px; }

/* 最近浏览弹层 */
.hg-history-dialog {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: none;
}

.hg-history-dialog.is-open { display: block; }

.hg-history-dialog__mask {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, .6);
  cursor: pointer;
}

.hg-history-dialog__panel {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: min(360px, calc(100vw - 32px));
  max-height: 60vh;
  overflow: auto;
  padding: 20px;
  border-radius: 14px;
  background: #14120f;
  border: 1px solid rgba(255, 255, 255, .08);
}

.hg-history-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.hg-history-dialog__actions { display: flex; align-items: center; gap: 10px; }

.hg-history-dialog__clear,
.hg-history-dialog__close {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  cursor: pointer;
}

.hg-history-dialog__list { display: flex; flex-direction: column; gap: 10px; }

.hg-history-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.hg-history-item img { border-radius: 6px; object-fit: cover; }

/* 播放器容器：原站由 xgplayer 接管，这里给原生 video 一个稳定的容器高度 */
.hg-web-play__viewport { position: relative; }
.hg-web-play__video { width: 100%; height: 100%; display: block; background: #000; }

/* 收藏/点赞激活态 */
.hg-web-play__action.is-on { color: var(--color-primary, #f0263c); }

/* ---------------- 18+ 年龄确认（复刻原站 hg-age-modal） ---------------- */
html.hg-age-locked { overflow: hidden; }
html.hg-age-locked::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #0d0d0d;
}

.hg-age-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
  color: #fff;
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hg-age-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, rgba(240, 38, 60, .10), transparent 60%);
}

.hg-age-modal__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(500px, calc(100vw - 48px));
  gap: 40px;
  text-align: center;
}

.hg-age-modal__logo {
  display: block;
  width: min(260px, 60vw);
  height: auto;
  aspect-ratio: 260 / 72;
  object-fit: contain;
}

.hg-age-modal__notice { margin: 0; width: 100%; font-size: clamp(18px, 4.8vw, 24px); font-weight: 500; line-height: 1.6; }
.hg-age-modal__actions { display: flex; flex-direction: column; align-items: center; width: 100%; gap: 16px; }

.hg-age-modal .hg-age-modal__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 30px;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.375;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}

.hg-age-modal .hg-age-modal__btn:active { transform: scale(.98); }
.hg-age-modal .hg-age-modal__btn--enter { background: #f0263c; color: #000; font-weight: 600; }
.hg-age-modal .hg-age-modal__btn--enter:hover { opacity: .92; }
.hg-age-modal .hg-age-modal__btn--leave { border: 1px solid rgba(255, 255, 255, .07); background: #181713; color: rgba(255, 255, 255, .8); font-weight: 500; }
.hg-age-modal .hg-age-modal__btn--leave:hover { border-color: rgba(255, 255, 255, .16); color: #fff; }
.hg-age-modal__legal { margin: 0; width: 100%; color: rgba(255, 255, 255, .4); font-size: clamp(12px, 3.2vw, 14px); line-height: 1.5; }
.hg-age-modal__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ===== 片库：热门标签（位于各板块之上） ===== */
.hg-hot-tags {
  padding: 22px 0 6px;
}

.hg-hot-tags__head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.hg-hot-tags__head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .3px;
}

.hg-hot-tags__hint {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
}

.hg-hot-tags__scroller {
  position: relative;
  display: flex;
  align-items: center;
}

.hg-hot-tags__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0 6px;
  /* 两端留出箭头的位置，滚动到头时不压字 */
  margin: 0;
}

.hg-hot-tags__list::-webkit-scrollbar {
  display: none;
}

.hg-hot-tags__list > .hg-hot-tag {
  flex: 0 0 auto;
  white-space: nowrap;
  scroll-snap-align: start;
}

.hg-hot-tags__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  padding: 0;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(24, 24, 28, .96);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  transition: opacity .18s ease, background .18s ease, border-color .18s ease;
}

.hg-hot-tags__arrow.is-visible {
  display: flex;
  opacity: .8;
}

.hg-hot-tags__arrow:hover {
  background: rgba(240, 38, 60, .9);
  border-color: rgba(240, 38, 60, .9);
  color: #fff;
}

.hg-hot-tags__arrow[disabled] {
  opacity: .32;
  pointer-events: none;
}

.hg-hot-tags__arrow--prev { left: 4px; }
.hg-hot-tags__arrow--next { right: 100px; }

.hg-hot-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .86);
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.hg-hot-tag:hover {
  background: rgba(240, 38, 60, .14);
  border-color: rgba(240, 38, 60, .5);
  color: #fff;
  transform: translateY(-1px);
  text-decoration: none;
}

.hg-hot-tag__count {
  font-size: 11px;
  color: rgba(255, 255, 255, .38);
}

.hg-hot-tag--top {
  background: rgba(240, 38, 60, .14);
  border-color: rgba(240, 38, 60, .35);
  color: #ff8a95;
}

.hg-hot-tag--top .hg-hot-tag__count {
  color: rgba(255, 138, 149, .7);
}

@media (max-width: 1023px) {
  .hg-hot-tags { padding: 16px 0 4px; }
  .hg-hot-tags__head h2 { font-size: 17px; }
  .hg-hot-tags__list { gap: 8px; }
  .hg-hot-tag { padding: 6px 12px; font-size: 12px; }
  .hg-hot-tags__arrow { width: 30px; height: 30px; background: rgba(12,12,14,.96); border-color: rgba(255,255,255,.22); }
  .hg-hot-tags__arrow--prev { left: 2px; }
  .hg-hot-tags__arrow--next { right: 46px; }
}

/* ===== 下载 APP 引导页 ===== */
.hg-dl__hero {
  max-width: 760px;
  margin: 24px auto 48px;
  padding: 0 4px;
  text-align: center;
}
.hg-dl__logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  object-fit: contain;
  background: rgba(255, 255, 255, .04);
  padding: 10px;
}
.hg-dl__hero h1 {
  margin: 16px 0 8px;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
}
.hg-dl__meta {
  margin: 0 0 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}
.hg-dl__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b4f, #ff6a3d);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 59, 79, .32);
  transition: transform .16s ease, box-shadow .16s ease;
}
.hg-dl__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(255, 59, 79, .42);
}
.hg-dl__link {
  margin: 12px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  word-break: break-all;
}
.hg-dl__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 34px;
  text-align: left;
}
@media (min-width: 768px) {
  .hg-dl__cols { grid-template-columns: repeat(3, 1fr); }
}
.hg-dl__col {
  padding: 18px 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .07);
}
.hg-dl__col h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.hg-dl__col ol,
.hg-dl__col p {
  margin: 0;
  padding-left: 0;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .6);
}
.hg-dl__col ol { padding-left: 18px; }
.hg-dl__col code {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .08);
  font-size: 12px;
}
.hg-dl__tip {
  margin-top: 10px !important;
  font-size: 12px;
  color: rgba(255, 255, 255, .42);
}
.hg-dl__qr {
  margin-top: 12px;
  display: inline-flex;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}
.hg-dl__qr img,
.hg-dl__qr canvas {
  display: block;
  width: 132px;
  height: 132px;
}
/* 首页视频流顶部「下载APP」chip */
.ff-chip--app {
  background: rgba(255, 59, 79, .16);
  border-color: rgba(255, 59, 79, .4);
  color: #ff8a94;
}
/* ===== 下载页：安装激活码（APP 归因） ===== */
.hg-dl__code {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 8px 10px 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
}
.hg-dl__code-label {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
}
.hg-dl__code-val {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  color: #ff8a94;
}
.hg-dl__code-copy {
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.hg-dl__code-copy:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.hg-dl__code-tip {
  margin: 8px 0 0;
  font-size: 11px;
  color: rgba(255, 255, 255, .38);
}
/* ===== 分集付费：分集角标 + 播放器遮罩 ===== */
.hg-web-play__ep {
  position: relative;
}
/* 锁定集：仍然可点（点了进该集看解锁方式），所以不做禁用视觉。
   注意 play.css 第 245 行有 .is-locked{opacity:.35;cursor:not-allowed;pointer-events:none}，
   必须显式覆盖这三个属性，否则点击会被吃掉。 */
.hg-web-play__ep {
  cursor: pointer;
}
.hg-web-play__ep.is-locked {
  color: rgba(255, 255, 255, .82) !important;
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}
.hg-web-play__ep.is-locked:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
}
.hg-web-play__ep.is-locked .hg-ep-lock {
  opacity: 1;
}
.hg-ep-lock {
  position: absolute;
  top: -4px;
  right: -4px;
  padding: 0 4px;
  border-radius: 6px;
  font-size: 9px;
  font-style: normal;
  line-height: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff3b4f, #b4286f);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
  pointer-events: none;
}

/* 播放器遮罩 */
.hg-paywall {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: radial-gradient(circle at 50% 40%, rgba(30, 10, 20, .92), rgba(8, 8, 10, .97));
  transition: opacity .25s ease;
}
.hg-paywall__box {
  width: min(420px, 100%);
  text-align: center;
  color: #fff;
}
.hg-paywall__lock {
  font-size: 34px;
  line-height: 1;
  margin-bottom: 10px;
  opacity: .85;
}
.hg-paywall__title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
}
.hg-paywall__desc {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .62);
}
.hg-paywall__btn {
  display: inline-block;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #ff3b4f, #ff6a3d);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.hg-paywall__btn:hover { filter: brightness(1.08); }
.hg-paywall__btn--vip {
  margin-top: 10px;
  background: linear-gradient(135deg, #6a3df5, #b4286f);
}
.hg-paywall__btn--pack {
  width: auto;
  padding: 7px 14px;
  font-size: 13px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
}
.hg-paywall__pack {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, .72);
}
.hg-paywall__pack b { color: #ffcf6b; }
.hg-paywall__pack em { font-style: normal; color: #7dffb0; font-size: 12px; }
.hg-paywall__hint {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
}
.hg-paywall__hint a { color: #ff8a94; }
.hg-paywall__msg {
  margin-top: 10px;
  font-size: 12px;
  color: #ffcf6b;
  min-height: 16px;
}
@media (max-width: 768px) {
  .hg-paywall__lock { font-size: 28px; }
  .hg-paywall__title { font-size: 17px; }
  .hg-paywall__btn { padding: 11px 16px; font-size: 14px; }
}
/* ===== paywall：主推至尊会员 ===== */
.hg-paywall__btn--supreme {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 13px 18px 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffcf6b 0%, #ff8a3d 45%, #d1236b 100%);
  color: #2a0a12;
  box-shadow: 0 8px 28px rgba(255, 150, 60, .38), inset 0 1px 0 rgba(255, 255, 255, .3);
  position: relative;
  overflow: hidden;
}
.hg-paywall__btn--supreme::after {
  content: '推荐';
  position: absolute;
  top: 6px;
  right: -22px;
  padding: 2px 24px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  transform: rotate(38deg);
  letter-spacing: .5px;
}
.hg-paywall__btn--supreme:hover {
  filter: brightness(1.06);
  text-decoration: none;
}
.hg-paywall__btn-main {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .3px;
}
.hg-paywall__btn-sub {
  font-size: 11.5px;
  font-weight: 500;
  opacity: .78;
}

/* 解锁全集：次要按钮 */
.hg-paywall__btn--pack {
  margin-top: 10px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 16px;
  border-radius: 999px;
}
.hg-paywall__btn--pack:hover { background: rgba(255, 255, 255, .16); }

/* 解锁本集：最弱 */
.hg-paywall__btn--single {
  margin-top: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
}
.hg-paywall__btn--single:hover { color: #fff; border-color: rgba(255, 255, 255, .32); }

/* 分集角标：数字更紧凑 */
.hg-ep-lock {
  min-width: 16px;
  text-align: center;
  letter-spacing: -.2px;
}
/* ===== 首页视频流：需要解锁的集 ===== */
.ff-paywall {
  position: absolute;
  inset: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: radial-gradient(circle at 50% 38%, rgba(28, 8, 18, .94), rgba(6, 6, 8, .98));
}
.ff-paywall__box {
  width: min(340px, 100%);
  text-align: center;
  color: #fff;
}
.ff-paywall__lock {
  font-size: 30px;
  margin-bottom: 8px;
  opacity: .85;
}
.ff-paywall__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.ff-paywall__desc {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
}
.ff-paywall__btn {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3b4f, #ff6a3d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}
.ff-paywall__btn:hover { filter: brightness(1.08); }
.ff-paywall__btn--vip {
  background: linear-gradient(135deg, #ffcf6b 0%, #ff8a3d 45%, #d1236b 100%);
  color: #2a0a12;
  box-shadow: 0 8px 24px rgba(255, 150, 60, .32);
}
.ff-paywall__btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .68);
  font-weight: 500;
  font-size: 13px;
  padding: 10px 16px;
}
/* ===== 沉浸层（全屏观看）付费墙 ===== */
.wo-paywall {
  position: absolute;
  inset: 0;
  z-index: 22;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: radial-gradient(circle at 50% 38%, rgba(28, 8, 18, .94), rgba(5, 5, 7, .98));
}
.wo-paywall__box {
  width: min(350px, 100%);
  text-align: center;
  color: #fff;
}
.wo-paywall__lock { font-size: 30px; margin-bottom: 8px; opacity: .85; }
.wo-paywall__title { margin: 0 0 8px; font-size: 18px; font-weight: 700; }
.wo-paywall__desc {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
}
.wo-paywall__btn {
  display: block;
  width: 100%;
  margin-top: 9px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #ff3b4f, #ff6a3d);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.wo-paywall__btn:hover { filter: brightness(1.08); }
.wo-paywall__btn--vip {
  background: linear-gradient(135deg, #ffcf6b 0%, #ff8a3d 45%, #d1236b 100%);
  color: #2a0a12;
  box-shadow: 0 8px 24px rgba(255, 150, 60, .32);
}
.wo-paywall__btn--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .68);
  font-weight: 500;
  font-size: 13px;
  padding: 10px 16px;
}
.wo-paywall__msg {
  margin-top: 10px;
  font-size: 12px;
  color: #ffcf6b;
  min-height: 16px;
}
/* ===== 沉浸层付费墙：三档按钮（对齐内容页） ===== */
.wo-paywall__btn--supreme {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 16px 11px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffcf6b 0%, #ff8a3d 45%, #d1236b 100%);
  color: #2a0a12;
  box-shadow: 0 8px 26px rgba(255, 150, 60, .36);
  position: relative;
  overflow: hidden;
}
.wo-paywall__btn--supreme::after {
  content: '推荐';
  position: absolute;
  top: 5px;
  right: -22px;
  padding: 2px 24px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, .35);
  transform: rotate(38deg);
}
.wo-paywall__btn-main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .3px;
}
.wo-paywall__btn-sub {
  font-size: 11px;
  font-weight: 500;
  opacity: .78;
}
.wo-paywall__btn--pack {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 11px 16px;
}
.wo-paywall__btn--single {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .66);
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 16px;
}
.wo-paywall__btn--single:hover { color: #fff; border-color: rgba(255, 255, 255, .32); }

/* ===== 分集角标：VIP / 金币 ===== */
/* 2026-11-24 修：这块原先把上面第 533 行的 .hg-ep-lock 覆盖掉了，
   却漏了 position/top/right/pointer-events，导致角标不再浮在选集按钮右上角，
   而是挤进按钮内容流、把按钮撑变形。定位属性在这里补回来。 */
.hg-ep-lock {
  position: absolute;
  top: -4px;
  right: -4px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}
.hg-ep-lock--vip {
  padding: 1px 3px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ffd76b, #ff9a3d);
  color: #3a1b00;
  box-shadow: 0 1px 4px rgba(255, 160, 60, .45);
}
.hg-ep-lock--coin {
  padding: 1px 3px;
  border-radius: 3px;
  background: rgba(255, 214, 102, .92);
  color: #4a2c00;
  font-variant-numeric: tabular-nums;
}
.hg-ep-lock--coin svg {
  color: #f5b83d;
  flex: none;
}

/* ===== 专区入口：免费 / 会员 / 金币 / 排行榜 ===== */
.hg-zone-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 18px;
}
.hg-zone-nav__item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .035);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
  min-width: 0;
}
.hg-zone-nav__item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .07);
}
.hg-zone-nav__icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
}
.hg-zone-nav__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.hg-zone-nav__name {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.hg-zone-nav__hint {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 免费：绿 */
.hg-zone-nav__item--free { border-color: rgba(64, 210, 140, .28); }
.hg-zone-nav__item--free .hg-zone-nav__icon { background: rgba(64, 210, 140, .16); color: #4adc96; }
.hg-zone-nav__item--free:hover { border-color: rgba(64, 210, 140, .6); }

/* 会员：紫金 */
.hg-zone-nav__item--vip { border-color: rgba(201, 182, 255, .28); }
.hg-zone-nav__item--vip .hg-zone-nav__icon { background: rgba(201, 182, 255, .16); color: #c9b6ff; }
.hg-zone-nav__item--vip:hover { border-color: rgba(201, 182, 255, .6); }

/* 金币：金 */
.hg-zone-nav__item--coin { border-color: rgba(255, 200, 92, .28); }
.hg-zone-nav__item--coin .hg-zone-nav__icon { background: rgba(255, 200, 92, .16); color: #ffc85c; }
.hg-zone-nav__item--coin:hover { border-color: rgba(255, 200, 92, .6); }

/* 排行榜：红 */
.hg-zone-nav__item--rank { border-color: rgba(255, 96, 96, .28); }
.hg-zone-nav__item--rank .hg-zone-nav__icon { background: rgba(255, 96, 96, .16); color: #ff6060; }
.hg-zone-nav__item--rank:hover { border-color: rgba(255, 96, 96, .6); }

/* 移动端：两列 */
@media (max-width: 720px) {
  .hg-zone-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 14px;
  }
  .hg-zone-nav__item { padding: 9px 10px; gap: 8px; }
  .hg-zone-nav__icon { width: 30px; height: 30px; }
  .hg-zone-nav__name { font-size: 13px; }
  .hg-zone-nav__hint { font-size: 10.5px; }
}

/* ===== 会员中心：会员等级 + 到期时间 ===== */
.hg-mp__vip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .035);
}
.hg-mp__vip.is-active {
  border-color: rgba(201, 182, 255, .32);
  background: linear-gradient(100deg, rgba(201, 182, 255, .10), rgba(255, 255, 255, .03));
}
.hg-mp__vip-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2px;
  background: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .78);
  white-space: nowrap;
}
.hg-mp__vip.is-active .hg-mp__vip-tag {
  background: linear-gradient(135deg, #ffd76b, #ff9a3d);
  color: #3a1b00;
}
/* 各等级徽章配色 */
.hg-mp__vip--lv1 .hg-mp__vip-tag { background: linear-gradient(135deg, #9fd6ff, #4aa8ff); color: #06223d; }
.hg-mp__vip--lv2 .hg-mp__vip-tag { background: linear-gradient(135deg, #a6f0c6, #3dd68c); color: #04301c; }
.hg-mp__vip--lv3 .hg-mp__vip-tag { background: linear-gradient(135deg, #ffe08a, #f5b83d); color: #3a2600; }
.hg-mp__vip--lv4 .hg-mp__vip-tag { background: linear-gradient(135deg, #ffb3c7, #ff5f8f); color: #3d0014; }
.hg-mp__vip--lv5 .hg-mp__vip-tag { background: linear-gradient(135deg, #e0d3ff, #a98bff); color: #220a4d; }

.hg-mp__vip-expire {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .62);
  font-variant-numeric: tabular-nums;
}
.hg-mp__vip-expire.is-forever { color: #ffd76b; font-weight: 600; }
.hg-mp__vip-expire.is-soon    { color: #ff8f6b; font-weight: 600; }
.hg-mp__vip-expire.is-expired { color: rgba(255, 255, 255, .4); }
.hg-mp__vip-expire.is-none    { color: rgba(255, 255, 255, .45); }

.hg-mp__vip-link {
  margin-left: auto;
  font-size: 12.5px;
  color: #ffd76b;
  text-decoration: none;
  white-space: nowrap;
}
.hg-mp__vip-link:hover { text-decoration: underline; }

@media (max-width: 720px) {
  .hg-mp__vip { gap: 8px; padding: 9px 12px; margin: 8px 0 12px; }
  .hg-mp__vip-tag { font-size: 11.5px; }
  .hg-mp__vip-expire { font-size: 11.5px; }
  .hg-mp__vip-link { font-size: 11.5px; }
}

/* ===== 会员开通页 ===== */
.hg-vip-page { max-width: 1080px; margin: 0 auto; padding: 16px 0 40px; }
.hg-vip-page__head { margin-bottom: 18px; }
.hg-vip-page__head h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px; color: #fff; }
.hg-vip-page__status {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0;
}
.hg-vip-page__status.is-supreme {
  color: #ffd76b;
  border-color: rgba(255, 215, 107, .35);
  background: rgba(255, 215, 107, .08);
}

.hg-vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.hg-vip-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px 16px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .035);
  transition: border-color .16s ease, transform .16s ease;
}
.hg-vip-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .2); }
.hg-vip-card.is-featured {
  grid-column: span 2;
  border-color: rgba(255, 215, 107, .42);
  background: linear-gradient(150deg, rgba(255, 215, 107, .1), rgba(255, 255, 255, .03));
}
.hg-vip-card.hg-vip-card--lv5 { border-color: rgba(201, 182, 255, .4); }
.hg-vip-card.is-current { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }

.hg-vip-card__ribbon {
  position: absolute; top: -1px; right: 14px;
  background: linear-gradient(135deg, #ffd76b, #ff9a3d);
  color: #3a1b00;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 8px 8px;
}
.hg-vip-card__cur {
  position: absolute; top: 12px; right: 14px;
  font-size: 10.5px; font-weight: 600;
  color: #4adc96;
  border: 1px solid rgba(74, 220, 150, .4);
  border-radius: 999px;
  padding: 1px 8px;
}

.hg-vip-card__name { margin-bottom: 8px; }
.hg-vip-card__perk {
  font-size: 12px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.55;
  margin: 0 0 12px;
  min-height: 18px;
}
.hg-vip-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.hg-vip-card__orig {
  font-size: 12px;
  color: rgba(255, 255, 255, .35);
  text-decoration: line-through;
}
.hg-vip-card__now b { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.hg-vip-card__now i { font-size: 12px; font-style: normal; color: rgba(255, 255, 255, .55); margin-left: 2px; }

.hg-vip-card__gift {
  font-size: 12px;
  color: #ffd76b;
  margin-bottom: 12px;
}
.hg-vip-card__gift b { font-weight: 700; }

.hg-vip-card__act { margin-top: auto; }
.hg-vip-buy { margin: 0; }
.hg-vip-card__btn {
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease;
}
.hg-vip-card__btn:hover:not(:disabled) { background: rgba(255, 255, 255, .13); }
.hg-vip-card__btn.is-primary {
  background: linear-gradient(135deg, #ffd76b, #ff9a3d);
  border-color: transparent;
  color: #3a1b00;
}
.hg-vip-card__btn.is-primary:hover { filter: brightness(1.06); }
.hg-vip-card__btn:disabled { opacity: .42; cursor: not-allowed; }

.hg-vip-note {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .06);
}
.hg-vip-note p { font-size: 12px; color: #ffd76b; line-height: 1.9; margin: 0; }

@media (max-width: 720px) {
  .hg-vip-page { padding: 12px 0 32px; }
  .hg-vip-page__head h1 { font-size: 19px; }
  .hg-vip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hg-vip-card { padding: 14px 12px 12px; border-radius: 12px; }
  .hg-vip-card.is-featured { grid-column: span 2; }
  .hg-vip-card__now b { font-size: 22px; }
  .hg-vip-card__perk { font-size: 11px; }
  .hg-vip-card__btn { padding: 9px 10px; font-size: 12.5px; }
}

/* ===== 金币充值页 ===== */
.hg-recharge-page { max-width: 900px; margin: 0 auto; padding: 16px 0 40px; }
.hg-recharge-page__head { margin-bottom: 18px; }
.hg-recharge-page__head h1 { font-size: 22px; font-weight: 700; margin: 0 0 8px; color: #fff; }
.hg-recharge-page__balance {
  display: inline-block;
  font-size: 13px;
  color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  padding: 4px 12px;
  margin: 0;
}
.hg-recharge-page__balance b { color: #ffd76b; font-weight: 700; }

.hg-recharge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.hg-recharge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .035);
  transition: border-color .16s ease, transform .16s ease;
}
.hg-recharge-card:hover { transform: translateY(-2px); border-color: rgba(255, 215, 107, .4); }
.hg-recharge-card.has-gift { border-color: rgba(255, 215, 107, .22); }
.hg-recharge-card__price { display: flex; align-items: baseline; gap: 2px; margin-bottom: 6px; }
.hg-recharge-card__price b { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.hg-recharge-card__price i { font-size: 12px; font-style: normal; color: rgba(255, 255, 255, .5); }
.hg-recharge-card__coins { display: flex; align-items: baseline; gap: 4px; }
.hg-recharge-card__coins b { font-size: 16px; font-weight: 700; color: #ffd76b; }
.hg-recharge-card__coins span { font-size: 11.5px; color: rgba(255, 255, 255, .45); }
.hg-recharge-card__gift { font-size: 11.5px; color: #4adc96; margin-top: 4px; }
.hg-recharge-card__detail { font-size: 11px; color: rgba(255, 255, 255, .3); margin-top: 2px; font-variant-numeric: tabular-nums; }
.hg-recharge-buy { margin: 12px 0 0; width: 100%; }
.hg-recharge-card__btn {
  width: 100%;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 215, 107, .35);
  background: rgba(255, 215, 107, .1);
  color: #ffd76b;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease;
}
.hg-recharge-card__btn:hover { background: rgba(255, 215, 107, .2); }

.hg-recharge-note {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .06);
}
.hg-recharge-note p { font-size: 12px; color: rgba(255, 255, 255, .42); line-height: 1.9; margin: 0; }
.hg-recharge-back { margin-top: 16px; font-size: 13px; }
.hg-recharge-back a { color: rgba(255, 255, 255, .5); text-decoration: none; }
.hg-recharge-back a:hover { color: #ffd76b; }

@media (max-width: 720px) {
  .hg-recharge-page { padding: 12px 0 32px; }
  .hg-recharge-page__head h1 { font-size: 19px; }
  .hg-recharge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hg-recharge-card { padding: 14px 10px 12px; }
  .hg-recharge-card__price b { font-size: 21px; }
}

/* ===== 会员开通页 · 顶部操作条 ===== */
.hg-vip-page__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hg-vip-page__back,
.hg-vip-page__home {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.hg-vip-page__back:hover,
.hg-vip-page__home:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.hg-vip-page__home { margin-left: auto; }

/* ===== 会员开通页 · 一行一个 ===== */
.hg-vip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hg-vip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 13px;
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .035);
  transition: border-color .16s ease, background .16s ease;
}
.hg-vip-row:hover { border-color: rgba(255, 255, 255, .2); }
.hg-vip-row.is-featured {
  border-color: rgba(255, 215, 107, .42);
  background: linear-gradient(100deg, rgba(255, 215, 107, .1), rgba(255, 255, 255, .03));
}
.hg-vip-row.hg-vip-row--lv5 { border-color: rgba(201, 182, 255, .4); }
.hg-vip-row.is-current { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }

.hg-vip-row__left { min-width: 0; flex: 1; }
.hg-vip-row__title {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 5px;
}
.hg-vip-row__ribbon {
  font-size: 10.5px;
  font-weight: 700;
  color: #3a1b00;
  background: linear-gradient(135deg, #ffd76b, #ff9a3d);
  border-radius: 999px;
  padding: 1px 8px;
}
.hg-vip-row__cur {
  font-size: 10.5px;
  font-weight: 600;
  color: #4adc96;
  border: 1px solid rgba(74, 220, 150, .4);
  border-radius: 999px;
  padding: 1px 8px;
}
.hg-vip-row__perk {
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  line-height: 1.5;
  margin: 0;
}
.hg-vip-row__gift {
  font-size: 12px;
  color: #ffd76b;
  margin: 4px 0 0;
}
.hg-vip-row__gift b { font-weight: 700; }

.hg-vip-row__right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}
.hg-vip-row__price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.hg-vip-row__orig {
  font-size: 11px;
  color: rgba(255, 255, 255, .32);
  text-decoration: line-through;
  line-height: 1;
}
.hg-vip-row__now { display: flex; align-items: baseline; gap: 2px; }
.hg-vip-row__now b { font-size: 22px; font-weight: 800; color: #fff; line-height: 1; }
.hg-vip-row__now i { font-size: 11.5px; font-style: normal; color: rgba(255, 255, 255, .5); }

.hg-vip-buy { margin: 0; }
.hg-vip-row__btn {
  min-width: 88px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s ease;
}
.hg-vip-row__btn:hover:not(:disabled) { background: rgba(255, 255, 255, .13); }
.hg-vip-row__btn.is-primary {
  background: linear-gradient(135deg, #ffd76b, #ff9a3d);
  border-color: transparent;
  color: #3a1b00;
}
.hg-vip-row__btn.is-primary:hover { filter: brightness(1.06); }
.hg-vip-row__btn:disabled { opacity: .42; cursor: not-allowed; }

@media (max-width: 720px) {
  .hg-vip-row { padding: 12px 12px; gap: 10px; }
  .hg-vip-row__now b { font-size: 19px; }
  .hg-vip-row__perk { font-size: 11px; }
  .hg-vip-row__gift { font-size: 11px; }
  .hg-vip-row__btn { min-width: 74px; padding: 8px 10px; font-size: 12px; }
  .hg-vip-row__price { min-width: 60px; }
}

/* ===== 会员中心：金币旁的充值按钮 ===== */
.hg-mp__stats-recharge {
  display: inline-flex;
  align-items: center;
  height: 18px;
  padding: 0 7px;
  margin-top: 3px;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 107, .4);
  background: rgba(255, 215, 107, .1);
  color: #ffd76b;
  font-size: 10.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .16s ease;
}
.hg-mp__stats-recharge:hover { background: rgba(255, 215, 107, .22); }

/* ===== 子页通用返回条（会员页 / 充值页共用） ===== */
.hg-subpage-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hg-subpage-nav__back,
.hg-subpage-nav__home {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .72);
  font-size: 12.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.hg-subpage-nav__back:hover,
.hg-subpage-nav__home:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.hg-subpage-nav__home { margin-left: auto; }

@media (max-width: 720px) {
  .hg-subpage-nav { margin-bottom: 10px; gap: 8px; }
  .hg-subpage-nav__back,
  .hg-subpage-nav__home { height: 28px; padding: 0 10px; font-size: 12px; }
}

/* ===== 支付收银台 · 支付按钮 ===== */
.hg-pay-page { max-width: 560px; margin: 0 auto; padding: 16px 0 48px; }

.hg-pay-card {
  margin-top: 18px;
  padding: 26px 22px 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.hg-pay-card__head h1 { font-size: 21px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.hg-pay-card__sub { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }

.hg-pay-card__amount {
  margin: 20px 0 18px;
  color: #ffd76b;
  font-weight: 700;
  line-height: 1;
}
.hg-pay-card__cur { font-size: 20px; margin-right: 2px; }
.hg-pay-card__amount b { font-size: 40px; letter-spacing: -.5px; }

.hg-pay-card__meta {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(0,0,0,.22);
  text-align: left;
}
.hg-pay-card__meta > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 12.5px;
}
.hg-pay-card__meta dt { color: rgba(255,255,255,.42); margin: 0; }
.hg-pay-card__meta dd { color: rgba(255,255,255,.82); margin: 0; word-break: break-all; text-align: right; }
.hg-pay-card__meta dd.is-ok { color: #6ee7a8; font-weight: 600; }

.hg-pay-card__btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  border-radius: 12px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: #1b1206;
  background: linear-gradient(135deg, #ffd76b, #f3b23c);
  cursor: pointer;
}
.hg-pay-card__btn:hover { filter: brightness(1.06); }

.hg-pay-card__tip { margin: 12px 0 0; font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.7; }
.hg-pay-card__tip.is-err { color: #ff8f8f; }

/* 双支付方式按钮 */
.hg-vip-buy--pay {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 96px;
}
.hg-recharge-buy.hg-vip-buy--pay { gap: 5px; }
.hg-vip-buy--pay .hg-vip-row__btn,
.hg-recharge-buy.hg-vip-buy--pay .hg-recharge-card__btn {
  width: 100%;
  padding: 7px 10px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .16s ease;
}
.hg-vip-row__btn--alipay { color: #062a4d !important; background: linear-gradient(135deg, #7fd0ff, #38a9f5); }
.hg-vip-row__btn--wxpay  { color: #04220f !important; background: linear-gradient(135deg, #8ce89c, #2fbf51); }
.hg-vip-row__btn--alipay:hover,
.hg-vip-row__btn--wxpay:hover { filter: brightness(1.08); }

@media (max-width: 720px) {
  .hg-pay-page { padding: 12px 0 36px; }
  .hg-pay-card { padding: 20px 16px 20px; border-radius: 14px; }
  .hg-pay-card__head h1 { font-size: 19px; }
  .hg-pay-card__amount b { font-size: 34px; }
  .hg-vip-buy--pay { flex-direction: column; min-width: 84px; }
}

/* ================================================================
 * 免费模式（FREE_MODE = true，2026-11-29 本地改造）
 * 服务端已经把付费墙判定全部放行，这里只做视觉兜底：
 * 任何残留的付费墙 / VIP 角标 / 金币角标 / 打赏入口一律不显示。
 * ================================================================ */
body.is-free .hg-paywall,
body.is-free .ff-paywall,
body.is-free .hg-ep-lock--vip,
body.is-free .hg-ep-lock--coin,
body.is-free .ff-ep__badge--vip,
body.is-free .ff-ep__badge--coin,
body.is-free .ff-act--tip,
body.is-free #ffTip,
body.is-free .hg-mp__stats-recharge,
body.is-free .hg-mp__vip-link { display: none !important; }

/* ---------------- 自动播放：静音提示 ----------------
   浏览器拦截带声音的自动播放时，我们先静音起播，再用这个按钮提示用户开声 */
.hg-sound-tip{
  position:absolute;left:14px;bottom:70px;z-index:6;
  display:inline-flex;align-items:center;gap:6px;
  padding:8px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.28);
  background:rgba(0,0,0,.62);color:#fff;font-size:13px;line-height:1;
  cursor:pointer;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  animation:hg-tip-in .25s ease both;
}
.hg-sound-tip:hover{background:rgba(0,0,0,.75)}
@keyframes hg-tip-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (max-width:720px){ .hg-sound-tip{left:10px;bottom:64px;font-size:12px;padding:7px 12px} }
