/* PartyAnimals lucky wheel — chrome is reserved for the mechanism; the rest follows
   the compact dark-neon app. 4/8px spacing, one primary lemon action, native dialogs. */
#sub.lucky-wheel-view { background: #080908; }
#sub.lucky-wheel-view > .sub-top { display: none; }
#sub.lucky-wheel-view > .sub-body { padding: 0; }
.lw-lobby-entry { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; padding: 12px 16px; margin: 12px 0; border: 1px solid #e6ff3224; border-radius: 16px; background: #14170e; color: #f7f8ee; text-align: start; font: inherit; cursor: pointer; }
.lw-lobby-entry > img { width: 40px; height: 40px; object-fit: contain; }
.lw-lobby-entry > span { min-width: 0; flex: 1; }
.lw-lobby-entry b { display: block; font-size: 14px; font-weight: 750; }
.lw-lobby-entry small { display: block; margin-top: 4px; font-size: 11px; color: #a3aa91; }
.lw-lobby-entry > svg { width: 18px; height: 18px; flex: 0 0 18px; color: #e6ff32; }
.lw-lobby-entry:focus-visible { outline: 2px solid #e6ff32; outline-offset: 3px; }
/* Recharge stays primary: a small PA gift signpost, no large artwork or animated CTA.
   Existing charcoal surfaces + lemon accent; 4px rhythm, 12px inset, native button. */
.lw-deposit-entry { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px; margin: 0 0 12px; border: 1px solid var(--line, #242424); border-radius: 12px; background: var(--surface, #151515); color: var(--ink, #fff); text-align: start; font: inherit; cursor: pointer; }
.lw-deposit-entry > img { width: 32px; height: 32px; flex: 0 0 32px; object-fit: contain; }
.lw-deposit-copy { flex: 1; min-width: 0; overflow-wrap: anywhere; line-height: 1.5; }
.lw-deposit-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; }
.lw-deposit-heading strong { color: var(--neon, #e5ff3d); font-size: 13px; font-weight: 650; }
.lw-deposit-rule { display: block; margin-top: 4px; font-size: 12px; }
.lw-deposit-turnover { display: block; margin-top: 2px; color: var(--ink-2, #8a8a8a); font-size: 11px; }
.lw-deposit-heading small { color: var(--ink-2, #8a8a8a); font-size: 11px; font-variant-numeric: tabular-nums; }
.lw-deposit-entry > svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--neon, #e5ff3d); }
.lw-deposit-entry.is-readonly { cursor: default; }
button.lw-deposit-entry:hover { background: var(--surface-2, #1c1c1c); }
button.lw-deposit-entry:active { border-color: var(--neon, #e5ff3d); }
.lw-deposit-entry:focus-visible { outline: 2px solid var(--neon, #e5ff3d); outline-offset: 3px; }
.lw-page {
  --lw-night: #080908;
  --lw-panel: #131512;
  --lw-raised: #1b1e18;
  --lw-lemon: #e6ff32;
  --lw-ink: #f7f8ee;
  --lw-subtle: #b2b5a7;
  --lw-muted: #787d70;
  --lw-line: #ffffff14;
  --lw-error: #ffb3a2;
  --lw-info: #8ec5ff;
  --lw-success: #7ee2a8;
  --lw-chrome: #d1d4bd;
  --lw-ease: cubic-bezier(.23, 1, .32, 1);
  color: var(--lw-ink);
  background: var(--lw-night);
  font-family: var(--sans, system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif);
  font-size: 14px;
  line-height: 1.45;
  width: min(100%, 900px);
  min-height: 100%;
  margin-inline: auto;
  padding: 8px 16px 28px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  color-scheme: dark;
}
.lw-page *, .lw-page *::before, .lw-page *::after { box-sizing: border-box; }
.lw-page :where(h1, h2, h3, p) { margin: 0; }
.lw-page :where(button) { appearance: none; background: none; border: 0; color: inherit; font: inherit; margin: 0; padding: 0; cursor: pointer; }
.lw-page :where(button):focus-visible { outline: 2px solid var(--lw-lemon); outline-offset: 4px; }
.lw-page :where(button):disabled { cursor: default; }
.lw-page [hidden] { display: none !important; }
.lw-page svg { display: block; }
.lw-page .lw-icon { width: 44px; height: 44px; flex: 0 0 44px; display: inline-grid; place-items: center; border-radius: 50%; color: var(--lw-subtle); }
.lw-icon svg { width: 20px; height: 20px; }
.lw-icon:hover { background: var(--lw-raised); color: var(--lw-ink); }
.lw-topline { display: flex; min-height: 40px; align-items: center; gap: 8px; }
.lw-brand { font-size: 11px; letter-spacing: .1em; font-weight: 850; white-space: nowrap; }
.lw-brand > span { color: var(--lw-lemon); }
.lw-history-trigger { margin-inline-start: auto !important; display: inline-flex; align-items: center; gap: 6px; font-size: 12px !important; color: var(--lw-subtle) !important; min-height: 44px; }
.lw-history-trigger svg { height: 18px; width: 18px; }
.lw-history-trigger i { font: 700 10px/18px var(--sans, sans-serif); text-align: center; min-width: 18px; padding-inline: 4px; border-radius: 50%; background: var(--lw-lemon); color: var(--lw-night); }
.lw-masthead { position: relative; min-height: 105px; display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: center; gap: 4px; margin: 6px 0 4px; }
.lw-kicker { color: var(--lw-lemon); font-size: 10px; font-weight: 750; letter-spacing: .24em; margin-bottom: 4px !important; }
.lw-masthead h1 { font-size: clamp(26px, 7.3vw, 36px); line-height: 1.15; font-weight: 850; letter-spacing: -.035em; text-wrap: balance; }
.lw-hero-copy { color: var(--lw-subtle); margin-top: 8px !important; font-size: 12px; max-width: 28em; text-wrap: pretty; }
.lw-mascot { position: relative; width: 104px; height: 112px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.lw-panda { position: absolute; top: -4px; left: -52px; width: 208px; height: 277px; display: block; object-fit: contain; object-position: center top; }
.lw-layout { display: grid; gap: 24px; }
.lw-play { min-width: 0; }
.lw-stage { width: min(100%, 396px); margin-inline: auto; position: relative; padding: 12px 4px 0; }
.lw-aura { position: absolute; inset: 8% 2% 5%; border-radius: 50%; background: radial-gradient(ellipse, #e6ff3218, transparent 69%); pointer-events: none; }
.lw-machine { position: relative; width: 100%; }
.lw-rim { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 12px; background: linear-gradient(122deg, #e9eddb 0%, #464c3d 10%, #d0d6bf 16%, #34392e 22%, #171a15 46%, #858e75 64%, #e5ebcd 76%, #333a2b 83%, #929d7e 90%, #cbd7b2 100%); box-shadow: 0 0 0 1px #e6ff3280, 0 0 0 4px #e6ff3210, 0 8px 0 #060805, 0 16px 24px #0008; }
.lw-rim::before { content: ''; position: absolute; inset: 7px; border: 1px solid #edf2d95c; border-radius: inherit; pointer-events: none; z-index: 2; }
.lw-rim::after { content: ''; position: absolute; inset: 2px; border-radius: inherit; border: 2px solid transparent; border-top-color: #fcffe7b3; border-bottom-color: #e6ff3299; pointer-events: none; }
.lw-disc-viewport { width: 100%; height: 100%; overflow: hidden; border-radius: 50%; }
.lw-disc { width: 100%; height: 100%; border-radius: 50%; background: #0b1006; overflow: hidden; position: relative; will-change: auto; }
.is-turning .lw-disc { will-change: transform; }
.lw-disc-svg { width: 100%; height: 100%; overflow: visible; }
.lw-disc-base { fill: #060805; }
.lw-sector path { stroke: #1a210c; stroke-width: .7; }
.lw-sector.is-lemon path { fill: var(--lw-lemon); }
.lw-sector.is-dark path { fill: #11180a; }
.lw-sector text { fill: #171c08; font-family: inherit; font-size: 10.5px; font-weight: 750; }
.lw-sector.is-dark text { fill: #e5e9d9; }
/* 格数单数时的最后一格(两边是黑格和第 0 格柠檬):橄榄,跟外圈、中心轴同色系;浅字对比 6:1 */
.lw-sector.is-olive path { fill: #55632b; }
.lw-sector.is-olive text { fill: var(--lw-ink); }
.lw-sector.is-empty image, .lw-sector.is-empty text { opacity: .48; }
.lw-disc-ticks { stroke: #9aab72; stroke-width: 1; opacity: .7; }
.lw-disc-edge { fill: none; stroke: #697a3b; stroke-width: 2; }
.lw-hub { position: absolute; width: 25%; aspect-ratio: 1; left: 37.5%; top: 37.5%; z-index: 3; display: grid; place-items: center; border: 1px solid #f5ffd88c; border-radius: 50%; background: linear-gradient(140deg, #575f42, #0c1006 38%, #7b865b); box-shadow: 0 3px 12px #000c, inset 0 0 0 5px #171d0c; }
.lw-hub::before { content: ''; position: absolute; inset: 12%; border-radius: inherit; background: var(--lw-lemon); box-shadow: 0 0 15px #e6ff3224; }
.lw-hub img { position: relative; width: 56%; height: 56%; }
.lw-pointer { position: absolute; z-index: 5; width: 9%; top: -.7%; left: 45.5%; filter: drop-shadow(0 3px 2px #000a); transform-origin: 50% 8%; }
.lw-pointer svg { width: 100%; height: auto; }
.is-turning .lw-pointer { animation: lw-tick .1s ease-in-out infinite alternate; }
.lw-base { position: relative; height: 22px; width: 64%; margin: 0 auto; }
.lw-base span { position: absolute; inset: 0 25%; background: linear-gradient(90deg, #151a0d, #4b5632 50%, #151a0d); clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); }
.lw-base i { position: absolute; inset: auto 0 0; height: 6px; border-radius: 50%; background: #8b9a6b; box-shadow: 0 3px 12px #e6ff321f; }
.lw-wheel-placeholder { height: 100%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--lw-muted); padding: 28px; text-align: center; background: repeating-conic-gradient(#171d10 0deg 45deg, #0e120b 45deg 90deg); }
.lw-wheel-placeholder svg { width: 48px; height: 48px; margin-bottom: 72px; opacity: .6; }
.lw-wheel-placeholder span { font-size: 12px; max-width: 128px; }
.is-unconfigured .lw-hub { opacity: .7; }
.lw-action { width: min(100%, 344px); margin: 8px auto 0; text-align: center; }
.lw-remaining { font-size: 12px; color: var(--lw-subtle); min-height: 18px; margin-bottom: 8px !important; font-variant-numeric: tabular-nums; }
.lw-spin, .lw-primary { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; border-radius: 14px; background: var(--lw-lemon) !important; color: var(--lw-night) !important; font-size: 16px !important; font-weight: 800 !important; gap: 12px; transition: transform .12s var(--lw-ease), opacity .15s; }
.lw-spin svg, .lw-primary svg { width: 20px; height: 20px; flex: 0 0 20px; }
.lw-spin:active:not(:disabled), .lw-primary:active { transform: scale(.98); }
.lw-spin:disabled { background: var(--lw-raised) !important; color: var(--lw-muted) !important; }
.lw-spin.is-spinning { color: var(--lw-lemon) !important; }
.lw-spin.is-spinning svg { animation: lw-pulse .65s ease-in-out infinite alternate; }
.lw-status { min-height: 18px; font-size: 11px; color: var(--lw-muted); margin-top: 8px !important; text-wrap: pretty; }
.lw-status.is-error { color: var(--lw-error); }
.lw-page .lw-refresh { min-height: 44px; margin-top: 4px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; color: var(--lw-subtle); }
/* The wheel remains the focal point; eligibility is a compact, quiet receipt below it. */
.lw-entry { width: min(100%, 344px); margin: 12px auto 0; padding: 12px; border-radius: 12px; background: var(--lw-panel); box-shadow: inset 0 0 0 1px var(--lw-line); text-align: start; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lw-entry strong { display: block; font-size: 12px; font-weight: 650; color: var(--lw-ink); }
.lw-entry p { margin-top: 4px !important; color: var(--lw-subtle); font-size: 11px; }
.lw-entry small { display: block; margin-top: 8px; color: var(--lw-muted); font-size: 10px; line-height: 1.6; }
.lw-catalog { min-width: 0; }
.lw-catalog > header { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.lw-catalog h2 { font-size: 16px; font-weight: 750; letter-spacing: -.02em; }
.lw-catalog > header > span { color: var(--lw-muted); font-size: 10px; }
.lw-prize-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lw-prize { min-width: 0; padding: 10px 8px; display: flex; align-items: center; gap: 8px; border-radius: 12px; background: var(--lw-panel); box-shadow: inset 0 0 0 1px var(--lw-line); }
.lw-prize-art { width: 48px; height: 56px; flex: 0 0 48px; display: grid; place-items: center; }
.lw-prize img { display: block; width: 100%; height: 100%; object-fit: contain; }
.lw-prize > div:last-child { min-width: 0; }
.lw-prize h3 { font-size: 11px; line-height: 1.35; font-weight: 650; overflow-wrap: anywhere; }
.lw-prize-value { display: block; margin-top: 4px; color: var(--lw-lemon); font-size: 14px; font-weight: 750; font-variant-numeric: tabular-nums; }
.lw-prize-value span { font-size: 9px; font-weight: 650; }
/* 现金奖名字只是金额时不显示名字,金额就是第一行 */
.lw-prize-value:first-child, .lw-history-value:first-child { margin-top: 0; }
.lw-prize p { color: var(--lw-muted); font-size: 10px; margin-top: 4px !important; }
.lw-prize.is-empty img { opacity: .45; }
.lw-catalog-note { margin-top: 12px !important; color: var(--lw-muted); font-size: 10px; line-height: 1.6; text-wrap: pretty; }
.lw-empty { grid-column: 1 / -1; padding: 24px 16px; border-radius: 12px; background: var(--lw-panel); color: var(--lw-muted); text-align: center; font-size: 12px; }
.lw-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Physical gifts retain collection controls; PA awards show the saved automatic credit. */
.lw-dialog { box-sizing: border-box; width: min(344px, calc(100vw - 32px)); max-width: calc(100vw - 16px); max-height: min(86dvh, 700px); margin: auto; padding: 20px; border: 1px solid #ffffff1f; border-radius: 24px; color: var(--lw-ink); background: var(--lw-panel); box-shadow: 0 24px 100px #000a; overflow-y: auto; overscroll-behavior: contain; }
.lw-dialog::backdrop { background: #000b; -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); }
.lw-dialog[open] { animation: lw-dialog-in .22s var(--lw-ease) both; }
.lw-award-dialog { text-align: center; }
.lw-dialog-x { position: absolute; inset: 8px 8px auto auto; z-index: 2; }
.lw-win-eyebrow { margin: 8px 20px 8px !important; color: var(--lw-muted); font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.lw-award-dialog h2 { font-size: 23px; font-weight: 800; letter-spacing: -.03em; line-height: 1.25; text-wrap: balance; }
.lw-win-art { position: relative; display: grid; place-items: center; height: 128px; margin: 12px auto 0; }
.lw-win-art::before { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 1px solid #e6ff3224; }
.lw-win-art::after { content: ''; position: absolute; width: 144px; height: 144px; border-radius: 50%; border: 1px dashed #e6ff321c; }
.lw-win-art > span { position: absolute; inset: 0; background: radial-gradient(ellipse, #e6ff3229, transparent 67%); pointer-events: none; } /* 装饰光晕不能吃掉点击:卖回确认页它盖在右上角 × 下半截上 */
.lw-win-art img { position: relative; max-width: 136px; max-height: 124px; width: auto; height: 100%; object-fit: contain; z-index: 1; }
.lw-win-art.is-celebrating img { animation: lw-prize-in .45s var(--lw-ease) both; }
.lw-win-art.is-balance { height: 100px; margin-top: 12px; }
.lw-win-art.is-balance::before { width: 92px; height: 92px; }
.lw-win-art.is-balance::after { width: 112px; height: 112px; }
.lw-win-art.is-balance img { width: 80px; height: 80px; }
.lw-win-lead { color: var(--lw-subtle); font-size: 11px; margin-top: 8px !important; }
.lw-balance-value { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 4px !important; color: var(--lw-lemon); font-variant-numeric: tabular-nums; }
.lw-balance-value strong { font-size: clamp(28px, 9vw, 38px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; overflow-wrap: anywhere; }
.lw-balance-value > span { color: var(--lw-subtle); font-size: 12px; font-weight: 700; }
.is-balance-award .lw-win-name { font-size: 14px; color: var(--lw-subtle); margin-top: 8px !important; }
.lw-win-name { font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -.025em; margin: 4px 0 8px !important; overflow-wrap: anywhere; }
.lw-win-state { display: inline-block; max-width: 100%; padding: 3px 12px; border-radius: 999px; background: #e6ff3212; color: var(--lw-lemon); font-size: 11px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.lw-reference { margin-top: 16px; padding: 8px 12px; border-radius: 12px; text-align: start; background: var(--lw-night); }
.lw-reference > span { color: var(--lw-muted); font-size: 10px; }
.lw-reference > div { display: flex; align-items: center; gap: 8px; }
.lw-reference code { flex: 1; color: var(--lw-ink); font-size: 13px; font-weight: 650; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.lw-reference .lw-icon { width: 44px; height: 44px; flex-basis: 44px; }
.lw-reference .lw-icon svg { width: 16px; height: 16px; }
.lw-claim-note { color: var(--lw-muted); font-size: 11px; line-height: 1.6; margin: 12px 0 16px !important; text-wrap: pretty; }
.lw-primary { min-height: 48px; font-size: 13px !important; gap: 8px; }
.lw-dialog-done { min-height: 44px; margin-top: 4px !important; padding-inline: 12px !important; color: var(--lw-subtle) !important; font-size: 12px !important; }
/* 实物领奖:选寄送 / 卖回两张卡(寄送是唯一的柠檬主动作,卖回用浮起底 + 细框) */
.lw-claim-choices { display: grid; gap: 8px; margin-top: 16px; text-align: start; }
.lw-page .lw-choice { width: 100%; min-height: 64px; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; text-align: start; transition: transform .12s var(--lw-ease); }
.lw-page .lw-choice.is-ship { grid-template-columns: 24px minmax(0, 1fr); background: var(--lw-lemon); color: var(--lw-night); }
.lw-page .lw-choice.is-sell { background: var(--lw-raised); color: var(--lw-ink); box-shadow: inset 0 0 0 1px #ffffff1f; }
.lw-choice-icon { display: grid; place-items: center; width: 24px; height: 24px; }
.lw-choice-icon svg { width: 24px; height: 24px; }
.lw-choice.is-sell .lw-choice-icon { color: var(--lw-lemon); }
.lw-choice-text { min-width: 0; overflow-wrap: anywhere; }
.lw-choice-text strong { display: block; font-size: 15px; font-weight: 800; line-height: 1.35; }
.lw-choice-text small { display: block; margin-top: 2px; font-size: 11px; line-height: 1.45; }
.lw-choice.is-ship small { color: #1b2108c7; }
.lw-choice.is-sell small { color: var(--lw-subtle); }
.lw-choice-price { max-width: 112px; text-align: end; }
.lw-choice-price b { display: block; color: var(--lw-lemon); font-size: 16px; font-weight: 800; line-height: 1.3; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lw-choice-price small { display: block; margin-top: 2px; color: var(--lw-muted); font-size: 10px; line-height: 1.4; overflow-wrap: anywhere; }
.lw-claim-block { margin-top: 16px; text-align: start; }
.lw-claim-block .lw-track:first-child, .lw-claim-block .lw-steps:first-child { margin-top: 0; }
.lw-claim-block .lw-ship-summary { margin-top: 12px; padding: 10px 14px 0; border-radius: 12px; background: var(--lw-night); }
.lw-claim-block .lw-ship-summary .lw-claim-links { margin-top: 0; }
.lw-sold-value { margin-top: 12px !important; }
.lw-form-error { margin-top: 12px; padding: 8px 12px; border-radius: 10px; background: #ffb3a214; color: var(--lw-error); font-size: 12px; line-height: 1.5; text-align: start; overflow-wrap: anywhere; }
.lw-page .lw-primary:disabled { opacity: .55; cursor: default; transform: none; }
/* 收货表单 / 卖回确认:跟中奖弹窗同一个 dialog,换内容 */
.lw-award-dialog.is-form-view { text-align: start; }
/* 切换画面时焦点移到标题(给读屏用),不画外框 */
.lw-dialog h2[tabindex="-1"]:focus { outline: none !important; }
.lw-view-title { padding-inline-end: 40px; font-size: 20px !important; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.lw-view-lead { margin-top: 4px !important; color: var(--lw-subtle); font-size: 12px; line-height: 1.5; }
.lw-mini-prize { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 14px; border-radius: 14px; background: var(--lw-night); }
.lw-mini-prize img { width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; }
.lw-mini-prize > div { min-width: 0; }
.lw-mini-prize strong { display: block; font-size: 14px; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
.lw-mini-prize code { display: block; margin-top: 2px; color: var(--lw-muted); font-size: 11px; letter-spacing: .06em; overflow-wrap: anywhere; }
.lw-ship-form { display: grid; gap: 14px; margin-top: 16px; }
.lw-field { min-width: 0; }
.lw-field label { display: block; margin-bottom: 6px; color: var(--lw-subtle); font-size: 12px; line-height: 1.45; }
.lw-page .lw-input { display: block; width: 100%; min-width: 0; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #ffffff24; border-radius: 12px; background: var(--lw-night); color: var(--lw-ink); font: inherit; font-size: 16px; line-height: 1.4; outline: none; box-shadow: none; transition: border-color .15s, box-shadow .15s; }
.lw-page .lw-input::placeholder { color: var(--lw-muted); opacity: 1; }
.lw-page .lw-input:focus { border-color: var(--lw-lemon); box-shadow: 0 0 0 1px var(--lw-lemon); }
/* 全站的 input:focus-visible 外框(!important)在这里换成输入框自己的柠檬框,不叠两圈 */
.lw-page .lw-input:focus-visible { outline: none !important; }
.lw-page .lw-input[aria-invalid="true"] { border-color: var(--lw-error); box-shadow: 0 0 0 1px var(--lw-error); }
.lw-page .lw-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px #ffb3a259; }
.lw-page textarea.lw-input { min-height: 76px; resize: vertical; }
.lw-phone { display: flex; align-items: stretch; min-height: 48px; border: 1px solid #ffffff24; border-radius: 12px; background: var(--lw-night); transition: border-color .15s, box-shadow .15s; }
.lw-phone:focus-within { border-color: var(--lw-lemon); box-shadow: 0 0 0 1px var(--lw-lemon); }
.lw-phone.is-invalid { border-color: var(--lw-error); box-shadow: 0 0 0 1px var(--lw-error); }
.lw-phone.is-invalid:focus-within { box-shadow: 0 0 0 3px #ffb3a259; }
.lw-phone-prefix { display: flex; align-items: center; flex: none; margin: 10px 0; padding: 0 12px 0 14px; border-inline-end: 1px solid #ffffff24; color: var(--lw-subtle); font-size: 16px; font-variant-numeric: tabular-nums; }
.lw-page .lw-phone .lw-input, .lw-page .lw-phone .lw-input:focus, .lw-page .lw-phone .lw-input[aria-invalid="true"] { flex: 1; min-height: 46px; border: 0; background: transparent; box-shadow: none; }
.lw-field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.lw-page .lw-select { appearance: none; -webkit-appearance: none; padding-inline-end: 36px; text-overflow: ellipsis; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23b2b5a7' stroke-width='1.6'%3E%3Cpath d='m3 4.5 3 3 3-3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
.lw-page .lw-select:invalid { color: var(--lw-muted); }
.lw-page .lw-select option { background: var(--lw-panel); color: var(--lw-ink); }
.lw-field-error { margin-top: 6px !important; color: var(--lw-error); font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.lw-form-note { color: var(--lw-muted); font-size: 11px; line-height: 1.6; }
.lw-ship-form .lw-form-error { margin-top: 0; }
.lw-ship-form .lw-primary { min-height: 52px; font-size: 15px !important; }
.lw-award-dialog.is-form-view .lw-dialog-done { display: block; margin-inline: auto; }
/* 卖回确认:金额最大,三行明细,一句提醒 */
.lw-sell-art { height: 104px; margin-top: 8px; }
.lw-sell-art::before { width: 92px; height: 92px; }
.lw-sell-art::after { width: 112px; height: 112px; }
.lw-sell-art img { max-width: 96px; max-height: 92px; }
.lw-award-dialog .lw-sell-title { margin-top: 12px; padding-inline: 24px; font-size: 20px; overflow-wrap: anywhere; }
.lw-sell-amount strong { font-size: clamp(34px, 11vw, 44px); }
.lw-sell-facts { display: grid; gap: 8px; margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--lw-night); text-align: start; }
.lw-sell-facts > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.lw-sell-facts dt { min-width: 0; color: var(--lw-subtle); font-size: 12px; line-height: 1.5; }
.lw-sell-facts dd { min-width: 0; margin: 0; color: var(--lw-ink); font-size: 12px; font-weight: 750; line-height: 1.5; text-align: end; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.lw-sell-warning { margin: 14px 0 16px !important; color: var(--lw-muted); font-size: 11px; line-height: 1.6; text-wrap: pretty; }
.lw-award-dialog.is-sell-view .lw-form-error { margin: -4px 0 12px; }
.lw-history-dialog { width: min(440px, calc(100vw - 16px)); max-height: min(90dvh, 820px); padding: 16px; }
.lw-dialog-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.lw-dialog-bar .lw-icon { background: var(--lw-raised); color: var(--lw-ink); }
.lw-dialog-bar h2 { min-width: 0; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; overflow-wrap: anywhere; }
.lw-award-list { display: grid; gap: 8px; }
/* 我的奖品:每一笔是一张卡(头部整行可点开详情,下面按状态放动作 / 收货资料 / 单号与进度;按钮不套按钮) */
.lw-award-row { min-width: 0; padding: 12px; border-radius: 16px; background: var(--lw-raised); }
.lw-page .lw-award-head { width: 100%; min-width: 0; min-height: 56px; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; text-align: start; border-radius: 10px; }
.lw-award-head > img { width: 48px; height: 56px; object-fit: contain; }
.lw-award-text { min-width: 0; }
.lw-award-text strong { display: block; font-size: 14px; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
.lw-history-value { display: block; margin-top: 4px; color: var(--lw-lemon); font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lw-award-text small { display: block; font-size: 11px; color: var(--lw-muted); margin-top: 4px; line-height: 1.45; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.lw-award-code { white-space: nowrap; }
/* 状态胶囊:待选择柠檬描边 · 等待寄出灰 · 已寄出蓝 · 已签收绿 · 已卖回柠檬;窄屏长字可以换行 */
.lw-award-state { justify-self: end; max-width: 112px; padding: 3px 10px; border-radius: 12px; font-size: 11px; line-height: 1.45; font-style: normal; font-weight: 650; text-align: center; overflow-wrap: anywhere; color: var(--lw-lemon); background: #e6ff3214; }
.lw-award-state.is-choose, .lw-win-state.is-choose { color: var(--lw-lemon); background: #e6ff320d; box-shadow: inset 0 0 0 1px #e6ff3266; }
.lw-award-state.is-ship, .lw-win-state.is-ship { color: var(--lw-subtle); background: #ffffff14; }
.lw-award-state.is-shipped, .lw-win-state.is-shipped { color: var(--lw-info); background: #8ec5ff1f; }
.lw-award-state.is-delivered, .lw-win-state.is-delivered { color: var(--lw-success); background: #7ee2a81f; }
.lw-award-state.is-sold, .lw-win-state.is-sold { color: var(--lw-lemon); background: #e6ff321a; }
.lw-award-state.is-credited, .lw-win-state.is-credited { color: var(--lw-lemon); background: #e6ff3212; }
.lw-award-state.is-legacy, .lw-win-state.is-legacy { color: var(--lw-subtle); background: #ffffff0f; }
.lw-award-state.is-pending { color: var(--lw-lemon); background: transparent; box-shadow: inset 0 0 0 1px #e6ff3259; }
.lw-award-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.lw-page .lw-small-primary, .lw-page .lw-small-outline { min-height: 44px; padding: 8px 10px; border-radius: 12px; font-size: 13px; font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; transition: transform .12s var(--lw-ease); }
.lw-page .lw-small-primary { background: var(--lw-lemon); color: var(--lw-night); }
.lw-page .lw-small-outline { color: var(--lw-lemon); box-shadow: inset 0 0 0 1px #e6ff3266; }
.lw-small-primary:active, .lw-small-outline:active, .lw-choice:active { transform: scale(.98); }
.lw-history-notice { margin-bottom: 8px; padding: 8px 12px; border-radius: 10px; background: #7ee2a814; color: var(--lw-success); font-size: 12px; line-height: 1.5; }
.lw-claim-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.lw-page .lw-claim-tab { position: relative; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: var(--lw-raised); color: var(--lw-subtle); font-size: 13px; font-weight: 650; line-height: 1.45; font-variant-numeric: tabular-nums; }
.lw-claim-tab::after { content: ''; position: absolute; inset: -4px 0; }
.lw-page .lw-claim-tab[aria-selected="true"] { background: var(--lw-lemon); color: var(--lw-night); font-weight: 800; }
.lw-page .lw-claim-tab:focus-visible { outline-offset: 2px; }
/* 收货资料一行 + 改资料 / 改成卖回:两个链接一律单独排一行(以前列表里夹在地址文字后面,
 * 「改成卖回」换到下一行时 44px 高的点击框会盖住上一行的「改资料」,按改资料变成打开卖回确认) */
.lw-ship-summary { margin-top: 10px; text-align: start; }
.lw-ship-summary p { color: var(--lw-subtle); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.lw-ship-summary p > span { display: block; }
.lw-page .lw-link { min-height: 0; color: var(--lw-lemon); font-size: inherit; font-weight: 700; text-decoration: none; }
/* 点击范围至少 44 × 44:左右各 8px 内距,整行往外挪 8px,字照样跟地址对齐 */
.lw-page .lw-claim-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px; margin: 2px -8px 0; }
.lw-page .lw-claim-links .lw-link, .lw-page .lw-help { min-height: 44px; font-size: 12px; }
.lw-page .lw-claim-links .lw-link { min-width: 44px; padding-inline: 8px; justify-content: center; }
.lw-page .lw-help { display: block; margin: 8px auto 0; padding-inline: 8px; font-weight: 650; color: var(--lw-subtle); text-decoration: underline; text-underline-offset: 4px; }
/* 单号卡 + 四段进度 */
.lw-track { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--lw-night); text-align: start; }
.lw-track small { display: block; color: var(--lw-subtle); font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.lw-track > div { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; margin-top: 2px; }
.lw-track code { color: var(--lw-ink); font: 750 15px/1.5 var(--sans, system-ui, sans-serif); letter-spacing: .03em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.lw-page .lw-track .lw-link { min-height: 44px; font-size: 12px; white-space: nowrap; }
.lw-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.lw-steps li { min-width: 0; text-align: center; color: var(--lw-muted); font-size: 10px; line-height: 1.4; overflow-wrap: break-word; hyphens: auto; }
/* 缅甸文字形上下伸得多,两行的进度字会压到下面的「联系客服」 */
.lw-steps li:lang(my) { line-height: 1.7; }
.lw-steps li:first-child { text-align: start; }
.lw-steps li:last-child { text-align: end; }
.lw-steps i { display: block; height: 3px; margin-bottom: 6px; border-radius: 2px; background: #ffffff1f; }
.lw-steps li.is-done { color: var(--lw-lemon); }
.lw-steps li.is-done i { background: var(--lw-lemon); }
.lw-empty-awards { padding: 28px 16px; display: grid; justify-items: center; gap: 16px; text-align: center; color: var(--lw-subtle); font-size: 12px; }
.lw-empty-awards svg { width: 48px; height: 48px; color: var(--lw-muted); }
.lw-history-more { display: block; width: 100%; min-height: 44px; margin-top: 12px !important; border: 1px solid var(--lw-line) !important; border-radius: 10px; color: var(--lw-lemon) !important; font-size: 12px !important; }
.lw-history-message { text-align: center; color: var(--lw-muted); font-size: 12px; padding: 16px; }
@keyframes lw-tick { to { transform: rotate(-5deg); } }
@keyframes lw-pulse { to { opacity: .35; } }
@keyframes lw-dialog-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes lw-prize-in { from { opacity: .3; transform: translateY(10px) scale(.94); } to { opacity: 1; transform: none; } }
@media (min-width: 720px) {
  .lw-page { padding: 12px 24px 40px; }
  .lw-masthead { grid-template-columns: minmax(0, 1fr) 136px; min-height: 132px; }
  .lw-masthead h1 { font-size: 40px; }
  .lw-mascot { width: 136px; height: 140px; }
  .lw-panda { left: -68px; width: 272px; height: 362px; }
  .lw-layout { grid-template-columns: minmax(300px, 1.2fr) minmax(240px, .8fr); align-items: start; gap: 32px; }
  .lw-catalog { padding-top: 32px; }
  .lw-prize-list { grid-template-columns: 1fr; }
  .lw-prize { padding: 12px; gap: 12px; }
  .lw-prize-art { width: 56px; height: 64px; flex-basis: 56px; }
  .lw-prize h3 { font-size: 13px; }
  .lw-prize p { font-size: 11px; }
}
@media (max-width: 360px) {
  .lw-page { padding-inline: 12px; }
  .lw-masthead { grid-template-columns: minmax(0, 1fr) 80px; }
  .lw-mascot { width: 80px; height: 96px; }
  .lw-panda { left: -40px; width: 160px; height: 213px; }
  .lw-prize-art { width: 40px; height: 48px; flex-basis: 40px; }
  .lw-prize { gap: 6px; padding: 8px; }
  .lw-dialog { padding: 20px; }
  .lw-history-dialog { padding: 12px; }
  .lw-award-row { padding: 10px; }
  .lw-page .lw-award-head { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; }
  .lw-award-head > img { width: 40px; height: 48px; }
  .lw-award-state { max-width: 96px; padding-inline: 8px; }
  .lw-page .lw-choice { gap: 10px; padding: 12px; }
  .lw-field-row { gap: 8px; }
  .lw-page .lw-claim-tab { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .lw-page *, .lw-page *::before, .lw-page *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
