@import url('/feedback.css?v=20261116-feedback1');
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; padding: 28px 15px; color: #e8dcc1; background: radial-gradient(ellipse at 50% 0, #3d4633, #131b17 75%); font: 14px/1.65 "Microsoft YaHei", sans-serif; }
button, input { font: inherit; } button { cursor: pointer; } button:disabled { cursor: default; opacity: .5; } button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid #f3d79d; outline-offset: 3px; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.recharge-shell { width: min(540px, 100%); margin: auto; border: 2px solid #9c7e4b; background: #232920; box-shadow: 0 0 0 4px #111a12, 0 20px 70px #0005; }
.recharge-header { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 13px; padding: 15px; border-bottom: 1px solid #8a7144; background: linear-gradient(#434337, #252d22); }
.back-button { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 12px; color: #f8dfaa; border: 1px solid #c6a66a; text-decoration: none; background: linear-gradient(#73603a, #453c26); }
.recharge-header > div { flex: 1; } .recharge-header > div > span { color: #aaa38c; font-size: 9px; letter-spacing: 2px; }
h1 { margin: 0; font: bold 22px/1.4 SimSun, serif; letter-spacing: 2px; } h2, p { margin: 0; }
.network-tag { flex: none; padding: 3px 7px; border: 1px solid #b49b5f66; color: #dec18a; font-size: 10px; }
.recharge-body { padding: 22px; } .wallet-balance { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; color: #aca68e; font-size: 11px; }
.wallet-balance strong { color: #f1d18a; font: bold 25px/1.4 Georgia, serif; overflow-wrap: anywhere; }
.recharge-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 4px; padding: 4px; margin-bottom: 22px; border: 1px solid #71613e; background: #121c10; }
.recharge-tabs button { padding: 10px; border: 1px solid transparent; color: #b2aa93; background: transparent; font-size: 12px; }
.recharge-tabs button[aria-pressed="true"] { color: #efd49b; border-color: #a98d55; background: linear-gradient(#544c31,#303823); }
.exchange-rate { padding: 16px 0 20px; border-bottom: 1px solid #8d76473d; } .exchange-rate > span { color: #a89e83; font-size: 11px; }
.exchange-rate p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-top: 7px; font-size: 17px; } .exchange-rate b { font-weight: 500; overflow-wrap: anywhere; } .exchange-rate i { font-style: normal; color: #948c74; }
.exchange-rate strong { color: #f2d18c; font-size: 24px; overflow-wrap: anywhere; } .exchange-rate small { font-size: 11px; color: #b5a887; }
.wallet-button { display: block; width: 100%; padding: 13px; margin-top: 19px; border: 1px solid #8a815e; color: #e7d8b3; background: #303b29; }
.wallet-button span { display: block; font-weight: 600; overflow-wrap: anywhere; } .wallet-button small { display: block; margin-top: 3px; color: #aaa68b; font-size: 10px; }
label { display: block; margin: 18px 0 8px; color: #c7b994; font-size: 12px; } input { width: 100%; min-width: 0; padding: 10px; border: 1px solid #827044; border-radius: 1px; color: #f1dbad; background: #0f190f; }
input::placeholder { color: #858d78; font-size: 12px; } .amount-entry { display: flex; align-items: center; gap: 8px; } .amount-entry input { flex: 1; width: 0; max-width: 240px; min-width: 0; font-size: 21px; } .amount-entry > span { flex: 0 1 auto; min-width: 0; max-width: 28%; color: #bdb08d; overflow-wrap: anywhere; }
.estimate { margin-top: 10px; color: #aaa38b; font-size: 11px; } .estimate strong { color: #efd094; font-size: 14px; overflow-wrap: anywhere; }
.primary-button, .secondary-button { display: block; width: 100%; min-height: 42px; margin-top: 20px; padding: 10px 12px; border: 1px solid #d5b579; color: #fff0c7; background: linear-gradient(#8c6e3b,#5e4828); font-weight: 600; font-size: 13px; box-shadow: 0 1px #e9c67c55 inset; }
.secondary-button { margin-top: 11px; color: #d5d6b9; border-color: #82886a; background: linear-gradient(#46533a,#2b3826); box-shadow: none; font-size: 12px; }
.plain-button { display: block; margin: 13px auto 0; padding: 7px 12px; color: #bbb09a; border: 0; background: transparent; font-size: 12px; }
.field-note { color: #aaa28b; font-size: 10px; line-height: 1.9; margin-top: 11px; } .payment-details { margin: 18px 0 0; padding: 13px 0; border-top: 1px solid #8d76473d; border-bottom: 1px solid #8d76473d; }
.payment-details summary { cursor: pointer; color: #c5b58f; font-size: 11px; } dl { margin: 12px 0; } dt { color: #9e9e85; font-size: 10px; } dd { margin: 3px 0 12px; font-size: 11px; overflow-wrap: anywhere; user-select: text; }
.notice { margin: 14px 0; padding: 12px; border: 1px solid #a8904e7a; color: #dac496; background: #87773b15; font-size: 12px; overflow-wrap: anywhere; }
.notice.error { border-color: #b97a55; color: #f0bd96; background: #66351d3b; } .notice.success { color: #dae6b2; border-color: #9bb576; background: #819f3a15; }
.order-heading { padding: 10px 0 19px; border-bottom: 1px solid #8d76473d; } .order-heading > span { color: #aaa287; font-size: 11px; } .order-heading h2 { margin: 7px 0; color: #f6d18a; font-size: 25px; overflow-wrap: anywhere; } .order-heading p { color: #bab398; font-size: 12px; }
.order-details > div { display: grid; grid-template-columns: 78px minmax(0,1fr); gap: 12px; align-items: start; margin: 12px 0; } .order-details dd { margin: 0; } .explorer-link { color: #dfc381; font-size: 12px; }
.history-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .history-heading h2 { font-size: 16px; font-weight: 500; } .history-heading button, .pagination button { padding: 6px 11px; color: #ccbe96; border: 1px solid #807044; background: #303921; font-size: 11px; }
.recharge-record { margin-top: 12px; padding: 14px; border: 1px solid #71613f; border-left: 3px solid #9c8151; background: #1a2318; } .recharge-record[data-state="credited"] { border-color: #7e965e; border-left-color: #acbc77; }
.record-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; } .record-top strong { color: #eed298; font-size: 17px; overflow-wrap: anywhere; } .record-top span { flex: none; color: #b9bd9c; font-size: 10px; } .recharge-record p { margin-top: 6px; color: #a7a58b; font-size: 10px; overflow-wrap: anywhere; }
.record-open { padding: 6px 12px; margin-top: 12px; border: 1px solid #a38c54; color: #e2cc91; background: #4b482d; font-size: 11px; } .pagination { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; font-size: 11px; color: #a99f84; }
.history-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 15px 0; }
.history-filters button { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; min-height: 48px; padding: 6px 3px; border: 1px solid #655c46; border-radius: 7px; color: #bcb29b; background: #1b211b; font-size: 12px; }
.history-filters .history-count { max-width: 100%; color: #a59c85; font-size: 10px; overflow-wrap: anywhere; }
.history-filters button[aria-pressed="true"] { border-color: #b99a60; color: #f3d8a2; background: #51442b; box-shadow: inset 0 1px #e2c48430; }
.history-filters button[data-history-status="credited"][aria-pressed="true"] { border-color: #6f9b72; color: #c0edc7; background: #2d4831; }
.history-filters button[data-history-status="expired"][aria-pressed="true"] { border-color: #939188; color: #dedbd2; background: #42433d; }
.history-filters button[aria-pressed="true"] .history-count { color: inherit; }
.history-empty { padding: 32px 12px; text-align: center; color: #aaa28c; font-size: 12px; }
#recharge-records .recharge-record { border-radius: 8px; }
#recharge-records .record-state { padding: 3px 9px; border: 1px solid #9c8054; border-radius: 5px; color: #f2d49b; background: #54442b; font-size: 11px; font-weight: 600; }
#recharge-records .recharge-record[data-state="credited"] { border-color: #58765b; border-left: 4px solid #89bb86; background: #203124; }
#recharge-records [data-state="credited"] .record-state { border-color: #719d70; color: #c6efc9; background: #365d3d; }
#recharge-records [data-state="credited"] p:first-of-type { color: #b7d7ad; }
#recharge-records .recharge-record[data-state="expired"] { border-color: #5a5c53; border-left: 4px solid #85887d; background: #292c27; }
#recharge-records [data-state="expired"] .record-state { border-color: #797d72; color: #d1d3c9; background: #44483f; }
#recharge-records [data-state="expired"] strong { color: #b7b6aa; }
#recharge-records [data-state="expired"] .record-open { border-color: #6f7060; color: #bdbbaa; background: #383c31; }
#recharge-records [data-state="rejected"] .record-state { border-color: #ad775e; color: #f1bba3; background: #5b352a; }
footer { padding: 10px; border-top: 1px solid #71613e; color: #8f937a; text-align: center; font-size: 9px; letter-spacing: 1px; }
@media (max-width: 450px) { body { padding: 12px 10px; } .recharge-body { padding: 17px; } .recharge-header { gap: 9px; padding: 13px 12px; } .back-button { padding: 8px 10px; } h1 { font-size: 20px; } .network-tag { font-size: 9px; padding: 3px 5px; } input { font-size: 16px; } }

.back-button, .wallet-button, .primary-button, .secondary-button { border-radius: 8px; }
.record-open, .history-heading button, .pagination button { border-radius: 6px; }
.recharge-tabs { border-radius: 8px; }
.recharge-tabs button { border-radius: 6px; }

input, textarea, select { border-radius: 8px; }
.recharge-connect[data-connected="false"] {
    border-color: #d8b678; color: #fff0bf; background: linear-gradient(#92703c, #604829);
    box-shadow: inset 0 1px #ffe2a355, 0 2px 6px #0003;
}
.recharge-connect[data-connected="false"] small { color: #e4cba1; }
.recharge-connect[data-connected="true"] { border-color: #9b9169; background: linear-gradient(#3c4531, #2c3525); }
#recharge-max { flex: none; padding: 8px 10px; min-height: 36px; border: 1px solid #b99b61; border-radius: 7px; color: #f2d59b; background: linear-gradient(#655334, #443922); font-size: 11px; }
.token-balance-note { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 5px 10px; margin-top: 9px; color: #aaa38b; font-size: 10px; }
.token-balance-note > span { min-width: 0; overflow-wrap: anywhere; }
.token-balance-note strong { color: #dcc48d; font-weight: 500; }
#refresh-token-balance { flex: none; padding: 3px 0; border: 0; color: #d4bb82; background: transparent; font-size: 10px; }
.withdraw-vault-balance { margin-bottom: 6px; color: #b5aa8d; font-size: 11px; overflow-wrap: anywhere; }
.withdraw-vault-balance strong { color: #e8cb8e; font-weight: 500; }
