:root{color:#172033;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}html,body,#app{min-height:100%}body{margin:0;background:linear-gradient(180deg,#f4f7fb,#f8fafc 46%,#eef4f7);color:#172033}button,input{font:inherit;letter-spacing:0}button{-webkit-tap-highlight-color:transparent}svg{display:block}.recharge-shell{width:min(100%,720px);min-height:100vh;margin:0 auto;padding:calc(12px + env(safe-area-inset-top)) 14px calc(112px + env(safe-area-inset-bottom))}.topbar{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;height:44px;margin-bottom:12px}.topbar strong{overflow:hidden;color:#121a2a;font-size:18px;font-weight:700;line-height:24px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.icon-button{display:inline-grid;width:40px;height:40px;place-items:center;border:0;border-radius:8px;background:transparent;color:#c8945c;cursor:pointer}.icon-button svg{width:27px;height:27px}.icon-button path,.state-icon path,.wechat-mark path,.primary-button path{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.hero-card{min-height:194px;padding:24px 22px;border-radius:8px;background:linear-gradient(135deg,#ffffff3d,#fff0),linear-gradient(135deg,#e7b77b,#c98f55);box-shadow:0 18px 40px #97693938;color:#fff}.hero-label{margin:0;font-size:15px;font-weight:650;line-height:22px}.hero-card h1{display:flex;align-items:flex-end;gap:8px;margin:14px 0 0;font-size:52px;font-weight:800;line-height:1}.hero-card h1 span{min-width:0;overflow-wrap:anywhere}.hero-card h1 small{padding-bottom:5px;font-size:24px;font-weight:700}.hero-card p:last-child{max-width:560px;margin:26px 0 0;font-size:15px;line-height:24px}.content-panel,.pay-method,.notice-panel,.message-panel{margin-top:14px;border:1px solid #e5eaf1;border-radius:8px;background:#fff;box-shadow:0 10px 28px #23374b12}.content-panel{padding:18px 16px 16px}.section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.section-title h2,.pay-method h2,.notice-panel h2,.state-page h1{margin:0;color:#111827;font-size:18px;font-weight:750;line-height:25px}.section-title span{color:#7a8595;font-size:12px;line-height:18px;white-space:nowrap}.amount-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.amount-option{position:relative;display:flex;min-height:92px;flex-direction:column;justify-content:center;overflow:hidden;padding:12px 9px;border:1px solid #e1e6ee;border-radius:8px;background:#fff;color:#192234;cursor:pointer;text-align:center;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.amount-option.active{border-color:#c8945c;box-shadow:inset 0 0 0 1px #c8945c,0 8px 18px #c8945c24;transform:translateY(-1px)}.amount-option.active:after{position:absolute;right:-18px;bottom:-18px;width:42px;height:42px;border-radius:50%;background:#c8945c;content:""}.amount-value{display:block;font-size:20px;font-weight:800;line-height:25px}.amount-value small{margin-right:2px;font-size:13px}.amount-name,.amount-desc{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.amount-name{margin-top:6px;color:#5d6878;font-size:12px;line-height:17px}.amount-desc{margin-top:2px;color:#a06f3f;font-size:11px;line-height:16px}.custom-amount{display:grid;grid-template-columns:minmax(112px,1fr) minmax(128px,1.2fr);gap:12px;align-items:center;min-height:76px;margin-top:12px;padding:12px;border:1px solid #e1e6ee;border-radius:8px;background:#fbfcfe}.custom-amount.active{border-color:#c8945c;background:#fffaf4}.custom-amount strong,.custom-amount small{display:block}.custom-amount strong{color:#182235;font-size:15px;line-height:22px}.custom-amount small{margin-top:4px;color:#778295;font-size:12px;line-height:17px}.custom-amount input{width:100%;height:46px;min-width:0;border:1px solid #d8dee8;border-radius:8px;background:#fff;color:#111827;font-size:17px;font-weight:700;outline:none;padding:0 12px}.custom-amount input:focus{border-color:#c8945c;box-shadow:0 0 0 3px #c8945c21}.field-error{margin:10px 0 0;color:#bd3b2f;font-size:13px;line-height:19px}.empty-box{display:grid;gap:6px;padding:16px;border-radius:8px;background:#f7f9fc;color:#697486}.empty-box strong{color:#182235;font-size:15px;line-height:22px}.empty-box span{font-size:13px;line-height:20px}.pay-method{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:16px}.wechat-mark{display:grid;width:48px;height:48px;place-items:center;border-radius:8px;background:#e9f8f1;color:#13a568}.wechat-mark svg{width:30px;height:30px}.pay-method p{margin:5px 0 0;color:#697486;font-size:13px;line-height:20px}.method-status{display:inline-flex;align-items:center;height:26px;padding:0 9px;border-radius:999px;background:#edf8f2;color:#118657;font-size:12px;font-weight:700;white-space:nowrap}.notice-panel{padding:16px}.notice-panel ul{display:grid;gap:9px;margin:12px 0 0;padding:0;color:#596678;font-size:13px;line-height:20px;list-style:none}.notice-panel li{position:relative;padding-left:18px}.notice-panel li:before{position:absolute;top:8px;left:3px;width:5px;height:5px;border-radius:50%;background:#c8945c;content:""}.message-panel{padding:14px 16px;color:#38506e;font-size:13px;line-height:20px}.message-panel p{margin:0}.message-panel.error{border-color:#f4c2bd;background:#fff6f5;color:#ad2f25}.message-panel.success{border-color:#bfe7cf;background:#f2fbf6;color:#117548}.recovery-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.secondary-button,.ghost-button,.primary-button{display:inline-flex;align-items:center;justify-content:center;min-width:0;border-radius:8px;cursor:pointer;font-weight:750}.secondary-button,.ghost-button{height:42px;padding:0 12px;font-size:14px}.secondary-button{border:0;background:#c8945c;color:#fff}.ghost-button{border:1px solid #d5dae3;background:#fff;color:#172033}.bottom-bar{position:fixed;right:0;bottom:0;left:0;z-index:20;display:grid;grid-template-columns:minmax(108px,1fr) minmax(156px,1.25fr);gap:12px;align-items:center;width:min(100%,720px);margin:0 auto;padding:12px 14px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #e4e9f0;background:#fffffff5;box-shadow:0 -12px 32px #23374b1a;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.bottom-bar span,.bottom-bar strong{display:block}.bottom-bar span{color:#6b7483;font-size:12px;line-height:17px}.bottom-bar strong{overflow:hidden;color:#c07f43;font-size:23px;font-weight:800;line-height:30px;text-overflow:ellipsis;white-space:nowrap}.primary-button{height:48px;gap:8px;border:0;background:#c8945c;color:#fff;font-size:16px;box-shadow:0 10px 22px #c8945c3d}.primary-button svg{width:23px;height:23px}.primary-button:disabled{background:#b8c0ca;box-shadow:none;cursor:not-allowed}.state-page{display:grid;min-height:calc(100vh - 120px);place-items:center;align-content:center;gap:14px;padding:30px 18px;color:#697486;text-align:center}.state-page p{max-width:320px;margin:0;font-size:14px;line-height:22px}.state-icon{display:grid;width:54px;height:54px;place-items:center;border-radius:8px;background:#fff3f1;color:#b8322a}.state-icon svg{width:31px;height:31px}.spinner{width:34px;height:34px;border:3px solid #e4e9f0;border-top-color:#c8945c;border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width: 480px){.recharge-shell{padding-right:12px;padding-left:12px}.hero-card{min-height:156px;padding:18px 17px}.hero-card h1{margin-top:10px;font-size:42px}.hero-card h1 small{padding-bottom:4px;font-size:21px}.hero-card p:last-child{margin-top:18px;font-size:14px;line-height:22px}.content-panel{padding:15px 16px 14px}.section-title{margin-bottom:12px}.amount-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.amount-option{min-height:86px}.custom-amount{min-height:68px;margin-top:10px;padding:10px}.custom-amount,.pay-method{grid-template-columns:1fr}.pay-method{align-items:start}.method-status{justify-self:start}.recovery-actions{grid-template-columns:1fr}}@media (max-width: 340px){.hero-card h1{font-size:40px}.bottom-bar{grid-template-columns:1fr}}@media (prefers-reduced-motion: reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
