/* 电脑版钱包模块：晨雾玻璃、光谱细线；规则限定在 wl- 命名空间。 */
.wl-page { padding-bottom: 12px; }
.wl-page > *, .wl-page section, .wl-page aside { min-width: 0; }
.wl-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 0 4px 26px; }
.wl-heading h1 { margin: 7px 0 8px; font-size: 36px; font-weight: 300; line-height: 1.35; letter-spacing: .14em; }
.wl-heading p { margin: 0; color: var(--ink-3); }
.wl-back { font-size: 12px; }
.wl-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.wl-actions .cta--inline { justify-content: center; }
.wl-muted { color: var(--ink-3); font-size: 13px; }
.wl-note { color: var(--ink-3); font-size: 12.5px; line-height: 1.85; overflow-wrap: anywhere; }
.wl-eyebrow { margin: 0; color: var(--ink-3); font-size: 12px; letter-spacing: .16em; }
.wl-center { text-align: center; justify-content: center; }
.wl-error { color: var(--gold); }
.wl-empty p { margin: 8px auto 18px; max-width: 38em; overflow-wrap: anywhere; }
.wl-empty .cta--inline { margin: 0 auto; }
.wl-list-tip { padding: 18px; margin: 0; text-align: center; color: var(--ink-3); font-size: 13px; overflow-wrap: anywhere; }
.wl-list-tip .linkish { margin-left: 8px; }
.wl-notice { margin-bottom: 18px; padding: 14px 18px; background: var(--glass); border: 1px solid var(--line); border-radius: 14px; color: var(--ink-2); overflow-wrap: anywhere; }
.wl-page button:disabled, .wl-exchange button:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.wl-tag { display: inline-block; width: fit-content; padding: 2px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-3); background: var(--glass); font-size: 12px; font-weight: 400; line-height: 1.5; white-space: nowrap; }
.wl-tag-on { color: var(--online); }
.wl-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.wl-section-head h2, .wl-share h2, .wl-phone-help h2 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: .08em; }

.wl-coupon-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.wl-ticket { position: relative; display: grid; grid-template-columns: minmax(128px, .7fr) minmax(0, 2fr); overflow: hidden; }
.wl-ticket::before { content: ""; position: absolute; height: 2px; inset: 0 18px auto; background: var(--spectrum); }
.wl-ticket-value { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px 14px; border-right: 1px dashed var(--line); background: var(--glass); text-align: center; }
.wl-ticket-value strong { font-size: clamp(30px, 2.8vw, 46px); font-weight: 600; line-height: 1.2; color: var(--primary); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wl-ticket-value strong small { font-size: 14px; margin: 0 4px; font-weight: 400; }
.wl-ticket-value > span { font-size: 12px; color: var(--ink-3); overflow-wrap: anywhere; }
.wl-ticket-info { min-width: 0; padding: 24px; display: flex; flex-direction: column; }
.wl-ticket-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 9px; }
.wl-ticket-title h2 { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.wl-ticket-info p { margin: 3px 0; color: var(--ink-3); font-size: 12.5px; overflow-wrap: anywhere; }
.wl-ticket-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 18px; }
.wl-stock { color: var(--ink-3); font-size: 12px; }
.wl-stock-low { color: var(--gold); }
.wl-claim { justify-content: center; padding: 0 18px; height: 38px; font-size: 13px; letter-spacing: .06em; }
.wl-ticket-muted .wl-ticket-value strong { color: var(--ink-3); }
.wl-message { margin-top: 8px; font-family: var(--kai); font-size: 16px; color: var(--ink-2); overflow-wrap: anywhere; }

.wl-wallet-layout { display: grid; grid-template-columns: 304px minmax(0, 1fr); gap: 24px; align-items: start; }
.wl-balance { position: sticky; top: 88px; padding: 28px; overflow: hidden; }
.wl-balance::before, .wl-dist-overview::before { content: ""; position: absolute; inset: 0 22px auto; height: 2px; background: var(--spectrum); }
.wl-balance-value { margin: 24px 0 12px; color: var(--gold); font-size: 44px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.wl-balance-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 20px; }
.wl-balance-actions button { justify-content: center; flex: 1; min-width: 92px; }
.wl-balance .linkish { font-size: 12.5px; }
.wl-ledger { padding: 22px 24px 6px; }
.wl-filters { margin: 18px 0 22px; }
.wl-log-head, .wl-log-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) 142px 106px 104px; gap: 14px; align-items: center; }
.wl-log-head { padding: 0 0 12px; color: var(--ink-3); font-size: 12px; border-bottom: 1px solid var(--line); }
.wl-log-head > :nth-last-child(-n+2) { text-align: right; }
.wl-log-list { margin: 0; padding: 0; list-style: none; }
.wl-log-row { padding: 20px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.wl-log-row > * { min-width: 0; overflow-wrap: anywhere; }
.wl-log-kind { display: grid; gap: 4px; }
.wl-log-kind b { font-weight: 500; }
.wl-log-kind .wl-tag { white-space: normal; font-size: 10px; }
.wl-log-remark { color: var(--ink-2); font-size: 13px; }
.wl-log-time { color: var(--ink-3); font-size: 12px; }
.wl-log-change, .wl-log-after { text-align: right; font-size: 15px; font-weight: 500; }
.wl-log-after { color: var(--ink-2); font-size: 13px; }
.wl-log-change small, .wl-log-after small { display: none; }
.wl-income { color: var(--online); }
.wl-outgoing { color: var(--primary); }
.wl-exchange { max-height: calc(100dvh - 48px); overflow-y: auto; }
.wl-exchange-field { grid-template-columns: 1fr; gap: 6px; margin-top: 20px; }
.wl-form-tip { min-height: 1.5em; margin: 8px 0 0; overflow-wrap: anywhere; }
.wl-exchange .wl-note { margin-top: 18px; }

.wl-intro { padding: 64px 32px; text-align: center; }
.wl-intro h2 { font-size: 28px; font-weight: 400; margin: 18px 0 12px; }
.wl-intro p { color: var(--ink-2); max-width: 38em; margin: 0 auto 28px; line-height: 1.9; }
.wl-dist-overview { position: relative; padding: 30px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 32px; margin-bottom: 24px; overflow: hidden; }
.wl-dist-overview h2 { font-size: 25px; font-weight: 400; margin: 12px 0 8px; }
.wl-dist-overview .wl-muted { margin-bottom: 0; }
.wl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.wl-stats > div { min-width: 0; padding: 8px 20px; border-left: 1px solid var(--line); }
.wl-stats dt { font-size: 12px; color: var(--ink-3); }
.wl-stats dd { margin: 9px 0 0; font-size: 30px; font-weight: 500; color: var(--gold); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; line-height: 1.4; }
.wl-stats small { margin-left: 5px; font-size: 12px; color: var(--ink-3); font-weight: 400; }
.wl-distributor-layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.wl-share, .wl-invitees { padding: 26px; }
.wl-share { position: sticky; top: 88px; }
.wl-copy-field { display: block; margin: 20px 0 8px; color: var(--ink-3); font-size: 12px; }
.wl-copy-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.wl-invite-code, .wl-share textarea { min-width: 0; width: 100%; font: inherit; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); background: var(--glass-strong); padding: 10px 12px; }
.wl-invite-code { font-size: 21px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.wl-share textarea { font-size: 12.5px; line-height: 1.8; resize: vertical; overflow-wrap: anywhere; }
.wl-share .cta { font-size: 14px; letter-spacing: .08em; }
.wl-invite-qr { margin-top: 26px; max-width: 100%; }
.wl-invitee-list { margin: 18px 0 0; padding: 0; list-style: none; }
.wl-invitee { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; align-items: center; border-bottom: 1px solid var(--line); }
.wl-invitee-avatar { width: 40px; height: 40px; display: grid; place-items: center; background: var(--deep); border: 1px solid var(--glass-line); color: var(--glass-strong); border-radius: 50%; font-size: 16px; }
.wl-invitee-main { min-width: 0; display: grid; gap: 4px; }
.wl-invitee-main b { font-weight: 500; overflow-wrap: anywhere; }
.wl-invitee-main > span { color: var(--ink-3); font-size: 12px; overflow-wrap: anywhere; }

.wl-phone-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(240px, 1fr); gap: 24px; align-items: start; }
.wl-phone-card { padding: 32px; }
.wl-phone-help { padding: 28px; }
.wl-phone-help p { margin: 18px 0; color: var(--ink-3); font-size: 13px; line-height: 1.9; }
.wl-phone-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; margin: 0 0 28px; padding: 0 0 24px; border-bottom: 1px solid var(--line); }
.wl-phone-step { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.wl-phone-step > span { width: 30px; height: 30px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--glass); display: grid; place-items: center; font-size: 13px; }
.wl-step-active { color: var(--primary); font-weight: 600; }
.wl-step-active > span, .wl-step-done > span { background: var(--deep); color: var(--glass-strong); border-color: transparent; }
.wl-phone-fields .field { margin-top: 20px; }
.wl-static-phone strong { padding: 7px 0; font-size: 20px; letter-spacing: .1em; font-weight: 500; }
.wl-field-label { padding-top: 9px; font-weight: 600; }
.wl-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; min-width: 0; }
.wl-code-row input { min-width: 0; }
.wl-code-row .ghost-btn { height: 42px; font-size: 13px; min-width: 124px; justify-content: center; padding: 0 12px; }
.wl-phone-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; padding-top: 24px; margin-top: 20px; border-top: 1px solid var(--line); }
.wl-phone-footer .cta { min-width: 156px; justify-content: center; }
.wl-phone-card [hidden], .wl-exchange [hidden] { display: none !important; }

@media (max-width: 1200px) {
	.wl-wallet-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 18px; }
	.wl-balance { padding: 24px; }
	.wl-log-head, .wl-log-row { grid-template-columns: 90px minmax(0, 1fr) 112px 78px 78px; gap: 10px; }
	.wl-ledger { padding: 22px 20px 6px; }
	.wl-dist-overview { grid-template-columns: 1fr; gap: 22px; }
	.wl-stats > div:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 1000px) {
	.wl-wallet-layout { grid-template-columns: 1fr; }
	.wl-balance { position: relative; top: auto; }
	.wl-balance-value { margin: 16px 0 8px; }
	.wl-balance-actions { margin: 18px 0 12px; }
	.wl-balance-actions button { flex: 0 1 auto; }
	.wl-coupon-grid { grid-template-columns: 1fr; }
	.wl-ticket { grid-template-columns: 160px minmax(0, 1fr); }
	.wl-phone-layout { grid-template-columns: minmax(0, 1fr) 260px; }
	.wl-phone-card { padding: 26px; }
	.wl-phone-fields .field { grid-template-columns: 1fr; gap: 6px; }
	.wl-field-label { padding-top: 0; }
}
@media (max-width: 760px) {
	.wl-heading { display: block; margin-bottom: 20px; }
	.wl-heading h1 { font-size: 29px; }
	.wl-heading .wl-actions { margin-top: 18px; }
	.wl-heading p { font-size: 13px; }
	.wl-distributor-layout, .wl-phone-layout { grid-template-columns: 1fr; gap: 18px; }
	.wl-share { position: static; }
	.wl-phone-card, .wl-phone-help, .wl-share, .wl-invitees, .wl-dist-overview { padding: 22px 18px; }
	.wl-ticket { grid-template-columns: 104px minmax(0, 1fr); }
	.wl-ticket-value { padding: 20px 8px; }
	.wl-ticket-value strong { font-size: 32px; }
	.wl-ticket-info { padding: 20px 16px; }
	.wl-ticket-title h2 { font-size: 16px; }
	.wl-ticket-bottom { gap: 10px; }
	.wl-claim { height: 36px; font-size: 12px; padding: 0 12px; }
	.wl-section-head { flex-wrap: wrap; gap: 6px; }
	.wl-ledger { padding: 20px 18px 4px; }
	.wl-log-head { display: none; }
	.wl-log-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
	.wl-log-kind { grid-column: 1; grid-row: 1; }
	.wl-log-remark { grid-column: 1; grid-row: 2; }
	.wl-log-time { grid-column: 1; grid-row: 3; }
	.wl-log-change { grid-column: 2; grid-row: 1; font-size: 17px; }
	.wl-log-after { grid-column: 2; grid-row: 2 / 4; align-self: end; max-width: 100px; }
	.wl-log-change small { display: inline; font-size: 10px; font-weight: 400; margin-right: 4px; }
	.wl-log-after small { display: block; font-size: 10px; color: var(--ink-3); }
	.wl-stats > div { padding: 4px 10px; }
	.wl-stats dd { font-size: 25px; }
	.wl-stats dd small { display: block; margin-left: 0; }
	.wl-phone-step { font-size: 12px; gap: 7px; }
	.wl-phone-steps { gap: 12px; }
	.wl-code-row { gap: 8px; }
	.wl-code-row .ghost-btn { min-width: 108px; padding: 0 10px; font-size: 12px; }
	.wl-intro { padding: 44px 24px; }
	.wl-exchange { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
	.wl-page *, .wl-exchange * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
