/* 充值创作点弹层 — 对齐 web RechargePanelModal + profile 暗色壳 */
.hg-recharge[hidden]{display:none!important}
.hg-recharge{
  position:fixed;inset:0;z-index:2147483000;
  display:flex;align-items:center;justify-content:center;
  padding:16px;box-sizing:border-box;
}
.hg-recharge__mask{
  position:absolute;inset:0;background:rgba(0,0,0,.62);
}
.hg-recharge__panel{
  position:relative;z-index:1;
  width:min(420px,calc(100vw - 32px));
  max-height:min(86vh,640px);overflow:auto;
  border-radius:16px;background:#1a1a1e;color:#fff;
  box-shadow:0 16px 48px rgba(0,0,0,.45);
  padding:20px 18px 18px;box-sizing:border-box;
}
.hg-recharge__close{
  position:absolute;top:10px;right:10px;
  width:32px;height:32px;border:0;border-radius:50%;
  background:rgba(255,255,255,.08);color:#fff;
  font-size:20px;line-height:32px;cursor:pointer;
}
.hg-recharge__close:hover{background:rgba(255,255,255,.14)}

.hg-recharge__balance{
  display:flex;align-items:center;gap:12px;
  margin:0 0 16px;padding:14px 14px;
  border-radius:12px;
  background:linear-gradient(90deg,#ff7e41 0%,#ff4e21 100%);
}
.hg-recharge__balance-meta{min-width:0;flex:1}
.hg-recharge__balance-label{
  margin:0;font-size:12px;font-weight:500;opacity:.92;line-height:1.2;
}
.hg-recharge__balance-value{
  margin-top:4px;font-size:28px;font-weight:700;line-height:1;letter-spacing:-.01em;
}

.hg-recharge__head{
  display:flex;align-items:center;gap:6px;margin:0 0 14px;
}
.hg-recharge__head-icon{
  width:20px;height:20px;flex:none;color:#ff9144;
}
.hg-recharge__title{
  margin:0;font-size:16px;font-weight:700;color:#fff;
}

.hg-recharge__grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;
}
@media (max-width:420px){
  .hg-recharge__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.hg-recharge__pkg{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:center;
  gap:4px;min-height:56px;padding:10px;
  border-radius:12px;border:2px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.06);color:#fff;cursor:pointer;
  text-align:left;transition:border-color .15s,background .15s;
}
.hg-recharge__pkg.is-active{
  border-color:#ff9144;background:rgba(42,28,18,.85);
}
.hg-recharge__pkg-points{font-size:14px;font-weight:700;line-height:1.2}
.hg-recharge__pkg-price{
  font-size:12px;font-weight:600;color:rgba(255,255,255,.55);line-height:1.2;
}
.hg-recharge__pkg.is-active .hg-recharge__pkg-price{color:#ff9144}

.hg-recharge__skel{
  min-height:56px;border-radius:12px;
  background:linear-gradient(90deg,rgba(255,255,255,.06) 25%,rgba(255,255,255,.14) 50%,rgba(255,255,255,.06) 75%);
  background-size:200% 100%;animation:hg-recharge-shimmer 1.2s infinite;
}
@keyframes hg-recharge-shimmer{
  0%{background-position:200% 0}
  100%{background-position:-200% 0}
}

.hg-recharge__empty{
  padding:24px 0;text-align:center;font-size:13px;color:rgba(255,255,255,.55);
}

.hg-recharge__submit{
  display:block;width:100%;margin-top:16px;height:48px;
  border:0;border-radius:9999px;cursor:pointer;
  background:linear-gradient(90deg,#ff9144 0%,#ff6a2b 100%);
  color:#fff;font-size:16px;font-weight:700;
}
.hg-recharge__submit:disabled{opacity:.55;cursor:not-allowed}
.hg-recharge__submit:not(:disabled):hover{filter:brightness(1.05)}
