/*
 * 钱包 / 充值 / 支付密码 / 红包 / 转账（modules/wallet.js、red-packets.js），仿微信 8，红包样式照搬适中 chat-wx.css。
 * 颜色用 --wx-* 局部令牌：浅色是微信的灰底白格，深色（html[data-theme="dark"]）换成微信深色模式的配色；
 * 红包 / 转账卡片固定是微信的橙色和红色（两种主题都一样，只是已领 / 已过期的浅色在深色下换暗一点）。
 * 全屏层挂在 body 上（.wl-layer，z-index 在弹窗 30 之上、确认框 40 之下）：手机全屏，电脑（≥ 760px）居中 420 宽的窗口。
 */

.wl-layer, #chat-app .chat-screen .message-bubble.has-money, .system-message-line.is-money, .attachment-grid [data-rp-action] {
  --wx-bg: #EDEDED;
  --wx-cell: #FFFFFF;
  /* 收款二维码底色：深色模式也保持白底，钱包才扫得出来 */
  --wx-qr-bg: #FFFFFF;
  --wx-text: rgba(0, 0, 0, .9);
  --wx-text-2: rgba(0, 0, 0, .5);
  --wx-text-3: rgba(0, 0, 0, .3);
  --wx-line: rgba(0, 0, 0, .1);
  --wx-link: #576B95;
  --wx-green: #07C160;
  --wx-red: #F25542;
  --wx-red-deep: #E64A39;
  --wx-orange: #FA9D3B;
  --wx-orange-done: #FBD3A6;
  --wx-gold: #EBCD9A;
  --wx-gold-ink: #4B3A20;
  --wx-gold-light: #FCE1B4;
  --wx-gold-text: #C8A05A;
  --wx-err-bg: #FDECEB;
  --wx-err: #FA5151;
  --wx-warn-bg: #FFF4E0;
  --wx-warn: #B76E00;
  --wx-info-bg: #EAF2FF;
  --wx-info: #2B6BFF;
}
html[data-theme="dark"] :is(.wl-layer, #chat-app .chat-screen .message-bubble.has-money, .system-message-line.is-money, .attachment-grid [data-rp-action]) {
  --wx-bg: #111111;
  --wx-cell: #191919;
  --wx-text: rgba(255, 255, 255, .85);
  --wx-text-2: rgba(255, 255, 255, .5);
  --wx-text-3: rgba(255, 255, 255, .3);
  --wx-line: rgba(255, 255, 255, .08);
  --wx-link: #7D90A9;
  --wx-red: #D9493A;
  --wx-red-deep: #C83F31;
  --wx-orange: #D8862F;
  --wx-orange-done: #6B4C2C;
  --wx-err-bg: rgba(250, 81, 81, .14);
  --wx-warn-bg: rgba(255, 176, 32, .14);
  --wx-warn: #FFC14D;
  --wx-info-bg: rgba(74, 139, 255, .16);
  --wx-info: #78A8FF;
}

/* ───────────── 全屏层骨架 ───────────── */
.wl-layer { position: fixed; inset: 0; z-index: 34; color: var(--wx-text); font-family: var(--pf-font, system-ui, sans-serif); -webkit-tap-highlight-color: transparent; }
.wl-layer .wl-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); animation: wl-fade .2s ease both; }
.wl-layer.is-stacked .wl-scrim { background: transparent; }
.wl-layer .wl-panel { position: absolute; inset: 0; display: flex; flex-direction: column; min-height: 0; background: var(--wx-bg); outline: none; animation: wl-slide-in .26s cubic-bezier(.2, 0, 0, 1) both; }
.wl-head { position: relative; display: grid; flex: none; grid-template-columns: 56px minmax(0, 1fr) 56px; align-items: center; min-height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 4px 0; background: var(--wx-bg); }
.wl-head-back { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; border: 0; border-radius: 50%; color: var(--wx-text); background: transparent; cursor: pointer; }
.wl-head-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .wl-head-back:not(.is-close) svg { transform: scaleX(-1); }
.wl-head-back:hover { background: color-mix(in srgb, var(--wx-text) 6%, transparent); }
.wl-head-title { min-width: 0; margin: 0; overflow: hidden; font-size: 17px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.wl-head-action { display: flex; justify-content: flex-end; min-width: 0; }
.wl-head-link { padding: 8px 10px; border: 0; color: var(--wx-text); background: none; font: inherit; font-size: 15px; white-space: nowrap; cursor: pointer; }
.wl-body { position: relative; flex: 1; min-height: 0; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom); -webkit-overflow-scrolling: touch; }

/* 底部弹层（付款） */
.wl-kind-sheet .wl-panel { inset: auto 0 0; max-height: 92%; border-radius: 14px 14px 0 0; background: var(--wx-cell); animation-name: wl-sheet-in; }
.wl-kind-sheet .wl-body { flex: 0 1 auto; }
/* 付款弹层叠在发红包页上面时也要压暗 */
.wl-layer.wl-kind-sheet.is-stacked .wl-scrim { background: rgba(0, 0, 0, .45); }
.wl-kind-sheet .wl-head { grid-template-columns: 52px minmax(0, 1fr) 52px; min-height: 52px; padding-top: 4px; background: var(--wx-cell); }

/* 拆红包卡片：整屏压暗，卡片居中 */
.wl-kind-card .wl-scrim { background: rgba(0, 0, 0, .62); }

@media (min-width: 760px) {
  .wl-kind-page .wl-panel { inset: 50% auto auto 50%; width: 420px; height: min(780px, calc(100vh - 48px)); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); transform: translate(-50%, -50%); animation-name: wl-pop-in; }
  .wl-kind-page .wl-head { min-height: 56px; padding-top: 0; }
  .wl-kind-sheet .wl-panel { inset: 50% auto auto 50%; width: 380px; max-height: calc(100vh - 48px); border-radius: 16px; overflow: auto; transform: translate(-50%, -50%); animation-name: wl-pop-in; }
  .wl-layer.is-stacked.wl-kind-page .wl-panel { box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); }
}

@keyframes wl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wl-slide-in { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wl-sheet-in { from { transform: translateY(100%); } to { transform: none; } }
@keyframes wl-pop-in { from { opacity: 0; transform: translate(-50%, -48%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }

/* ───────────── 共用 ───────────── */
/* 全局 svg 默认描边（site.css）：红包、金币、币种这些填色图标不要描边（形状上自带的 stroke 属性照样生效）。 */
:is(.rp-pk-ico, .rp-sys-ico, .wl-coin, .rp-open-flap, .rp-best svg, .wl-hero-icon svg) { stroke: none; }
.wl-amt { display: inline-flex; align-items: baseline; gap: .12em; line-height: 1.1; white-space: nowrap; }
.wl-amt small { font-size: .55em; font-weight: 600; }
.wl-amt b { font-weight: 600; }
.wl-btn { display: block; min-width: 184px; max-width: 100%; height: 48px; margin: 0 auto; padding: 0 24px; border: 0; border-radius: 8px; color: #fff; font: inherit; font-size: 17px; font-weight: 600; line-height: 48px; text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; }
.wl-btn:active:not(:disabled) { filter: brightness(.92); }
.wl-btn:disabled { cursor: default; opacity: .4; }
.wl-btn-block { width: 100%; }
.wl-btn-green { background: var(--wx-green); }
.wl-btn-red { background: var(--wx-red); }
.wl-btn-plain { color: var(--wx-text); background: color-mix(in srgb, var(--wx-text) 6%, var(--wx-cell)); }
.wl-btn + .wl-btn { margin-top: 12px; }
.wl-link { padding: 0; border: 0; color: var(--wx-link); background: none; font: inherit; cursor: pointer; }
.wl-layer :is(.wl-btn, .wl-link, .wl-cell, .wl-chip, .wl-preset, .wl-channel, .wl-key, .wl-bill, .wl-copy, .rp-kind, .rp-pick-row):focus-visible { outline: 2px solid #8AB4FF; outline-offset: 2px; }
.wl-foot-note { margin: 0; padding: 18px 24px; color: var(--wx-text-3); font-size: 13px; line-height: 1.5; text-align: center; }
.wl-hint { margin: 12px 0 0; color: var(--wx-text-2); font-size: 13px; line-height: 1.5; text-align: center; }
.wl-err { margin: 0; padding: 9px 16px; color: var(--wx-err); background: var(--wx-err-bg); font-size: 14px; line-height: 1.4; text-align: center; }
.wl-err[hidden] { display: none; }
.wl-banner { margin: 12px 16px 0; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
.wl-banner.is-info { color: var(--wx-info); background: var(--wx-info-bg); }
.wl-banner.is-warn { color: var(--wx-warn); background: var(--wx-warn-bg); }
.wl-banner.is-danger { color: var(--wx-err); background: var(--wx-err-bg); }
.wl-loader { display: flex; justify-content: center; gap: 6px; padding: 28px 0; }
.wl-loader span { width: 7px; height: 7px; border-radius: 50%; background: var(--wx-text-3); animation: wl-dot 1s ease-in-out infinite; }
.wl-loader span:nth-child(2) { animation-delay: .15s; }
.wl-loader span:nth-child(3) { animation-delay: .3s; }
@keyframes wl-dot { 0%, 80%, 100% { opacity: .3; transform: scale(.8); } 40% { opacity: 1; transform: none; } }
.wl-error-row { display: flex; width: calc(100% - 32px); align-items: center; justify-content: center; gap: 8px; margin: 18px 16px; padding: 14px; border: 0; border-radius: 10px; color: var(--wx-text-2); background: var(--wx-cell); font: inherit; font-size: 14px; cursor: pointer; }
.wl-error-row svg, .wl-empty svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-empty { display: grid; justify-items: center; gap: 10px; padding: 64px 24px; color: var(--wx-text-3); font-size: 14px; text-align: center; }
.wl-empty svg { width: 44px; height: 44px; stroke-width: 1.4; }
.wl-empty p { margin: 0; }
.wl-list-end { height: 1px; }
.wl-list-end.is-end { height: auto; margin: 0; padding: 16px; color: var(--wx-text-3); font-size: 12.5px; text-align: center; }
.wl-copy { display: inline-flex; max-width: 100%; align-items: center; gap: 6px; padding: 0; border: 0; color: inherit; background: none; font: inherit; text-align: end; word-break: break-all; cursor: pointer; }
.wl-copy svg { width: 14px; height: 14px; flex: none; fill: none; stroke: var(--wx-text-3); stroke-width: 1.8; }

/* 设置格子列表（微信「零钱」页下面那组） */
.wl-cells { margin: 10px 0 0; background: var(--wx-cell); }
.wl-cell { position: relative; display: flex; width: 100%; min-height: 56px; align-items: center; gap: 14px; padding: 0 16px; border: 0; color: var(--wx-text); background: transparent; font: inherit; font-size: 16px; text-align: start; cursor: pointer; }
.wl-cell + .wl-cell::before { position: absolute; inset: 0 0 auto 52px; height: 1px; background: var(--wx-line); content: ""; transform: scaleY(.5); }
.wl-cell:active { background: color-mix(in srgb, var(--wx-text) 5%, transparent); }
.wl-cell-icon { display: grid; width: 24px; height: 24px; flex: none; place-items: center; color: var(--wx-orange); }
.wl-cell-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wl-cell-label { flex: 1; min-width: 0; }
.wl-cell-value { color: var(--wx-text-2); font-size: 14px; }
.wl-cell-chevron { display: grid; flex: none; color: var(--wx-text-3); }
.wl-cell-chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
html[dir="rtl"] .wl-cell-chevron svg { transform: scaleX(-1); }

/* ───────────── 钱包首页 ───────────── */
.wl-hero { display: grid; justify-items: center; padding: 34px 20px 30px; background: var(--wx-cell); text-align: center; }
.wl-hero-icon svg { width: 60px; height: 60px; }
.wl-hero-label { margin: 16px 0 0; color: var(--wx-text-2); font-size: 15px; }
.wl-hero-amount { margin: 12px 0 0; color: var(--wx-text); }
.wl-hero-amount .wl-amt { font-size: 44px; }
.wl-hero-amount .wl-amt small { font-size: 26px; }
.wl-hero-frozen { margin: 8px 0 0; color: var(--wx-text-2); font-size: 13px; }
.wl-hero-actions { display: grid; width: 100%; gap: 12px; justify-items: center; margin-top: 34px; }
.wl-hero-actions:empty { display: none; }
.wl-hero .wl-banner { margin: 14px 0 0; }

/* ───────────── 账单 ───────────── */
.wl-chips { position: sticky; z-index: 2; top: 0; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px; background: var(--wx-bg); scrollbar-width: none; }
.wl-chips::-webkit-scrollbar { display: none; }
.wl-chip { flex: none; height: 32px; padding: 0 14px; border: 0; border-radius: 16px; color: var(--wx-text); background: var(--wx-cell); font: inherit; font-size: 13.5px; white-space: nowrap; cursor: pointer; }
.wl-chip.is-active { color: #fff; background: var(--wx-green); }
.wl-month { margin: 0; padding: 14px 16px 8px; color: var(--wx-text-2); font-size: 14px; font-weight: 500; }
.wl-bill-list { padding-bottom: 12px; }
.wl-bill { position: relative; display: flex; width: 100%; min-height: 68px; align-items: center; gap: 12px; padding: 10px 16px; border: 0; color: var(--wx-text); background: var(--wx-cell); font: inherit; text-align: start; cursor: pointer; }
.wl-bill + .wl-bill::before { position: absolute; inset: 0 0 auto 68px; height: 1px; background: var(--wx-line); content: ""; transform: scaleY(.5); }
.wl-bill:active { background: color-mix(in srgb, var(--wx-text) 5%, var(--wx-cell)); }
.wl-bill-icon { display: grid; width: 40px; height: 40px; flex: none; place-items: center; border-radius: 50%; color: #fff; background: #8A93A6; }
.wl-bill-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.wl-bill-icon.is-recharge { background: var(--wx-green); }
.wl-bill-icon.is-packet { background: var(--wx-red); }
.wl-bill-icon.is-transfer { background: var(--wx-orange); }
.wl-bill-icon.is-withdraw { background: #10AEFF; }
.wl-bill-icon.is-large { width: 56px; height: 56px; }
.wl-bill-icon.is-large svg { width: 28px; height: 28px; }
.wl-bill-main { display: grid; flex: 1; min-width: 0; gap: 4px; }
.wl-bill-main strong { overflow: hidden; font-size: 15.5px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.wl-bill-main small { color: var(--wx-text-3); font-size: 12.5px; }
.wl-bill-amount { display: grid; flex: none; justify-items: end; gap: 4px; }
.wl-bill-amount b { font-size: 16px; font-weight: 600; }
.wl-bill-amount.is-in b { color: #FA9D3B; }
.wl-bill-amount small { color: var(--wx-text-3); font-size: 12px; }
.wl-status { flex: none; padding: 3px 8px; border-radius: 10px; color: var(--wx-text-2); background: color-mix(in srgb, var(--wx-text) 6%, transparent); font-size: 12px; }
.wl-status.is-paid { color: var(--wx-green); background: color-mix(in srgb, var(--wx-green) 14%, transparent); }
.wl-status.is-pending { color: var(--wx-orange); background: color-mix(in srgb, var(--wx-orange) 14%, transparent); }
.wl-status.is-approved { color: #10AEFF; background: color-mix(in srgb, #10AEFF 14%, transparent); }
.wl-status.is-rejected { color: var(--wx-red); background: color-mix(in srgb, var(--wx-red) 12%, transparent); }
.wl-bill-hero { display: grid; justify-items: center; gap: 10px; padding: 30px 20px 26px; background: var(--wx-cell); text-align: center; }
.wl-bill-title { margin: 4px 0 0; color: var(--wx-text-2); font-size: 15px; overflow-wrap: anywhere; }
.wl-bill-big { margin: 0; font-size: 36px; font-weight: 600; }
.wl-bill-big.is-in { color: #FA9D3B; }
.wl-rows { margin: 10px 0 0; padding: 4px 16px; background: var(--wx-cell); }
.wl-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14.5px; }
.wl-row + .wl-row { border-top: .5px solid var(--wx-line); }
.wl-row dt { flex: none; color: var(--wx-text-2); }
.wl-row dd { min-width: 0; margin: 0; color: var(--wx-text); text-align: end; overflow-wrap: anywhere; }

/* ───────────── 充值 ───────────── */
.wl-card { margin: 10px 0 0; padding: 16px; background: var(--wx-cell); }
.wl-card h3 { margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.wl-presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wl-preset { height: 54px; padding: 0 6px; border: 1px solid var(--wx-line); border-radius: 8px; color: var(--wx-text); background: transparent; font: inherit; cursor: pointer; }
.wl-preset b { font-size: 17px; font-weight: 600; }
.wl-preset.is-active { border-color: var(--wx-green); color: var(--wx-green); background: color-mix(in srgb, var(--wx-green) 8%, transparent); }
.wl-amount-field { display: flex; align-items: center; gap: 8px; height: 56px; margin-top: 12px; padding: 0 2px; border-bottom: 1px solid var(--wx-line); }
.wl-amount-field span { font-size: 26px; font-weight: 600; }
.wl-amount-field input, .wl-field input { flex: 1; width: 100%; min-width: 0; padding: 0; border: 0; outline: none; color: var(--wx-text); background: none; font: inherit; font-size: 26px; font-weight: 600; caret-color: var(--wx-green); }
.wl-amount-field input::placeholder { color: var(--wx-text-3); font-size: 17px; font-weight: 400; }
.wl-range { margin: 8px 0 0; color: var(--wx-text-3); font-size: 12.5px; }
.wl-channels { display: grid; gap: 2px; }
.wl-channel { display: flex; width: 100%; min-height: 56px; align-items: center; gap: 12px; padding: 6px 2px; border: 0; color: var(--wx-text); background: none; font: inherit; text-align: start; cursor: pointer; }
.wl-channel + .wl-channel { border-top: .5px solid var(--wx-line); }
.wl-coin { width: 32px; height: 32px; flex: none; }
.wl-channel-main { display: grid; flex: 1; min-width: 0; gap: 2px; }
.wl-channel-main strong { font-size: 15.5px; font-weight: 500; }
.wl-channel-main small { color: var(--wx-text-3); font-size: 12.5px; }
.wl-radio { width: 20px; height: 20px; flex: none; border: 1.5px solid var(--wx-text-3); border-radius: 50%; }
.wl-channel.is-active .wl-radio { border-color: var(--wx-green); background: radial-gradient(circle, var(--wx-green) 0 5px, transparent 5.5px); }
.wl-notes ul { margin: 0; padding-inline-start: 18px; color: var(--wx-text-2); font-size: 13px; line-height: 1.65; }
.wl-bottom-bar { position: sticky; bottom: 0; display: grid; gap: 10px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--wx-bg) 24%); }
.wl-bottom-bar .wl-err { border-radius: 8px; }

/* 等待到账 / 成功 */
.wl-order { display: grid; justify-items: center; padding: 26px 20px 28px; text-align: center; }
.wl-order > .wl-banner { width: 100%; margin: 0 0 16px; }
.wl-order-icon { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; color: #fff; background: #10AEFF; }
.wl-order.is-paid .wl-order-icon { background: var(--wx-green); }
.wl-order.is-ended .wl-order-icon { background: #B2B2B2; }
.wl-order-icon svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wl-order h3 { margin: 18px 0 0; font-size: 18px; font-weight: 600; }
.wl-order-amount { margin: 12px 0 0; }
.wl-order-amount .wl-amt { font-size: 40px; }
.wl-order-amount .wl-amt small { font-size: 24px; }
.wl-order-countdown { margin: 8px 0 0; color: var(--wx-orange); font-size: 14px; }
.wl-order .wl-rows { width: 100%; margin: 22px 0 22px; border-radius: 10px; text-align: start; }

/* 站内收款：二维码 + 数量 / 网络 / 地址（可复制） */
.wl-order.is-pay { padding-top: 18px; }
.wl-pay-lead { margin: 0 0 14px; color: var(--wx-text-2); font-size: 14px; }
.wl-pay-qr { display: grid; width: 212px; height: 212px; place-items: center; padding: 10px; border-radius: 12px; background: var(--wx-qr-bg); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.wl-pay-qr canvas, .wl-pay-qr img { width: 192px !important; height: 192px !important; }
.wl-pay-card { display: grid; width: 100%; margin: 18px 0 0; overflow: hidden; border-radius: 10px; background: var(--wx-cell); text-align: start; }
.wl-pay-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 12px 14px; }
.wl-pay-item + .wl-pay-item { border-top: 1px solid var(--wx-line); }
.wl-pay-item > span { grid-column: 1 / -1; color: var(--wx-text-2); font-size: 13px; }
.wl-pay-item > strong { min-width: 0; font-size: 16px; font-weight: 600; }
.wl-pay-amount { font-size: 22px !important; }
.wl-pay-amount small { font-size: 14px; font-weight: 500; }
.wl-pay-address { min-width: 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.45; word-break: break-all; user-select: all; }
.wl-pay-copy { display: inline-flex; align-items: center; gap: 4px; min-width: 0; height: 32px; margin: 0; padding: 0 10px; font-size: 13px; font-weight: 500; line-height: 32px; white-space: nowrap; }
.wl-pay-copy svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.wl-pay-warn { width: 100%; margin: 14px 0 0; text-align: start; font-size: 13px; line-height: 1.5; }

/* ───────────── 支付密码 ───────────── */
.wl-pin { display: grid; width: min(100%, 300px); grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 22px auto 0; overflow: hidden; border: 1px solid var(--wx-line); border-radius: 8px; background: var(--wx-cell); }
.wl-pin-cell { display: grid; height: 48px; place-items: center; font-size: 20px; font-weight: 600; }
.wl-pin-cell + .wl-pin-cell { border-inline-start: 1px solid var(--wx-line); }
.wl-pin-cell i { width: 10px; height: 10px; border-radius: 50%; background: var(--wx-text); }
.wl-pin-step { display: grid; padding: 28px 24px 12px; text-align: center; }
.wl-pin-step .wl-err { margin: -28px -24px 20px; }
.wl-pin-lead { margin: 0; color: var(--wx-text); font-size: 16px; line-height: 1.5; }
.wl-pin-step .wl-link { justify-self: center; margin-top: 16px; font-size: 14px; }
.wl-pin-step .wl-foot-note { padding: 18px 0 0; }
.wl-field { display: grid; gap: 8px; margin: 24px 0; text-align: start; }
.wl-field span { color: var(--wx-text-2); font-size: 13px; }
.wl-field input { height: 48px; padding: 0 12px; border: 1px solid var(--wx-line); border-radius: 8px; background: var(--wx-cell); font-size: 16px; font-weight: 400; }
.wl-keypad-dock { position: sticky; bottom: 0; }
.wl-keypad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--wx-line); background: var(--wx-line); }
.wl-key { height: 54px; border: 0; color: var(--wx-text); background: var(--wx-cell); font: inherit; font-size: 24px; font-weight: 500; cursor: pointer; touch-action: manipulation; }
.wl-key:active:not(:disabled) { background: color-mix(in srgb, var(--wx-text) 8%, var(--wx-cell)); }
.wl-key:disabled { color: var(--wx-text-3); cursor: default; }
.wl-key.is-blank, .wl-key.is-del { background: color-mix(in srgb, var(--wx-text) 4%, var(--wx-cell)); }
.wl-key.is-del svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.wl-keypad-hint { display: none; margin: 0; padding: 12px; color: var(--wx-text-3); font-size: 12.5px; text-align: center; }
/* 电脑（精确指针）：不显示数字键盘，直接用键盘输入 */
@media (hover: hover) and (pointer: fine) {
  .wl-keypad { display: none; }
  .wl-keypad-hint { display: block; }
}

/* 付款弹层 */
.wl-pay { padding: 0 20px 18px; text-align: center; }
.wl-pay-what { margin: 6px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.wl-pay-amt { margin: 10px 0 0; }
.wl-pay-amt .wl-amt { font-size: 40px; }
.wl-pay-amt .wl-amt small { font-size: 26px; }
.wl-pay-detail { margin: 6px 0 0; color: var(--wx-text-2); font-size: 14px; overflow-wrap: anywhere; }
.wl-pay-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 14px 0; border-top: .5px solid var(--wx-line); border-bottom: .5px solid var(--wx-line); font-size: 14px; text-align: start; }
.wl-pay-k { color: var(--wx-text-2); }
.wl-pay-v { display: inline-flex; align-items: center; gap: 6px; }
.wl-pay-v svg { width: 18px; height: 18px; fill: none; stroke: var(--wx-orange); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wl-pay-warn { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 12px 0 0; color: var(--wx-err); font-size: 14px; }
.wl-pay-setup { margin: 18px 0; color: var(--wx-text-2); font-size: 14px; line-height: 1.5; }
.wl-pay .wl-btn { margin-top: 22px; }
.wl-pay .wl-pin { margin-top: 20px; }
.wl-pay-msg { display: grid; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border-radius: 8px; color: var(--wx-err); background: var(--wx-err-bg); font-size: 14px; }
.wl-pay-msg[hidden] { display: none; }
.wl-pay-msg p { margin: 0; }
.wl-pay-msg span { display: flex; justify-content: center; gap: 22px; }
.wl-pay-busy { margin: 14px 0 0; color: var(--wx-text-2); font-size: 14px; }

/* ───────────── 「+」面板里的红包 / 转账 ───────────── */
#chat-app .chat-screen .composer-panel .attachment-grid [data-rp-action="compose-packet"] svg { background: linear-gradient(140deg, #FF8A73, #F25542); }
#chat-app .chat-screen .composer-panel .attachment-grid [data-rp-action="compose-transfer"] svg { background: linear-gradient(140deg, #FFC56E, #FA9D3B); }
.attachment-grid.has-money-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.attachment-grid [data-rp-action] svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ───────────── 聊天气泡 ───────────── */
#chat-app .chat-screen .message-bubble.has-money,
#chat-app .chat-screen .message-line.mine .message-bubble.has-money { width: min(240px, 72vw); padding: 0; color: #fff; background: transparent; box-shadow: none; }
#chat-app .chat-screen .message-line.is-run-end .message-bubble.has-money::after { display: none; }
#chat-app .chat-screen .message-bubble.has-money > .message-time { position: absolute; z-index: 2; inset-block-end: 5px; inset-inline-end: 12px; float: none; margin: 0; color: rgba(255, 255, 255, .8); font-size: 11px; pointer-events: none; }
#chat-app .chat-screen .message-bubble.has-money > .message-time .read-status { color: inherit !important; }
#chat-app .chat-screen .message-bubble.has-money > .message-reply-preview { margin-bottom: 4px; border-radius: 10px; background: var(--pf-in); }
.rp-bubble { position: relative; display: flex; width: 100%; flex-direction: column; padding: 0; border: 0; border-radius: 8px; color: #fff; background: var(--wx-orange); font: inherit; text-align: start; cursor: pointer; }
.rp-bubble::before { position: absolute; inset-block-start: 14px; inset-inline-start: -4px; width: 10px; height: 10px; border-radius: 2px; background: inherit; content: ""; transform: rotate(45deg); }
.rp-bubble.is-mine::before { inset-inline: auto -4px; }
.rp-bubble.is-settled { background: var(--wx-orange-done); }
.rp-bubble:active { filter: brightness(.94); }
.rp-bubble:focus-visible { outline: 2px solid #8AB4FF; outline-offset: 2px; }
.rp-bubble-top { display: flex; align-items: center; gap: 10px; min-height: 66px; padding: 12px 12px 11px; }
.rp-pk-ico { width: 32px; height: 40px; flex: none; }
.rp-tf-ico { width: 38px; height: 38px; flex: none; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.rp-bubble-main { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 2px; }
.rp-bubble-title { overflow: hidden; font-size: 16px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.rp-bubble-title.is-amount { font-weight: 600; }
.rp-bubble-sub { overflow: hidden; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; opacity: .9; }
.rp-bubble-foot { position: relative; padding: 4px 56px 5px 12px; color: rgba(255, 255, 255, .8); font-size: 11px; line-height: 15px; }
html[dir="rtl"] .rp-bubble-foot { padding: 4px 12px 5px 56px; }
.rp-bubble-foot::before { position: absolute; inset: 0 12px auto; height: 1px; background: rgba(255, 255, 255, .35); content: ""; transform: scaleY(.5); }

/* 系统消息「你领取了 X 的红包」 */
.system-message-line.is-money .system-message-pill { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 2px; }
.rp-sys-ico { width: 11px; height: 14px; flex: none; margin-inline-end: 4px; }
.rp-sys-link { padding: 0; border: 0; color: var(--wx-orange); background: none; font: inherit; cursor: pointer; }

/* ───────────── 发红包 / 转账页 ───────────── */
.rp-send { display: flex; min-height: 100%; flex-direction: column; padding: 0 16px; }
.rp-err { margin: 0 -16px; padding: 9px 16px; color: var(--wx-err); background: var(--wx-err-bg); font-size: 14px; line-height: 1.4; text-align: center; }
.rp-err[hidden] { display: none; }
.rp-kinds { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 4px; margin-top: 14px; padding: 4px; border-radius: 10px; background: color-mix(in srgb, var(--wx-text) 6%, var(--wx-bg)); }
.rp-kind { height: 34px; padding: 0 6px; border: 0; border-radius: 7px; color: var(--wx-text-2); background: transparent; font: inherit; font-size: 13.5px; white-space: nowrap; cursor: pointer; }
.rp-kind.is-active { color: var(--wx-text); background: var(--wx-cell); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); font-weight: 600; }
.rp-cells { display: flex; width: 100%; min-height: 56px; align-items: center; gap: 12px; margin-top: 14px; padding: 0 16px; border: 0; border-radius: 8px; color: var(--wx-text); background: var(--wx-cell); font: inherit; text-align: start; }
button.rp-cells { cursor: pointer; }
.rp-cell-label { display: inline-flex; flex: none; align-items: center; gap: 6px; font-size: 16px; }
.rp-cell-value { display: flex; flex: 1; min-width: 0; align-items: center; justify-content: flex-end; gap: 6px; font-size: 16px; }
.rp-cell-value .avatar.small { width: 26px; height: 26px; flex-basis: 26px; font-size: 11px; }
.rp-cell-value > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-cells input { width: 100%; min-width: 0; flex: 1; padding: 0; border: 0; outline: none; color: var(--wx-text); background: none; font: inherit; font-size: 16px; caret-color: var(--wx-green); }
.rp-cell-value input { text-align: end; }
.rp-cells input::placeholder, .rp-placeholder { color: var(--wx-text-3); opacity: 1; }
.rp-cur { flex: none; }
.rp-cell-tip { margin: 8px 16px 0; color: var(--wx-text-2); font-size: 13.5px; }
.rp-chev { width: 7px; height: 12px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .rp-chev { transform: scaleX(-1); }
.rp-lucky { display: inline-grid; width: 18px; height: 18px; flex: none; place-items: center; border-radius: 4px; color: #fff; background: #E9A53A; }
.rp-lucky svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.rp-lucky svg rect { stroke: currentColor; fill: none; }
.rp-big { margin: 40px 0 0; color: var(--wx-text); text-align: center; }
.rp-big .wl-amt { font-size: 46px; }
.rp-big .wl-amt small { font-size: 28px; }
.rp-send .wl-btn-red { margin-top: 26px; }
.rp-foot { margin-top: auto; padding: 40px 8px calc(24px + env(safe-area-inset-bottom)); }
.rp-send-transfer { padding: 0; }
.rp-send-transfer .rp-err { margin: 0; }
.rp-tf-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 24px 24px; }
.rp-tf-to { display: grid; min-width: 0; gap: 4px; }
.rp-tf-to strong { overflow: hidden; font-size: 17px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.rp-tf-to small { color: var(--wx-text-3); font-size: 13px; }
.avatar.rp-tf-avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 8px; font-size: 18px; }
.rp-tf-card { display: flex; flex: 1 0 auto; flex-direction: column; padding: 24px 24px calc(24px + env(safe-area-inset-bottom)); border-radius: 12px 12px 0 0; background: var(--wx-cell); }
.rp-tf-label { margin: 0; font-size: 14px; }
.rp-tf-amount { display: flex; align-items: center; gap: 8px; height: 76px; margin-top: 8px; border-bottom: 1px solid var(--wx-line); }
.rp-tf-cur { flex: none; font-size: 30px; font-weight: 600; }
.rp-tf-amount input, .rp-tf-note input { width: 100%; min-width: 0; flex: 1; padding: 0; border: 0; outline: none; color: var(--wx-text); background: none; caret-color: var(--wx-green); }
.rp-tf-amount input { font-family: inherit; font-size: 46px; font-weight: 600; }
.rp-tf-note { margin-top: 16px; font-size: 14px; }
.rp-tf-note input { height: 36px; border-bottom: 1px solid var(--wx-line); font: inherit; font-size: 16px; }
.rp-tf-note input::placeholder { color: var(--wx-text-3); }
.rp-tf-card .wl-btn { margin-top: 40px; }
.rp-tf-card .wl-foot-note { padding: 16px 0 0; }

/* 选群成员 */
.rp-pick { display: grid; }
.rp-pick-search { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 16px; background: var(--wx-bg); }
.rp-pick-search svg { position: absolute; inset-inline-start: 28px; width: 16px; height: 16px; fill: none; stroke: var(--wx-text-3); stroke-width: 2; }
.rp-pick-search input { width: 100%; height: 36px; padding: 0 12px 0 36px; border: 0; border-radius: 8px; outline: none; color: var(--wx-text); background: var(--wx-cell); font: inherit; font-size: 15px; }
html[dir="rtl"] .rp-pick-search input { padding: 0 36px 0 12px; }
.rp-pick-list { background: var(--wx-cell); }
.rp-pick-list .wl-hint { padding: 24px; }
.rp-pick-row { position: relative; display: flex; width: 100%; min-height: 60px; align-items: center; gap: 12px; padding: 8px 16px; border: 0; color: var(--wx-text); background: transparent; font: inherit; text-align: start; cursor: pointer; }
.rp-pick-row + .rp-pick-row::before { position: absolute; inset: 0 0 auto 66px; height: 1px; background: var(--wx-line); content: ""; transform: scaleY(.5); }
.rp-pick-row:active { background: color-mix(in srgb, var(--wx-text) 5%, transparent); }
.rp-pick-row .avatar.small { width: 40px; height: 40px; flex-basis: 40px; }
.rp-pick-name { flex: 1; min-width: 0; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.rp-pick-row small { flex: none; color: var(--wx-text-3); font-size: 12.5px; }

/* ───────────── 拆红包（開） ───────────── */
.rp-open { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom)); pointer-events: none; }
.rp-open > * { pointer-events: auto; }
.rp-open-card { position: relative; width: min(78vw, 300px); aspect-ratio: 300 / 460; max-height: calc(100% - 80px); outline: none; animation: rp-pop .38s cubic-bezier(.2, 1.25, .4, 1) both; }
@keyframes rp-pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }
.rp-open-lower { position: absolute; inset: 50% 0 0; border-radius: 0 0 10px 10px; background: var(--wx-red-deep); transition: transform .42s cubic-bezier(.5, 0, .75, 0), opacity .42s; }
.rp-open-upper { position: absolute; inset: 0 0 auto; z-index: 1; height: 74%; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .18)); transition: transform .42s cubic-bezier(.5, 0, .75, 0), opacity .42s; }
.rp-open-flap { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 10px 10px 0 0; fill: var(--wx-red); }
.rp-open-head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 26% 24px 0; color: var(--wx-gold-light); text-align: center; }
.rp-open-from { display: inline-flex; max-width: 100%; align-items: center; gap: 8px; margin: 0; font-size: 16px; line-height: 1.3; }
.rp-open-from > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar.rp-open-avatar { width: 26px; height: 26px; flex: 0 0 26px; border-radius: 5px; font-size: 11px; }
.rp-open-greet { display: -webkit-box; margin: 0; overflow: hidden; font-size: 22px; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.rp-open-greet.is-state { font-size: 17px; }
.rp-open-btn { position: absolute; z-index: 2; inset-block-start: calc(67% - 48px); inset-inline-start: calc(50% - 48px); width: 96px; height: 96px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; perspective: 500px; transition: opacity .25s, transform .25s; }
.rp-coin { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; border-radius: 50%; background: var(--wx-gold); box-shadow: 0 3px 8px rgba(0, 0, 0, .22), inset 0 -3px 0 rgba(120, 80, 20, .12); transform-style: preserve-3d; }
.rp-coin-face { max-width: 84px; overflow: hidden; color: var(--wx-gold-ink); font-size: 34px; font-weight: 600; line-height: 1; text-overflow: clip; white-space: nowrap; }
:lang(zh) .rp-coin-face, :lang(ja) .rp-coin-face { font-size: 40px; }
.rp-open-btn:active .rp-coin { transform: scale(.96); }
.rp-open.is-spinning .rp-coin { animation: rp-coin-spin .72s linear infinite; }
@keyframes rp-coin-spin { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }
.rp-open.is-opening .rp-open-upper { opacity: 0; transform: translateY(-110%); }
.rp-open.is-opening .rp-open-lower { opacity: 0; transform: translateY(110%); }
.rp-open.is-opening :is(.rp-open-btn, .rp-open-link, .rp-open-close) { opacity: 0; transform: scale(.6); }
.rp-open-link { position: absolute; z-index: 2; inset: auto 0 22px; display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 4px; padding: 0 16px; border: 0; color: var(--wx-gold-light); background: none; font: inherit; font-size: 14px; cursor: pointer; transition: opacity .25s; }
.rp-open-close { display: inline-flex; width: 40px; height: 40px; flex: none; align-items: center; justify-content: center; padding: 0; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 50%; color: rgba(255, 255, 255, .9); background: none; cursor: pointer; transition: opacity .25s; }
.rp-open-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.rp-open :is(.rp-open-btn, .rp-open-link, .rp-open-close):focus-visible { outline: 2px solid #FFE3A3; outline-offset: 3px; }

/* ───────────── 红包详情 ───────────── */
.rp-detail-page .wl-panel { background: var(--wx-cell); }
.rp-detail-page .wl-head { color: var(--wx-gold-light); background: var(--wx-red); }
.rp-detail-page .wl-head-back { color: var(--wx-gold-light); }
.rp-detail-page .wl-head-title { visibility: hidden; }
.rp-detail-top { position: relative; height: 58px; margin-top: -1px; overflow: hidden; }
.rp-detail-top::before { position: absolute; inset: -58px -30% auto; height: 116px; border-radius: 0 0 50% 50%; background: var(--wx-red); content: ""; }
.rp-detail-hero { display: flex; flex-direction: column; align-items: center; padding: 26px 16px 32px; text-align: center; }
.rp-detail-from { display: inline-flex; max-width: 100%; align-items: center; gap: 8px; margin: 0; }
.avatar.rp-detail-avatar { width: 24px; height: 24px; flex: 0 0 24px; border-radius: 5px; font-size: 10px; }
.rp-detail-from strong { overflow: hidden; font-size: 18px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.rp-detail-greet { margin: 10px 0 0; color: var(--wx-text-2); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.rp-detail-amt { margin: 30px 0 0; color: var(--wx-gold-text); }
.rp-detail-amt .wl-amt { font-size: 48px; }
.rp-detail-amt .wl-amt small { font-size: 22px; }
.rp-detail-saved { display: inline-flex; align-items: center; gap: 4px; margin-top: 10px; padding: 4px 0; border: 0; color: var(--wx-gold-text); background: none; font: inherit; font-size: 14px; cursor: pointer; }
.rp-detail-list { border-top: 8px solid var(--wx-bg); }
.rp-detail-list h3 { margin: 0; padding: 12px 16px; border-bottom: .5px solid var(--wx-line); color: var(--wx-text-2); font-size: 14px; font-weight: 400; line-height: 1.4; }
.rp-detail-list ul { margin: 0; padding: 0; list-style: none; }
.rp-claim { position: relative; display: flex; min-height: 68px; align-items: center; gap: 12px; padding: 12px 16px; }
.rp-claim + .rp-claim::before { position: absolute; inset: 0 0 auto 68px; height: 1px; background: var(--wx-line); content: ""; transform: scaleY(.5); }
.avatar.rp-claim-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 6px; font-size: 15px; }
.rp-claim-main { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: 4px; }
.rp-claim-main strong { overflow: hidden; font-size: 16px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.rp-claim-main small { color: var(--wx-text-3); font-size: 13px; }
.rp-claim-amt { display: flex; flex: none; flex-direction: column; align-items: flex-end; gap: 4px; }
.rp-claim-amt b { font-size: 16px; font-weight: 400; }
.rp-best { display: inline-flex; align-items: center; gap: 3px; color: #E9A53A; font-size: 12px; }
.rp-best svg { width: 13px; height: 11px; fill: currentColor; }
.rp-detail-note { padding: 32px 16px 24px; }

/* ───────────── 转账详情 ───────────── */
.rp-transfer-page .wl-panel, .rp-transfer-page .wl-head { background: var(--wx-cell); }
.rp-tf-status { --rp-st: #10AEFF; display: flex; flex-direction: column; align-items: center; padding: 36px 24px 0; text-align: center; }
.rp-tf-status[data-state="accepted"] { --rp-st: var(--wx-green); }
.rp-tf-status[data-state="returned"] { --rp-st: var(--wx-orange); }
.rp-tf-status[data-state="expired"] { --rp-st: #B2B2B2; }
.rp-tf-big .rp-tf-ico { width: 64px; height: 64px; stroke-width: 2; }
.rp-tf-big .rp-tf-ico circle { fill: var(--rp-st); stroke: none; }
.rp-tf-title { margin: 24px 0 0; font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
.rp-tf-amt { margin: 14px 0 0; }
.rp-tf-amt .wl-amt { font-size: 44px; }
.rp-tf-amt .wl-amt small { font-size: 26px; }
.rp-tf-memo { margin: 10px 0 0; color: var(--wx-text-2); font-size: 15px; overflow-wrap: anywhere; }
.rp-tf-actions { display: flex; width: 100%; flex-direction: column; align-items: center; margin-top: 44px; }
.rp-tf-hint { margin: 16px 0 0; color: var(--wx-text-2); font-size: 14px; line-height: 1.5; }
.rp-tf-blocked { margin: 0; padding: 10px 12px; border-radius: 8px; color: var(--wx-err); background: var(--wx-err-bg); font-size: 15px; line-height: 1.4; }
.rp-tf-hint .wl-link { margin-inline-start: 4px; }
.rp-tf-actions > .rp-tf-hint:first-child { margin-top: 0; }
.rp-tf-saved { font-size: 14px; }
.rp-tf-times { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 40px 16px 28px; color: var(--wx-text-3); font-size: 13px; text-align: center; }

/* ───────────── 降低动态效果 ───────────── */
@media (prefers-reduced-motion: reduce) {
  .wl-layer .wl-scrim, .wl-layer .wl-panel, .rp-open-card { animation: none; }
  .rp-open.is-spinning .rp-coin { animation: none; opacity: .75; }
  .rp-open-upper, .rp-open-lower, .rp-open-btn, .rp-open-link, .rp-open-close { transition: none; }
  .wl-loader span { animation: none; }
}

/* ───────────── 提现（§10） ───────────── */
.wl-wd-address { display: flex; align-items: center; gap: 12px; }
.wl-wd-address .wl-link { flex: none; font-size: 14.5px; }
.wl-wd-address-text { display: flex; width: 100%; justify-content: space-between; margin-top: 10px; padding: 10px 12px; border-radius: 8px; background: color-mix(in srgb, var(--wx-text) 5%, transparent); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; text-align: start; }
.wl-wd-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0 0; color: var(--wx-text-2); font-size: 13.5px; }
.wl-wd-balance .wl-link { flex: none; font-size: 14px; }
.wl-wd-field { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--wx-line); }
.wl-wd-field textarea { flex: 1; min-width: 0; min-height: 48px; padding: 0; border: 0; outline: none; resize: none; color: var(--wx-text); background: none; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.5; word-break: break-all; caret-color: var(--wx-green); }
.wl-wd-field textarea::placeholder { color: var(--wx-text-3); font-family: inherit; font-size: 14px; }
.wl-wd-field .wl-link { flex: none; padding-top: 2px; font-size: 14px; }
.wl-page-withdraw-order .wl-btn-plain { margin-top: 4px; }
