#pg-wallet[hidden],#pg-wallet [hidden]{display:none!important}
#pg-wallet{position:fixed;z-index:26;overflow:auto;overscroll-behavior:contain;background:#003b2d url('wallet-emerald-bg.webp?v=2026100109') center top/var(--wallet-bg-width,100%) var(--wallet-bg-height,100%) no-repeat;background-attachment:scroll;scrollbar-gutter:stable;color:#fff1bf;font-family:"PingFang SC","Microsoft YaHei",sans-serif;container-type:inline-size;-webkit-overflow-scrolling:touch}
#pg-wallet *{box-sizing:border-box}#pg-wallet button,#pg-wallet input{font:inherit}#pg-wallet button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}#pg-wallet button:disabled{opacity:.5;cursor:default}#pg-wallet button:focus-visible,#pg-wallet input:focus-visible{outline:3px solid #fff3ad;outline-offset:3px}#pg-wallet button:active{filter:brightness(.88)}
#pg-wallet .wallet-scene{min-height:max(100%,164cqw);padding:0 5.5cqw 32cqw;background:transparent}
#pg-wallet header{height:31cqw;display:flex;align-items:flex-end;justify-content:center;padding-bottom:3.5cqw}#pg-wallet h1{margin:0;color:#ffe09a;font-family:"Songti SC","STSong",serif;font-size:7cqw;letter-spacing:.5cqw;text-shadow:0 2px 3px #271700;font-weight:900}
#pg-wallet .wallet-balances{position:relative;height:13.5cqw;margin:0 -4cqw;background:url('profile-wallet.webp?v=2026100108') center/100% 100% no-repeat}#pg-wallet .wallet-balances span{position:absolute;top:50%;transform:translateY(-50%);font-size:5cqw;font-weight:650;font-variant-numeric:tabular-nums;max-width:27%;overflow:hidden;text-overflow:ellipsis;color:#fff2bd}#pg-wallet .wallet-gold{left:23%}#pg-wallet .wallet-bank{left:67%}
#pg-wallet .wallet-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2.5cqw 4.5cqw;margin:3.5cqw 0 6cqw}#pg-wallet .wallet-tab{height:9cqw;min-height:44px;padding:0 0 1cqw;background:transparent;border:0;border-bottom:1px solid #87aa77;color:#e8ebdf;font-size:3.7cqw;font-weight:600;white-space:nowrap}#pg-wallet .wallet-tab[aria-current=true]{color:#ffe17d;border-bottom:2px solid #f5d274;text-shadow:0 0 12px #d7b342}
#pg-wallet .wallet-field{display:flex;align-items:center;gap:3cqw;margin:2cqw 0 3cqw}#pg-wallet .wallet-field label{font-size:3.7cqw;font-weight:600;white-space:nowrap}#pg-wallet .wallet-field input{min-width:0;flex:1;width:100%;height:10cqw;min-height:44px;padding:0 3cqw;border:1.5px solid #e2cb7c;border-radius:6px;background:#003b2bc9;color:#fff5d1;font-size:3.7cqw}#pg-wallet input::placeholder{color:#a8c1ae}
#pg-wallet .wallet-slider{display:block;width:100%;height:44px;margin:4cqw 0 3cqw;accent-color:#e8c467;cursor:pointer}#pg-wallet .wallet-slider::-webkit-slider-runnable-track{height:12px;border:1px solid #9cc58b;border-radius:10px;background:#064632}#pg-wallet .wallet-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:30px;height:30px;margin-top:-10px;border:2px solid #fff0ad;border-radius:50%;background:#e6bb54;box-shadow:0 1px 4px #00170c}#pg-wallet .wallet-slider{-webkit-appearance:none;appearance:none;background:transparent}
#pg-wallet .wallet-shortcuts{display:grid;grid-template-columns:repeat(5,1fr);gap:2cqw;margin:3cqw 0 5cqw}#pg-wallet .wallet-shortcut{padding:0;height:8.5cqw;min-height:44px;border:1px solid #dbc578;border-radius:6px;background:#064832c9;color:#fff2c1;font-size:3.2cqw;font-weight:600}#pg-wallet .wallet-primary{display:block;width:89%;height:13cqw;min-height:52px;margin:3cqw auto 0;padding:0;border:0;background:url('login-gold-button.webp?v=2026100106') center/100% 100% no-repeat;color:#412709;font-size:5.5cqw;font-weight:800;letter-spacing:2px}
#pg-wallet .wallet-give-shortcuts{grid-template-columns:repeat(4,1fr);margin:1cqw 0 3cqw}#pg-wallet .wallet-check,#pg-wallet .wallet-secondary,#pg-wallet .wallet-pages button,#pg-wallet .wallet-back{min-height:40px;border:1px solid #cbb566;border-radius:6px;background:#074733;color:#ffe8a7;padding:5px 10px;font-size:14px;white-space:nowrap}#pg-wallet .wallet-chin{margin:0;text-align:right;color:#d4ddba;font-size:14px}#pg-wallet .wallet-empty{text-align:center;padding:8cqw 0;color:#d5e1cd}#pg-wallet .wallet-record{display:flex;flex-wrap:wrap;gap:10px;padding:16px 10px;border-bottom:1px solid #658369;background:#003827c9;font-size:14px}#pg-wallet .wallet-record strong{flex:1;overflow-wrap:anywhere}#pg-wallet .wallet-record time{width:100%;color:#bad1b8;font-size:12px}#pg-wallet .wallet-record-amount{font-weight:600;color:#ffe19d}#pg-wallet .wallet-pages{display:flex;align-items:center;justify-content:space-between;margin-top:20px;font-size:14px}
#pg-wallet .wallet-toast{position:fixed;z-index:61;bottom:16%;left:50%;transform:translateX(-50%);max-width:90vw;width:max-content;border:1px solid #d3b45e;border-radius:10px;background:#003324f5;color:#fff1c4;padding:12px 18px;font-size:15px}
#pg-wallet .wallet-modal{position:fixed;inset:0;z-index:45;background:#001b14d9;display:grid;place-items:center;padding:20px}#pg-wallet .wallet-dialog{width:100%;max-width:390px;background:#064531;border:1px solid #d8bc72;border-radius:16px;padding:24px;box-shadow:0 10px 40px #0008}#pg-wallet .wallet-dialog h2{font-size:21px;margin:0 0 18px}#pg-wallet .wallet-dialog p{line-height:1.6;white-space:pre-line;overflow-wrap:anywhere;color:#fff1c9}#pg-wallet .wallet-dialog-actions{display:flex;gap:12px;margin-top:22px}#pg-wallet .wallet-dialog-actions button{flex:1;min-height:44px;border:1px solid #e4c87c;border-radius:8px;background:#d9b553;color:#302308;font-weight:600}

#pg-wallet .wallet-busy{position:fixed;inset:0;z-index:55;display:grid;place-items:center;background:#00251cdc;color:#fff0bd;font-size:16px}

/* Match the inline personal-center title gold stops and depth. */
#pg-wallet h1{color:#ffea9e;background:linear-gradient(to bottom,#fffbd5 0%,#ffea9e 42%,#e6b950 70%,#ad6b24 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none;filter:drop-shadow(0 2px 0 #78451b) drop-shadow(0 1px 1px #003c2d)}

/* Clip the source image matte outside the ornamental gold frame. */
#pg-wallet .wallet-balances{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201120%20156%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M%2077%207%20C%2061%204%2047%208%2039%2019%20C%2031%2031%2033%2036%2024%2043%20C%2010%2048%205%2061%206%2079%20C%206%2091%2012%20101%2018%20109%20C%204%20114%205%20125%2018%20130%20C%2023%20145%2038%20148%2051%20147%20C%2064%20157%2082%20151%2094%20148%20L%201027%20148%20C%201043%20155%201057%20150%201067%20144%20C%201082%20150%201099%20141%201101%20130%20C%201117%20125%201117%20112%201105%20105%20C%201121%2084%201114%2059%201102%2051%20C%201096%2044%201086%2042%201080%2034%20C%201079%2012%201061%202%201041%205%20C%201031%202%201022%207%201016%208%20L%20109%208%20C%2099%202%2088%203%2077%207%20Z%22%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201120%20156%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20fill%3D%22white%22%20d%3D%22M%2077%207%20C%2061%204%2047%208%2039%2019%20C%2031%2031%2033%2036%2024%2043%20C%2010%2048%205%2061%206%2079%20C%206%2091%2012%20101%2018%20109%20C%204%20114%205%20125%2018%20130%20C%2023%20145%2038%20148%2051%20147%20C%2064%20157%2082%20151%2094%20148%20L%201027%20148%20C%201043%20155%201057%20150%201067%20144%20C%201082%20150%201099%20141%201101%20130%20C%201117%20125%201117%20112%201105%20105%20C%201121%2084%201114%2059%201102%2051%20C%201096%2044%201086%2042%201080%2034%20C%201079%2012%201061%202%201041%205%20C%201031%202%201022%207%201016%208%20L%20109%208%20C%2099%202%2088%203%2077%207%20Z%22%2F%3E%3C%2Fsvg%3E");-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}

/* Selected wallet concept: sidebar actions with a focused operation area. */
#pg-wallet .wallet-scene{padding-left:3cqw;padding-right:3cqw;padding-bottom:14cqw}
#pg-wallet .wallet-balances{margin-left:-1.5cqw;margin-right:-1.5cqw}
#pg-wallet .wallet-workspace{display:grid;grid-template-columns:25% minmax(0,1fr);gap:5cqw;margin-top:5cqw;min-height:83cqw}
#pg-wallet .wallet-tabs{display:flex;flex-direction:column;gap:1.6cqw;margin:0;padding:3cqw 2cqw 6cqw 0;border-right:1px solid #d6bd776b}
#pg-wallet .wallet-tab{display:flex;align-items:center;gap:2cqw;flex-shrink:0;width:100%;height:10.5cqw;min-height:44px;padding:0 1.5cqw;border:1px solid transparent;border-radius:3cqw;color:#c5d6bc;font-size:3.4cqw;font-weight:600;text-align:left;text-shadow:none;transition:background .15s,color .15s,transform .15s}
#pg-wallet .wallet-tab svg{width:4.8cqw;height:4.8cqw;min-width:18px;min-height:18px;flex-shrink:0;stroke-width:1.5}
#pg-wallet .wallet-tab[aria-current=true]{border:1px solid #f3d57e;background:linear-gradient(125deg,#b8954166,#726e2a44);box-shadow:inset 0 0 12px #efdc7450,0 0 9px #e3bb3824;color:#fff1b6;text-shadow:none}
#pg-wallet .wallet-tab:active{transform:scale(.97)}
#pg-wallet .wallet-records-label{display:flex;align-items:center;gap:1.5cqw;color:#aabea7;font-size:3cqw;margin:6cqw 0 1cqw;padding-left:1cqw}
#pg-wallet .wallet-records-label:after{content:'';height:1px;background:#bca56b70;flex:1}
#pg-wallet .wallet-tab[data-tab='3'],#pg-wallet .wallet-tab[data-tab='4'],#pg-wallet .wallet-tab[data-tab='6']{font-size:2.9cqw;gap:1.1cqw;padding-left:1cqw;padding-right:0}
#pg-wallet .wallet-operation{min-width:0;padding:2cqw 0 3cqw}
#pg-wallet .wallet-operation-title{margin:0 0 6cqw;padding-bottom:3cqw;border-bottom:1px solid #b6994c55;color:#ffe5a2;font-family:"Songti SC","STSong",serif;font-size:6.6cqw;line-height:1.3;letter-spacing:.5cqw;font-weight:700;text-shadow:0 2px 2px #14341e}
#pg-wallet .wallet-field{display:flex;flex-wrap:wrap;gap:2cqw;margin:0 0 3cqw}
#pg-wallet .wallet-field label{width:100%;font-size:3.5cqw;color:#c5d6bc;font-weight:500}
#pg-wallet .wallet-field input{height:10cqw;padding:0 3cqw;border:1px solid #dec47b;border-radius:1.6cqw;background:#003a2d70;font-size:3.7cqw}
#pg-wallet .wallet-slider{height:32px;margin:3.5cqw 0}
#pg-wallet .wallet-slider::-webkit-slider-runnable-track{height:7px;border-color:#d6c17d}
#pg-wallet .wallet-slider::-webkit-slider-thumb{width:24px;height:24px;margin-top:-9px}
#pg-wallet .wallet-shortcuts{grid-template-columns:repeat(6,minmax(0,1fr));gap:2cqw;margin:2cqw 0 5cqw}
#pg-wallet .wallet-shortcut{grid-column:span 2;height:7cqw;min-height:36px;border-radius:1.4cqw;font-size:3.3cqw;background:#06473360;border-color:#d4b469}
#pg-wallet .wallet-shortcuts:not(.wallet-give-shortcuts) .wallet-shortcut:nth-child(n+4){grid-column:span 3}
#pg-wallet .wallet-give-shortcuts .wallet-shortcut:last-child{grid-column:span 6}
#pg-wallet .wallet-primary{width:100%;height:10.5cqw;min-height:44px;margin:5cqw 0 0;border:1px solid #fff0b2;border-radius:4cqw;background:linear-gradient(165deg,#ffe795,#f5c449 45%,#dea52a 80%,#f4d574);box-shadow:inset 0 0 0 2px #b6802580,inset 0 2px 3px #fff5c2,0 3px 9px #001e2080;color:#3d290a;font-size:4.5cqw;letter-spacing:.3cqw}
#pg-wallet .wallet-pages{flex-wrap:wrap;gap:8px;justify-content:center;font-size:12px}
#pg-wallet .wallet-pages button{font-size:12px;padding:5px 7px;min-height:36px}
#pg-wallet .wallet-record{padding:12px 0;background:#00382740;gap:7px}
#pg-wallet .wallet-record strong{flex-basis:100%;font-weight:500}
#pg-wallet .wallet-chin{font-size:12px}
#pg-wallet .wallet-check{font-size:12px;padding:5px 8px}
@container(max-width:360px){#pg-wallet .wallet-tab{gap:1.3cqw}#pg-wallet .wallet-tab[data-tab='3'],#pg-wallet .wallet-tab[data-tab='4'],#pg-wallet .wallet-tab[data-tab='6']{flex-direction:column;justify-content:center;font-size:11px;gap:2px;height:56px}#pg-wallet .wallet-field input{font-size:14px}#pg-wallet .wallet-shortcut{font-size:13px}}
@media(prefers-reduced-motion:reduce){#pg-wallet .wallet-tab{transition:none}}
#pg-wallet .wallet-tab{ text-shadow:0 1px 3px #002218,0 0 6px #002218 }
#pg-wallet .wallet-shortcut{background:#064733d9}
#pg-wallet .wallet-tab{height:8.5cqw}
#pg-wallet .wallet-records-label{margin-top:4cqw}
#pg-wallet .wallet-operation-title{margin-bottom:3cqw;padding-bottom:2cqw}
#pg-wallet .wallet-slider{margin:2cqw 0}
#pg-wallet .wallet-shortcuts{margin-bottom:3cqw}
#pg-wallet .wallet-primary{margin-top:4cqw}
