:root {
  --customer-ink: #10201d;
  --customer-muted: #6f7e7a;
  --customer-line: #dfe8e5;
  --customer-green: #0aae90;
  --customer-green-dark: #067b69;
  --customer-green-soft: #e8f8f4;
  --customer-panel: #ffffff;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; background: #f4f8f7; }
body { margin: 0; color: var(--customer-ink); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.customer-page { min-height: 100vh; background: #f4f8f7; }
.customer-brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.customer-brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; padding: 5px; background: #13231f; box-shadow: 0 9px 22px rgba(13, 31, 26, .18); }
.customer-brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.customer-brand strong { display: block; }
.customer-brand strong { font-size: 16px; line-height: 1; letter-spacing: -.3px; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, .94fr) minmax(470px, 1.06fr); }
.login-intro { position: relative; min-height: 100vh; overflow: hidden; display: flex; flex-direction: column; padding: 50px clamp(42px, 6vw, 92px); color: #f5fffc; background: #0b2923; }
.login-intro::before { content: ""; position: absolute; width: 520px; height: 520px; right: -250px; top: -210px; border: 1px solid rgba(92, 231, 198, .15); border-radius: 50%; box-shadow: 0 0 0 70px rgba(92, 231, 198, .035), 0 0 0 150px rgba(92, 231, 198, .022); }
.login-intro::after { content: ""; position: absolute; width: 360px; height: 360px; left: -190px; bottom: -210px; border-radius: 50%; background: radial-gradient(circle, rgba(25, 190, 157, .25), transparent 68%); }
.login-intro .customer-brand { position: relative; z-index: 1; }
.login-intro .customer-brand-mark { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.13); box-shadow: none; }
.intro-copy { position: relative; z-index: 1; margin: auto 0; padding: 70px 0; }
.intro-badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(113,233,204,.18); border-radius: 999px; padding: 7px 11px; color: #9ee7d5; background: rgba(255,255,255,.035); font-size: 11px; font-weight: 700; }
.intro-badge i, .live-status i { width: 7px; height: 7px; border-radius: 50%; background: #38d9b4; box-shadow: 0 0 0 4px rgba(56,217,180,.12); }
.intro-copy h1 { margin: 28px 0 23px; font-size: clamp(40px, 4.2vw, 66px); line-height: 1.12; letter-spacing: -3px; }
.intro-copy p { max-width: 430px; margin: 0; color: rgba(225,246,240,.65); font-size: 14px; line-height: 1.9; }
.trust-points { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(18px, 3vw, 42px); color: rgba(227,247,241,.64); font-size: 11px; }
.trust-points span { display: flex; align-items: center; gap: 8px; }
.trust-points b { color: #48d2b2; font-family: ui-monospace, monospace; font-size: 9px; }
.login-panel-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 34px 24px; background: radial-gradient(circle at 70% 18%, rgba(20,180,146,.07), transparent 28%), #f7faf9; }
.login-panel { width: min(410px, 100%); border: 1px solid rgba(212,225,221,.92); border-radius: 22px; padding: 40px; background: rgba(255,255,255,.9); box-shadow: 0 28px 75px rgba(32,68,58,.09); backdrop-filter: blur(12px); }
.login-panel h2 { margin: 0; font-size: 28px; letter-spacing: -1px; }
.login-hint { margin: 10px 0 30px; color: var(--customer-muted); font-size: 12px; }
.login-field { display: block; margin-top: 17px; }
.login-field > span:first-child { display: block; margin-bottom: 8px; color: #53635f; font-size: 11px; font-weight: 700; }
.input-wrap { height: 48px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--customer-line); border-radius: 10px; padding: 0 13px; background: #f9fbfa; transition: .18s ease; }
.input-wrap:focus-within { border-color: rgba(10,174,144,.65); background: #fff; box-shadow: 0 0 0 3px rgba(10,174,144,.08); }
.input-wrap i { width: 18px; color: #9caaa6; font-style: normal; text-align: center; }
.input-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--customer-ink); background: transparent; font-size: 13px; }
.input-wrap input::placeholder { color: #aab5b2; }
.form-error { margin: 13px 0 0; border-radius: 8px; padding: 9px 11px; color: #a23d3d; background: #fff0f0; font-size: 11px; }
.login-submit { width: 100%; height: 49px; display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 24px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #0bb193, #078d79); box-shadow: 0 11px 24px rgba(8,157,132,.22); font-size: 13px; font-weight: 800; cursor: pointer; }
.login-submit:hover { filter: brightness(.97); transform: translateY(-1px); }
.login-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.login-submit span { font-size: 18px; font-weight: 400; }
.login-support { margin: 23px 0 0; color: #98a5a1; font-size: 10px; text-align: center; }
.customer-footer { margin: auto 0 0; padding-top: 42px; color: #a5afac; font-size: 9px; letter-spacing: .8px; }

.customer-header { border-bottom: 1px solid rgba(217,228,225,.9); background: rgba(255,255,255,.87); backdrop-filter: blur(14px); }
.customer-header-inner { width: min(1180px, calc(100% - 48px)); height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: auto; }
.customer-account-menu { display: flex; align-items: center; gap: 10px; }
.customer-avatar { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; color: var(--customer-green-dark); background: var(--customer-green-soft); font-size: 12px; font-weight: 800; }
.customer-identity strong, .customer-identity small { display: block; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.customer-identity strong { font-size: 11px; }
.customer-identity small { margin-top: 3px; color: #98a4a1; font-size: 9px; }
.customer-account-menu button { margin-left: 8px; border: 1px solid var(--customer-line); border-radius: 8px; padding: 7px 10px; color: #65736f; background: #fff; font-size: 10px; cursor: pointer; }
.customer-account-menu button:disabled { opacity: .5; }
.has-customer-modal { overflow: hidden; }
.customer-modal { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 22px; }
.customer-modal-backdrop { position: absolute; inset: 0; background: rgba(6, 26, 21, .58); backdrop-filter: blur(4px); }
.customer-modal-panel { position: relative; width: min(430px, 100%); max-height: calc(100vh - 44px); overflow-y: auto; border: 1px solid rgba(216, 229, 225, .95); border-radius: 19px; padding: 26px; background: #fff; box-shadow: 0 30px 80px rgba(5, 27, 21, .24); }
.customer-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.customer-modal-head h2 { margin: 0; font-size: 22px; letter-spacing: -.6px; }
.customer-modal-close { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid var(--customer-line); border-radius: 9px; color: #71807c; background: #f8faf9; font-size: 20px; line-height: 1; cursor: pointer; }
.password-form { margin-top: 23px; }
.password-form label { display: block; margin-top: 15px; }
.password-form label:first-child { margin-top: 0; }
.password-form label > span { display: block; margin-bottom: 7px; color: #53635f; font-size: 10px; font-weight: 800; }
.password-form input { width: 100%; height: 44px; border: 1px solid var(--customer-line); border-radius: 9px; outline: 0; padding: 0 12px; color: var(--customer-ink); background: #fafcfb; font-size: 12px; }
.password-form input:focus { border-color: rgba(10,174,144,.65); background: #fff; box-shadow: 0 0 0 3px rgba(10,174,144,.08); }
.password-rule { margin: 11px 0 0; color: #8d9996; font-size: 9px; line-height: 1.6; }
.customer-modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 20px; }
.customer-modal-actions button { height: 40px; border-radius: 9px; padding: 0 17px; font-size: 10px; font-weight: 800; cursor: pointer; }
.customer-modal-cancel { border: 1px solid var(--customer-line); color: #60706c; background: #fff; }
.customer-modal-submit { border: 1px solid transparent; color: #fff; background: linear-gradient(135deg, #0bb193, #078d79); box-shadow: 0 8px 18px rgba(8,157,132,.17); }
.customer-modal-actions button:disabled { opacity: .55; cursor: wait; }
.claim-shell { width: min(1180px, calc(100% - 48px)); flex: 1 0 auto; display: flex; flex-direction: column; margin: 0 auto; padding: 42px 0 16px; }
.claim-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.claim-heading h1 { margin: 0; font-size: 34px; letter-spacing: -1.2px; }
.claim-heading p:last-child { margin: 10px 0 0; color: var(--customer-muted); font-size: 14px; }
.claim-heading-tools { display: flex; align-items: center; gap: 12px; }
.live-status { display: inline-flex; align-items: center; gap: 9px; border: 1px solid #d9ebe6; border-radius: 999px; padding: 9px 13px; color: #4d7168; background: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
.balance-card { position: relative; min-height: 148px; display: flex; align-items: center; justify-content: space-between; gap: 26px; overflow: hidden; border: 1px solid rgba(196,220,214,.94); border-radius: 19px; padding: 24px; color: #173b32; background: radial-gradient(circle at 92% 18%, rgba(43,197,159,.12), transparent 27%), linear-gradient(135deg, #fff 0%, #f5faf8 100%); box-shadow: 0 15px 38px rgba(31,68,58,.075); }
.balance-card-main { min-width: 0; flex: 1; }
.balance-label { color: #536b65; font-size: 14px; font-weight: 750; }
.balance-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 10px; margin-top: 9px; color: #079b82; font: 850 34px/1.15 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.8px; }
.balance-amount-group { white-space: nowrap; }
.balance-amount strong { font: inherit; }
.balance-card-main > p { margin: 8px 0 0; color: #748681; font-size: 13px; }
.balance-card-main, .balance-card-tools { position: relative; z-index: 1; }
.balance-card-tools { display: flex; align-items: center; gap: 15px; }
.sync-time-card { width: 220px; min-height: 102px; flex: 0 0 auto; border: 1px solid rgba(201,225,219,.96); border-radius: 14px; padding: 13px 15px; color: #173b32; background: linear-gradient(145deg, #fff, #f4faf8); box-shadow: 0 10px 26px rgba(31,68,58,.075); }
.sync-time-label { display: flex; align-items: center; gap: 7px; color: #54766d; font-size: 11px; font-weight: 800; letter-spacing: .15px; }
.sync-time-label i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #43e0bb; box-shadow: 0 0 0 4px rgba(67,224,187,.1); }
.sync-time-card strong { display: block; margin-top: 11px; color: #173b32; font: 800 17px/1.25 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.35px; }
.sync-time-card.is-loading .sync-time-label i { animation: bnb-price-pulse 1.2s ease-in-out infinite; }
.sync-time-card.is-error .sync-time-label i { background: #eab84f; box-shadow: 0 0 0 4px rgba(234,184,79,.1); }
.bnb-price-card { width: 220px; min-height: 94px; flex: 0 0 auto; border: 1px solid rgba(201,225,219,.96); border-radius: 14px; padding: 13px 15px; color: #173b32; background: linear-gradient(145deg, #fff, #f4faf8); box-shadow: 0 10px 26px rgba(31,68,58,.075); }
.bnb-price-label { display: flex; align-items: center; gap: 7px; color: #54766d; font-size: 11px; font-weight: 800; letter-spacing: .15px; }
.bnb-price-label i { width: 6px; height: 6px; flex: 0 0 auto; border-radius: 50%; background: #43e0bb; box-shadow: 0 0 0 4px rgba(67,224,187,.1); }
.bnb-price-card strong { display: block; margin-top: 7px; color: #173b32; font: 800 28px/1.05 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-variant-numeric: tabular-nums; letter-spacing: -.6px; }
.bnb-price-card small { display: block; margin-top: 7px; overflow: hidden; color: #779089; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.bnb-price-card.is-loading .bnb-price-label i { animation: bnb-price-pulse 1.2s ease-in-out infinite; }
.bnb-price-card.is-error .bnb-price-label i { background: #eab84f; box-shadow: 0 0 0 4px rgba(234,184,79,.1); }
@keyframes bnb-price-pulse { 50% { opacity: .35; transform: scale(.82); } }
.balance-card-side { min-width: 226px; display: grid; justify-items: end; gap: 8px; text-align: right; }
.balance-action { width: 190px; min-height: 50px; border: 1px solid #0a9f86; border-radius: 11px; padding: 0 16px; color: #fff; background: linear-gradient(135deg, #0bb193, #078d79); font-size: 14px; font-weight: 800; cursor: pointer; box-shadow: 0 8px 20px rgba(8,157,132,.18); }
.balance-action:not(:disabled):hover { filter: brightness(.97); }
.balance-action:disabled { border-color: #d3e1dd; color: #83938f; background: #eff4f2; box-shadow: none; cursor: not-allowed; }
.balance-availability-hint { max-width: 226px; color: #95680d; font-size: 12px; font-weight: 700; line-height: 1.5; }
.payout-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.payout-panel { min-width: 0; border: 1px solid var(--customer-line); border-radius: 17px; padding: 22px; background: #fff; box-shadow: 0 12px 32px rgba(43,73,65,.05); }
.payout-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.payout-panel-head h2 { margin: 0; font-size: 20px; }
.payout-panel-head > span { border-radius: 999px; padding: 6px 10px; color: #5c706b; background: #edf4f2; font-size: 11px; font-weight: 800; white-space: nowrap; }
.panel-copy { margin: 13px 0 17px; color: var(--customer-muted); font-size: 13px; line-height: 1.7; }
.wallet-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.wallet-form label > span { display: block; margin-bottom: 7px; color: #697a75; font-size: 11px; font-weight: 800; }
.wallet-form input { width: 100%; height: 44px; border: 1px solid var(--customer-line); border-radius: 9px; outline: 0; padding: 0 12px; color: var(--customer-ink); background: #fafcfb; font-size: 13px; }
.wallet-form input:focus { border-color: rgba(10,174,144,.65); box-shadow: 0 0 0 3px rgba(10,174,144,.08); }
.wallet-form input[readonly] { color: #324c45; background: #f6faf8; cursor: default; }
.wallet-actions { display: flex; gap: 7px; }
.wallet-form button, .claim-button { height: 44px; border: 1px solid transparent; border-radius: 9px; padding: 0 16px; color: #fff; background: #0a9f86; font-size: 12px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.wallet-form .wallet-action-primary:disabled { border-color: #d9e7e3; color: #6f8881; background: #eff5f3; opacity: 1; }
.wallet-form .wallet-action-edit { border-color: #d7b762; color: #9a6d12; background: #fffaf0; }
.wallet-form .wallet-action-copy { border-color: var(--customer-line); color: #536762; background: #f8faf9; }
.wallet-form button:disabled, .claim-button:disabled { opacity: .5; cursor: not-allowed; }
.wallet-readiness { margin: 10px 0 0; color: #987126; font-size: 11px; line-height: 1.6; }
.no-signature, .quote-foot { margin: 13px 0 0; color: #9aa7a3; font-size: 11px; line-height: 1.7; }
.no-signature::before { content: "✓"; margin-right: 6px; color: var(--customer-green); font-weight: 800; }
.panel-message { border-radius: 8px; margin: 12px 0 0; padding: 9px 10px; color: #876521; background: #fff8e7; font-size: 12px; line-height: 1.5; }
.panel-message.is-error { color: #9b3d3d; background: #fff0f0; }
.panel-message.is-success { color: #14705e; background: #eaf8f4; }
#walletMessage { position: fixed; z-index: 190; right: 24px; bottom: 24px; width: min(420px, calc(100% - 48px)); margin: 0; border: 1px solid rgba(191,224,214,.96); box-shadow: 0 14px 36px rgba(25,64,53,.16); pointer-events: none; }
#walletMessage.is-error { border-color: rgba(232,194,194,.96); }
.quote-panel { display: flex; flex-direction: column; }
.quote-placeholder { flex: 1; display: grid; min-height: 83px; place-items: center; margin: 14px 0; border: 1px dashed #d8e5e1; border-radius: 11px; padding: 18px; color: #97a5a1; background: #fbfcfc; font-size: 10px; text-align: center; }
.quote-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 18px 0; }
.quote-details div { min-width: 0; border-radius: 10px; padding: 11px; background: #f6faf9; }
.quote-details span, .quote-details strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quote-details span { color: #889793; font-size: 8px; }
.quote-details strong { margin-top: 7px; color: #26443c; font-size: 11px; }
.claim-button { width: 100%; background: linear-gradient(135deg, #0bb193, #078d79); box-shadow: 0 9px 19px rgba(8,157,132,.16); }
.history-panel { overflow: hidden; margin-top: 18px; border: 1px solid var(--customer-line); border-radius: 17px; background: #fff; box-shadow: 0 12px 32px rgba(43,73,65,.05); }
.history-head { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--customer-line); padding: 17px 21px; }
.history-head h2 { margin: 0; font-size: 20px; }
.history-head > span { color: #98a4a1; font-size: 12px; }
.customer-table-wrap { overflow-x: auto; }
.customer-table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; }
.customer-table th, .customer-table td { height: 56px; border-bottom: 1px solid #edf2f0; padding: 11px 18px; color: #42514d; font-size: 13px; text-align: left; }
.customer-table th { height: 44px; color: #8d9996; background: #fafcfb; font-size: 11px; font-weight: 800; white-space: nowrap; }
.customer-table th:nth-child(1) { width: 20%; }.customer-table th:nth-child(2) { width: 13%; }.customer-table th:nth-child(3) { width: 15%; }.customer-table th:nth-child(4) { width: 13%; }.customer-table th:nth-child(5) { width: 39%; }
.customer-table tbody tr:last-child td { border-bottom: 0; }
.customer-money { color: var(--customer-green-dark) !important; font-weight: 800; font-variant-numeric: tabular-nums; }
.customer-muted { overflow: hidden; color: #9ba6a3 !important; text-overflow: ellipsis; white-space: nowrap; }
.customer-empty td { height: 150px; color: #99a5a1; text-align: center; }
.payout-state { display: inline-block; border-radius: 999px; padding: 5px 8px; color: #536963; background: #edf4f2; font-size: 11px; font-weight: 800; }
.payout-state.paid { color: #08715f; background: #e4f8f2; }
.payout-state.failed { color: #a33e3e; background: #fff0f0; }
.payout-state.pending { color: #8b671f; background: #fff6df; }
.tx-link { display: block; max-width: 100%; overflow: hidden; color: #168a76; font-family: ui-monospace, monospace; font-size: 10px; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.customer-hash-empty { color: #a3aeab; }
.claim-note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: auto 0 0; padding-top: 22px; color: #8f9c98; font-size: 13px; text-align: center; }
.claim-note span { width: 15px; height: 15px; display: inline-grid; place-items: center; flex: 0 0 auto; border: 1px solid #b9c5c1; border-radius: 50%; font-family: serif; }

.payout-progress-panel { width: min(520px, 100%); padding: 34px 30px 30px; text-align: center; }
.payout-progress-visual { position: relative; width: 112px; height: 112px; display: grid; place-items: center; margin: 0 auto 22px; }
.payout-progress-orbit { position: absolute; inset: 0; border: 3px solid rgba(10,174,144,.13); border-top-color: var(--customer-green); border-radius: 50%; animation: payout-progress-spin 1s linear infinite; box-shadow: 0 0 34px rgba(10,174,144,.11); }
.payout-progress-orbit::before { content: ""; position: absolute; inset: 12px; border: 2px solid rgba(48,117,211,.13); border-right-color: #3977ca; border-radius: 50%; animation: payout-progress-spin .8s linear infinite reverse; }
.payout-progress-token { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(10,174,144,.3); border-radius: 50%; color: var(--customer-green-dark); background: var(--customer-green-soft); font: 850 17px ui-monospace, SFMono-Regular, Menlo, monospace; animation: payout-progress-pulse 1.45s ease-in-out infinite; }
.payout-progress-check { display: none; width: 98px; height: 98px; overflow: visible; filter: drop-shadow(0 0 20px rgba(10,174,144,.18)); }
.payout-progress-check circle { fill: rgba(10,174,144,.09); stroke: var(--customer-green); stroke-width: 3; stroke-dasharray: 270; stroke-dashoffset: 270; animation: payout-progress-circle .65s ease-out forwards; }
.payout-progress-check path { fill: none; stroke: var(--customer-green-dark); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 75; stroke-dashoffset: 75; animation: payout-progress-check .42s .4s ease-out forwards; }
.payout-progress-panel[data-state="success"] .payout-progress-orbit,
.payout-progress-panel[data-state="success"] .payout-progress-token { display: none; }
.payout-progress-panel[data-state="success"] .payout-progress-check { display: block; animation: payout-progress-pop .5s cubic-bezier(.2,.85,.3,1.25) both; }
.payout-progress-panel[data-state="error"] .payout-progress-orbit { border-color: rgba(190,58,58,.14); border-top-color: #c34747; animation-duration: 1.8s; }
.payout-progress-panel[data-state="error"] .payout-progress-token { border-color: #f0caca; color: #a33e3e; background: #fff0f0; animation: none; }
.payout-progress-kicker { color: var(--customer-green-dark); font-size: 11px; font-weight: 850; letter-spacing: .14em; }
.payout-progress-panel h2 { margin: 8px 0 0; font-size: 27px; letter-spacing: -.6px; }
.payout-progress-panel > p { max-width: 410px; margin: 10px auto 0; color: var(--customer-muted); font-size: 13px; line-height: 1.7; }
.payout-progress-details { display: grid; grid-template-columns: minmax(0,.72fr) minmax(0,1.28fr); gap: 9px; margin-top: 19px; text-align: left; }
.payout-progress-details > div { min-width: 0; border: 1px solid var(--customer-line); border-radius: 11px; padding: 11px 12px; background: #f7faf9; }
.payout-progress-details span, .payout-progress-details strong { display: block; }
.payout-progress-details span { color: #82918d; font-size: 10px; font-weight: 750; }
.payout-progress-details strong { margin-top: 6px; overflow: hidden; color: #29443d; font: 750 12px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; text-overflow: ellipsis; white-space: nowrap; }
.payout-progress-hash { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; margin-top: 18px; border: 1px solid #b9d9d1; border-radius: 10px; padding: 0 18px; color: var(--customer-green-dark); background: #eef9f6; font-size: 13px; font-weight: 800; text-decoration: none; }
.payout-progress-hash:hover { border-color: #7fc6b5; background: #e4f7f1; }
.payout-progress-done { width: 100%; height: 44px; margin-top: 12px; border: 0; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #0bb193, #078d79); font-size: 13px; font-weight: 800; cursor: pointer; }
@keyframes payout-progress-spin { to { transform: rotate(360deg); } }
@keyframes payout-progress-pulse { 50% { opacity: .66; transform: scale(.92); } }
@keyframes payout-progress-circle { to { stroke-dashoffset: 0; } }
@keyframes payout-progress-check { to { stroke-dashoffset: 0; } }
@keyframes payout-progress-pop { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }

.claim-page { display: flex; flex-direction: column; background: radial-gradient(circle at 7% 2%, rgba(22,192,155,.085), transparent 25%), radial-gradient(circle at 94% 28%, rgba(87,126,218,.06), transparent 23%), linear-gradient(180deg, #f8fbfa 0%, #eef5f3 48%, #f5f8f7 100%); }
.claim-page .customer-header { position: sticky; z-index: 80; top: 0; border-color: rgba(205,222,217,.78); background: rgba(255,255,255,.78); box-shadow: 0 8px 28px rgba(33,67,58,.045); }
.claim-page .customer-brand-mark { box-shadow: 0 10px 24px rgba(12,46,38,.2), 0 0 0 1px rgba(12,46,38,.08); }
.claim-page .customer-account-menu button { transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease; }
.claim-page .customer-account-menu button:hover { border-color: #c6ddd7; color: #176957; background: #f6fbf9; transform: translateY(-1px); }
.claim-page .claim-heading h1 { color: #102923; font-size: 34px; }
.claim-page .live-status { border-color: #cfe8e1; background: rgba(255,255,255,.82); box-shadow: 0 7px 19px rgba(33,87,72,.06); }
.claim-page .payout-panel, .claim-page .history-panel { border-color: rgba(207,222,218,.94); background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(253,255,254,.94)); box-shadow: 0 15px 38px rgba(31,68,58,.065); }
.claim-page .payout-panel { position: relative; overflow: hidden; }
.claim-page .payout-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, #19b998, rgba(25,185,152,0) 52%); opacity: .52; }
.claim-page .payout-panel-head h2, .claim-page .history-head h2 { color: #16352d; }
.claim-page .wallet-form input { border-color: #d4e3df; background: #f7faf9; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.claim-page .wallet-form button { transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.claim-page .wallet-form button:not(:disabled):hover { transform: translateY(-1px); filter: brightness(.98); }
.claim-page .quote-placeholder { border-color: #d1e3de; background: linear-gradient(135deg, #fbfdfc, #f7fbfa); }
.claim-page .history-head { background: linear-gradient(180deg, #fff, #fbfdfc); }
.claim-page .customer-table th { color: #748782; background: linear-gradient(180deg, #f7faf9, #f1f7f5); }
.claim-page .customer-table tbody tr { transition: background .16s ease; }
.claim-page .customer-table tbody tr:not(.customer-empty):hover { background: #f7fbfa; }
.claim-page .claim-note { color: #81918c; }

@media (max-width: 860px) {
  .login-shell { grid-template-columns: minmax(0, 1fr); }
  .login-intro { display: none; }
  .login-panel-wrap { padding: 52px 24px 24px; }
  .login-panel-wrap::before { content: "Debot"; margin-bottom: 22px; color: #66827b; font-size: 10px; font-weight: 800; letter-spacing: 1.8px; }
  .claim-heading { align-items: flex-start; }
  .claim-heading-tools { align-items: flex-end; flex-direction: column-reverse; }
  .balance-card { gap: 18px; }
  .balance-card-tools { gap: 10px; }
  .sync-time-card, .bnb-price-card { width: 205px; }
  .balance-card-side { min-width: 176px; }
  .payout-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .customer-header-inner, .claim-shell { width: min(100% - 28px, 1180px); }
  .customer-header-inner { height: 64px; }
  .customer-brand-mark { width: 35px; height: 35px; }
  .customer-brand > span:last-child { display: none; }
  .customer-identity { display: none; }
  .customer-account-menu { gap: 5px; }
  .customer-account-menu button { margin-left: 4px; }
  .customer-modal { padding: 14px; }
  .customer-modal-panel { max-height: calc(100vh - 28px); border-radius: 16px; padding: 22px 19px; }
  .customer-modal-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .customer-modal-actions button { padding: 0 10px; }
  .claim-shell { padding: 27px 0 16px; }
  .claim-heading { align-items: stretch; flex-direction: column; margin-bottom: 18px; }
  .claim-heading h1, .claim-page .claim-heading h1 { font-size: 29px; }
  .claim-heading p:last-child { max-width: none; font-size: 13px; line-height: 1.6; }
  .claim-heading-tools { width: 100%; align-items: center; flex-direction: row; }
  .claim-heading-tools .sync-time-card, .claim-heading-tools .bnb-price-card { width: auto; min-width: 0; min-height: 102px; flex: 1; }
  .sync-time-card strong { font-size: 14px; }
  .live-status { margin-top: 2px; padding: 7px 9px; font-size: 9px; }
  .balance-card { min-height: 0; align-items: stretch; flex-direction: column; gap: 18px; border-radius: 16px; padding: 20px 18px 18px 16px; }
  .balance-amount { gap: 2px 8px; font-size: clamp(20px, 6.6vw, 25px); letter-spacing: -.6px; }
  .balance-card-main > p { line-height: 1.65; }
  .balance-card-tools { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .bnb-price-card { width: 100%; min-height: 0; }
  .balance-card-side { min-width: 0; justify-items: stretch; text-align: left; }
  .balance-action { width: 100%; }
  .balance-availability-hint { max-width: none; text-align: left; }
  .payout-grid { gap: 12px; margin-top: 12px; }
  .payout-panel { padding: 18px; }
  .wallet-form { grid-template-columns: 1fr; }
  .wallet-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wallet-form button { min-width: 0; padding: 0 10px; }
  #walletMessage { right: 14px; bottom: 14px; width: calc(100% - 28px); }
  .quote-details { grid-template-columns: 1fr; }
  .history-panel { margin-top: 12px; }
  .payout-progress-panel { padding: 28px 18px 22px; }
  .payout-progress-details { grid-template-columns: 1fr; }
  .login-panel { border-radius: 18px; padding: 31px 24px; }
  .login-panel h2 { font-size: 25px; }
  .customer-footer { padding-top: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .payout-progress-orbit, .payout-progress-orbit::before, .payout-progress-token, .payout-progress-check, .payout-progress-check circle, .payout-progress-check path { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Customer rebate page. Keep the shared sign-in styles independent. */
.claim-page {
  --customer-ink: #182f29;
  --customer-muted: #5f716b;
  --customer-line: #dce6e1;
  --customer-green: #087f68;
  --customer-green-dark: #08745f;
  background: #f5f7f6;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.claim-page .customer-header { background: rgba(255,255,255,.96); border-color: #e2e9e5; box-shadow: none; }
.claim-page .customer-header-inner, .claim-page .claim-shell { width: min(1160px, calc(100% - 64px)); }
.claim-page .customer-header-inner { height: 76px; }
.claim-page .customer-brand { gap: 10px; }
.claim-page .customer-brand-mark { box-shadow: none; }
.claim-page .customer-brand strong { font-size: 18px; letter-spacing: -.4px; }
.claim-page .customer-account-menu { min-width: 0; gap: 12px; }
.claim-page .customer-avatar { width: 36px; height: 36px; font-size: 14px; background: #e9f4ef; color: #08745f; }
.claim-page .customer-identity { max-width: 220px; }
.claim-page .customer-identity strong { font-size: 13px; }
.claim-page .customer-identity small { margin-top: 2px; font-size: 11px; color: #687a73; }
.claim-page .customer-account-menu button { min-height: 40px; margin-left: 0; padding: 0 14px; border-color: #dce6e1; border-radius: 9px; font-size: 13px; color: #455e54; background: #fff; }
.claim-page .customer-account-menu button:hover { transform: none; background: #f0f6f3; }
.claim-page .claim-shell { padding: 36px 0 24px; }
.claim-page .claim-heading { align-items: center; gap: 28px; margin-bottom: 24px; }
.claim-page .claim-heading > div:first-child { min-width: 0; }
.claim-page .claim-heading h1 { font-size: 30px; line-height: 1.35; font-weight: 750; letter-spacing: -.7px; }
.claim-page .claim-heading p:last-child { margin-top: 8px; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.claim-page .claim-heading-tools { display: grid; grid-template-columns: 1.1fr 1fr; flex: 0 0 504px; gap: 12px; align-items: stretch; }
.claim-page .sync-time-card, .claim-page .bnb-price-card { width: auto; min-width: 0; min-height: 112px; padding: 16px 18px; border: 1px solid #dce6e1; border-radius: 14px; background: #fff; box-shadow: none; }
.claim-page .sync-time-label, .claim-page .bnb-price-label { color: #5d7369; font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.claim-page .sync-time-label i, .claim-page .bnb-price-label i { background: #16866c; box-shadow: 0 0 0 3px #eaf5ef; }
.claim-page .sync-time-card strong { margin-top: 15px; font-size: 18px; line-height: 1.4; font-weight: 650; letter-spacing: -.6px; }
.claim-page .bnb-price-card strong { margin-top: 5px; font-family: inherit; font-size: 28px; line-height: 1.2; font-weight: 750; }
.claim-page .bnb-price-card small { margin-top: 6px; color: #63776d; font-size: 11px; line-height: 1.5; white-space: normal; overflow: visible; }
.claim-page .balance-card { min-height: 180px; padding: 28px 30px; gap: 24px; border: 1px solid #cfe2d7; border-radius: 16px; background: linear-gradient(110deg, #f0f8f3, #f8fcf9); box-shadow: none; }
.claim-page .balance-label { color: #4d685a; font-size: 14px; font-weight: 600; }
.claim-page .balance-amount { gap: 10px 22px; margin-top: 12px; font-family: inherit; color: #08745f; font-size: 40px; line-height: 1.2; font-weight: 750; letter-spacing: -1.3px; }
.claim-page .balance-amount-group { display: inline-flex; align-items: baseline; gap: 8px; max-width: 100%; white-space: normal; }
.claim-page .balance-amount strong { overflow-wrap: anywhere; min-width: 0; }
.claim-page .balance-unit { color: #477162; font-size: 14px; font-weight: 650; letter-spacing: 0; }
.claim-page .balance-converted { gap: 7px; color: #385d4e; font-size: 25px; font-weight: 600; letter-spacing: -.5px; }
.claim-page .balance-approx { color: #6d8678; font-size: 20px; }
.claim-page .balance-card-main > p { margin-top: 12px; color: #61776b; font-size: 13px; line-height: 1.7; }
.claim-page .balance-card-side { min-width: 208px; gap: 10px; justify-items: stretch; }
.claim-page .balance-action { width: 208px; min-height: 48px; border-color: #087f68; border-radius: 10px; color: #fff; background: #087f68; font-size: 15px; font-weight: 650; box-shadow: 0 4px 10px rgba(8,127,104,.12); }
.claim-page .balance-action:not(:disabled):hover { background: #066b58; filter: none; }
.claim-page .balance-action:disabled { border-color: #d1ddd5; color: #6c7e73; background: #e8efe9; box-shadow: none; }
.claim-page .balance-availability-hint { max-width: 230px; color: #65796c; font-size: 12px; font-weight: 400; text-align: center; }
.claim-page .payout-grid { margin-top: 20px; }
.claim-page .payout-panel, .claim-page .history-panel { border: 1px solid #dce6e1; border-radius: 16px; background: #fff; box-shadow: 0 2px 5px rgba(23,51,37,.02); }
.claim-page .payout-panel { padding: 24px 28px; }
.claim-page .payout-panel::before { content: none; }
.claim-page .payout-panel-head { align-items: center; }
.claim-page .payout-panel-head h2, .claim-page .history-head h2 { font-size: 18px; line-height: 1.5; font-weight: 650; letter-spacing: 0; }
.claim-page .payout-panel-head > span { padding: 5px 10px; color: #51695c; background: #f0f5f1; font-size: 12px; font-weight: 500; }
.claim-page .panel-copy { margin: 7px 0 20px; font-size: 13px; color: #64776c; }
.claim-page .wallet-form { gap: 12px; }
.claim-page .wallet-form label { min-width: 0; }
.claim-page .wallet-form { margin-top: 18px; }
.claim-page .wallet-form .wallet-field-label { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.claim-page .wallet-approval-note { color: #a16207; font-size: 11px; font-weight: 500; line-height: 1.5; }
.claim-page .wallet-form label > span { margin-bottom: 8px; color: #50695b; font-size: 12px; font-weight: 600; }
.claim-page .wallet-form input { height: 46px; padding: 0 14px; border-color: #d5e1d9; border-radius: 10px; background: #fcfdfc; font-size: 14px; }
.claim-page .wallet-form input[readonly] { background: #f5f8f6; }
.claim-page .wallet-actions { gap: 8px; }
.claim-page .wallet-form button { height: 46px; min-width: 72px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.claim-page .wallet-form .wallet-action-primary { color: #fff; background: #087f68; }
.claim-page .wallet-form .wallet-action-edit, .claim-page .wallet-form .wallet-action-copy { border-color: #d5e1d9; color: #385d4e; background: #fff; }
.claim-page .wallet-form button:not(:disabled):hover { transform: none; filter: brightness(.96); }
.claim-page .wallet-form button:disabled { opacity: 1; border-color: #e0e7e2; color: #7b8a80; background: #f2f5f3; box-shadow: none; }
.claim-page .wallet-readiness, .claim-page .panel-message { font-size: 13px; }
.claim-page .history-panel { margin-top: 20px; }
.claim-page .history-head { min-height: 70px; padding: 18px 28px; background: #fff; }
.claim-page .history-head > span { padding: 4px 9px; border-radius: 6px; color: #667a6e; background: #f4f7f5; font-size: 12px; }
.claim-page .customer-table { min-width: 720px; }
.claim-page .customer-table th, .claim-page .customer-table td { height: 62px; padding: 14px 24px; font-size: 13px; font-variant-numeric: tabular-nums; }
.claim-page .customer-table th { height: 44px; padding-top: 10px; padding-bottom: 10px; color: #5c7265; background: #f7f9f7; font-size: 12px; font-weight: 600; }
.claim-page .customer-table th:nth-child(1) { width: 21%; }
.claim-page .customer-table th:nth-child(2) { width: 17%; }
.claim-page .customer-table th:nth-child(3) { width: 17%; }
.claim-page .customer-table th:nth-child(4) { width: 14%; }
.claim-page .customer-table th:nth-child(5) { width: 31%; }
.claim-page .customer-empty td { height: 144px; color: #6c8073; font-size: 14px; }
.claim-page .payout-state { padding: 4px 9px; font-size: 12px; font-weight: 500; }
.claim-page .tx-link { font-size: 12px; color: #08745f; text-underline-offset: 3px; }
.claim-page .tx-link:hover { text-decoration: underline; }
.claim-page .claim-note { margin-top: 24px; padding-top: 0; font-size: 12px; line-height: 1.7; color: #718276; }
.claim-page .password-form label > span { font-size: 13px; }
.claim-page .password-form input { height: 46px; font-size: 16px; }
.claim-page .password-rule { font-size: 12px; color: #66796d; }
.claim-page .customer-modal-actions button { height: 44px; font-size: 14px; }
.claim-page .customer-modal-close { width: 40px; height: 40px; }
.claim-page .customer-modal-submit { background: #087f68; }
.claim-page button:focus-visible, .claim-page a:focus-visible { outline: 3px solid #289678; outline-offset: 3px; }
.claim-page input:focus-visible { border-color: #16866c; box-shadow: 0 0 0 3px #e3f1e9; }
@media (max-width: 1050px) {
  .claim-page .claim-heading { flex-direction: column; align-items: stretch; gap: 20px; }
  .claim-page .claim-heading-tools { flex: none; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .claim-page .balance-card { padding: 24px; }
  .claim-page .balance-amount { column-gap: 18px; }
}
@media (max-width: 720px) {
  .claim-page .balance-card { flex-direction: column; align-items: stretch; gap: 22px; }
  .claim-page .balance-card-tools { display: block; }
  .claim-page .balance-card-side { min-width: 0; }
  .claim-page .balance-action { width: 100%; }
  .claim-page .balance-availability-hint { max-width: none; }
  .claim-page .wallet-form { grid-template-columns: 1fr; }
  .claim-page .wallet-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); }
  .claim-page .customer-table { min-width: 0; }
  .claim-page .customer-table thead { display: none; }
  .claim-page .customer-table tbody { display: block; }
  .claim-page .customer-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px 20px; padding: 20px; border-bottom: 1px solid #e5ece7; }
  .claim-page .customer-table tbody tr:last-child { border-bottom: 0; }
  .claim-page .customer-table td { display: block; height: auto; min-width: 0; padding: 0; border: 0; font-size: 13px; overflow-wrap: anywhere; }
  .claim-page .customer-table td::before { display: block; margin-bottom: 5px; color: #6a7d71; font-size: 12px; font-weight: 400; }
  .claim-page .customer-table td:nth-child(1)::before { content: "创建时间"; }
  .claim-page .customer-table td:nth-child(2)::before { content: "结算金额"; }
  .claim-page .customer-table td:nth-child(3)::before { content: "支付 BNB"; }
  .claim-page .customer-table td:nth-child(4)::before { content: "状态"; }
  .claim-page .customer-table td:nth-child(5)::before { content: "Hash"; }
  .claim-page .customer-table td:nth-child(5) { grid-column: 1 / -1; }
  .claim-page .customer-table .customer-empty { display: block; padding: 0; }
  .claim-page .customer-table .customer-empty td { display: grid; min-height: 140px; place-items: center; padding: 24px; }
  .claim-page .customer-table .customer-empty td::before { content: none; }
}
@media (max-width: 640px) {
  .claim-page .customer-header-inner, .claim-page .claim-shell { width: calc(100% - 32px); }
  .claim-page .customer-header-inner { height: 68px; }
  .claim-page .customer-brand > span:last-child { display: block; }
  .claim-page .customer-brand-mark { width: 34px; height: 34px; }
  .claim-page .customer-brand strong { font-size: 16px; }
  .claim-page .customer-account-menu { gap: 7px; }
  .claim-page .customer-avatar { display: none; }
  .claim-page .customer-account-menu button { min-height: 40px; padding: 0 10px; font-size: 12px; }
  .claim-page .claim-shell { padding-top: 24px; }
  .claim-page .claim-heading { gap: 18px; margin-bottom: 16px; }
  .claim-page .claim-heading h1 { font-size: 27px; }
  .claim-page .claim-heading p:last-child { font-size: 13px; }
  .claim-page .claim-heading-tools { gap: 10px; }
  .claim-page .sync-time-card, .claim-page .bnb-price-card { min-height: 126px; padding: 14px 12px; border-radius: 12px; }
  .claim-page .sync-time-label, .claim-page .bnb-price-label { align-items: baseline; font-size: 12px; gap: 6px; }
  .claim-page .sync-time-card strong { margin-top: 10px; font-size: 16px; line-height: 1.5; letter-spacing: -.5px; }
  .claim-page .bnb-price-card strong { margin-top: 8px; font-size: 25px; }
  .claim-page .bnb-price-card small { font-size: 11px; }
  .claim-page .balance-card { padding: 22px 20px; border-radius: 14px; }
  .claim-page .balance-amount { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; font-size: 36px; letter-spacing: -1px; }
  .claim-page .balance-converted { font-size: 22px; }
  .claim-page .balance-card-main > p { font-size: 12px; }
  .claim-page .payout-grid, .claim-page .history-panel { margin-top: 16px; }
  .claim-page .payout-panel { padding: 20px; border-radius: 14px; }
  .claim-page .payout-panel-head { gap: 10px; }
  .claim-page .payout-panel-head h2, .claim-page .history-head h2 { font-size: 17px; }
  .claim-page .panel-copy { margin-bottom: 18px; }
  .claim-page .wallet-form { gap: 12px; }
  .claim-page .wallet-form input { font-size: 16px; }
  .claim-page .wallet-form button { min-width: 0; padding: 0 8px; }
  .claim-page .history-head { min-height: 66px; padding: 16px 20px; }
  .claim-page .claim-note { margin-top: 22px; font-size: 11px; }
}
