/* 续时弹窗：支付位 → 兑换位（覆盖层，不改动由 tools/build_css.mjs 生成的 base.css） */

/* 按钮沿用小程序的红橙强调色，不再是微信绿 */
.renew-pay { background: var(--pad-fill); }
.renew-pay:disabled { opacity: .65; }
.renew-pay-text { font-size: calc(28 * var(--rpx)); }

/* 兑换码输入框占掉原来「60 分钟 + 19.9 元」那一行的位置，不给弹窗增高 */
.renew-code {
  width: 100%;
  height: calc(76 * var(--rpx));
  margin-bottom: calc(20 * var(--rpx));
  padding: 0 calc(12 * var(--rpx));
  border: calc(2 * var(--rpx)) solid rgba(255, 255, 255, .22);
  border-radius: calc(20 * var(--rpx));
  background: rgba(0, 0, 0, .38);
  color: var(--on);
  outline: none;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: calc(28 * var(--rpx));
  font-weight: 700;
  letter-spacing: calc(2 * var(--rpx));
  box-sizing: border-box;
}
.renew-code::placeholder { color: rgba(255, 255, 255, .34); font-weight: 400; letter-spacing: calc(1 * var(--rpx)); }
.renew-code:focus { border-color: var(--pad-fill); }

/* 提示常驻显示「兑换即开始计时」；二次确认时切成更醒目的警示色 */
.renew-hint { margin-top: calc(18 * var(--rpx)); }
.renew-hint.warn { opacity: 1; color: #ff9b88; }

/* 备案号展示位（默认 hidden，拿到备案号后去掉 hidden 并填内容）
   .bar 是 bottom:28rpx + height:124rpx，这里抬到 160rpx + 安全区，
   贴在播放条正上方，既不遮播放条也不进 .rows 滚动区。 */
.beian-bar {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(calc(160 * var(--rpx)) + env(safe-area-inset-bottom));
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 12px;
  pointer-events: none;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
  color: rgba(255, 255, 255, .55);
}
.beian-bar[hidden] { display: none; }
.beian-bar a { color: inherit; text-decoration: none; pointer-events: auto; }
