*{box-sizing:border-box}body{margin:0;background:#f5f6f7;color:#26332e;font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px max(20px,calc((100vw - 760px)/2));background:white;border-bottom:1px solid #e1e5e3}.brand{display:flex;align-items:center;gap:9px;font-weight:850;font-size:22px;text-decoration:none;letter-spacing:.04em}.brand img{object-fit:contain}main{max-width:800px;margin:28px auto;padding:0 20px 40px}a{color:#a44720;text-underline-offset:3px}.heading h1{font-size:clamp(28px,5vw,36px);margin:0}.heading p{margin:3px 0 22px;color:#6b766f}h2{font-size:21px;margin:0 0 16px;line-height:1.35}h3{font-size:17px;margin:0 0 8px}p{margin:12px 0}section{padding:25px;background:white;border:1px solid #dde3df;border-radius:16px;margin:20px 0}button,.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:1px solid #c75a27;border-radius:10px;background:#c75a27;color:white;font:inherit;font-weight:650;cursor:pointer;text-decoration:none}button:disabled{opacity:.5;cursor:not-allowed}.secondary{background:white;color:#a44720;border-color:#d2b8a8}.text-button{border:0;background:transparent;color:#a44720;min-height:44px;padding:8px;font-size:14px}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e39c74;outline-offset:3px}button[aria-pressed=true]{box-shadow:0 0 0 3px #e9b89d}.balance-heading{display:flex;align-items:center;gap:12px;color:#617168}.balance-heading img{object-fit:contain}.balance-heading .text-button{margin-left:auto}.balance{display:block;font-size:clamp(35px,7vw,46px);letter-spacing:-.025em;color:#a84921;margin-top:14px;line-height:1.2}.fine{font-size:14px;line-height:1.6;color:#68776e}#balance-detail{margin:6px 0}.available-line{font-size:14px;color:#68776e;margin:14px 0 20px}.available-line strong{color:#354d3e}.account-code{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;background:#f5f7f6;border-radius:10px}.account-code span{display:block;color:#68776e;font-size:13px;margin-bottom:4px}.account-code code{display:block;font-size:15px;overflow-wrap:anywhere;user-select:all}.account-code button{font-size:14px;flex:none;padding:9px 12px}.wallet-actions{display:flex;gap:12px;margin-top:22px}.wallet-actions button{flex:1}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:18px}.section-heading h2{margin:0}.route{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:16px;border:1px solid #e3e7e4;border-radius:10px;background:#f8faf9}.route span{display:block;font-size:13px;color:#68776e}.route b{display:block;margin-top:4px;font-size:16px}.route a{font-size:14px}form{display:grid;gap:16px;margin:20px 0 0}label{display:grid;gap:7px;font-weight:600}input{min-width:0;width:100%;min-height:48px;padding:11px 12px;border:1px solid #b7c2ba;border-radius:9px;background:white;color:#273e2f;font:inherit}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:14px}.check input{flex:none;min-height:19px;width:19px;margin:3px 0 0}.quick-amounts{display:flex;gap:9px}.quick-amounts button{flex:1;padding:8px;font-size:14px}.transfer-value{display:flex;justify-content:space-between;gap:12px;background:#f6f8f7;border-radius:9px;padding:14px;margin:0;font-size:14px}.transfer-value strong{font-size:18px;white-space:nowrap}.receive-source{border:1px solid #e1e7e3;border-radius:10px;padding:18px;margin:20px 0}.receive-source p{font-size:15px;color:#68776e}.receive-source .button{font-size:14px}details>summary{cursor:pointer;font-size:16px;font-weight:650;min-height:44px;padding:10px 0}.history{padding:12px 22px}.history>details+details{border-top:1px solid #e5e9e6}.code-row{padding:18px 0;border-top:1px solid #e5e9e6;display:grid;gap:8px}.code-row small,.transfer-state{font-size:14px;color:#68776e}.transfer-state.complete{color:#267348}.transfer-state.pending{color:#98612c}.code-row .actions a{font-size:14px}.code-row details{border:0}.code-row code{font-size:14px;overflow-wrap:anywhere;display:block;margin:12px 0}.ledger-row{display:flex;justify-content:space-between;gap:16px;padding:15px 0;border-top:1px solid #e5e9e6;font-size:15px}.ledger-row small{display:block;font-size:13px;color:#68776e}.ledger-row strong{white-space:nowrap}.wallet-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px;color:#68776e}.transfer-result{padding:22px;background:#eef8f1;border:1px solid #b7d5c0;border-radius:14px;margin:20px 0}.transfer-result h3{font-size:21px}.kicker{font-size:13px;font-weight:750;color:#a44720;letter-spacing:.05em}.actions{display:flex;flex-wrap:wrap;gap:10px}#status:empty{display:none}#status:not(:empty){padding:14px 18px;background:#fff4e9;border:1px solid #e9c9b3;border-radius:10px}.error,#confirm-error{color:#a12e26}dialog{max-width:540px;width:calc(100% - 32px);max-height:90dvh;overflow:auto;border:1px solid #dce5de;border-radius:18px;padding:26px;color:#26332e;box-shadow:0 20px 90px #17281f40}dialog::backdrop{background:#152a2088}dialog form{margin:0}dialog h2,dialog p{margin:0}dialog dl{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:16px;background:#f5f8f6;border-radius:10px;margin:0}dialog dt{color:#68776e;font-size:14px}dialog dd{margin:0;font-weight:650}dialog .actions>*{flex:1}[hidden]{display:none!important}@media(max-width:520px){header{padding:13px 18px}main{padding:0 14px 30px;margin-top:22px}section{padding:20px}.account-code{align-items:flex-start;flex-direction:column;gap:10px}.account-code button{min-height:40px}.account-code code{font-size:14px}.wallet-actions{gap:8px}.wallet-actions button{font-size:14px;padding:12px 7px}.route{gap:12px;padding:13px}.route b{font-size:14px}.wallet-footer{align-items:flex-start}.actions>*{flex:1}.history{padding:10px 18px}dialog{padding:21px}dialog dl{grid-template-columns:75px 1fr}}
select{width:100%;min-height:48px;padding:11px 38px 11px 12px;border:1px solid #b7c2ba;border-radius:9px;background:white;color:#273e2f;font:inherit}#save-wallet-panel{display:grid;gap:12px;border:1px solid #dce6df;border-radius:10px;padding:16px;background:#f6faf7}#confirm-target-code{font-size:14px;overflow-wrap:anywhere}select:focus-visible{outline:3px solid #e39c74;outline-offset:3px}
.weekly-wheel-card .section-heading{align-items:center;margin-bottom:8px}.weekly-wheel-card h2{margin:4px 0 0}.wheel-badge{padding:6px 10px;border:1px solid #e5c193;border-radius:20px;background:#fff6e8;color:#985019;font-size:14px;font-weight:750;white-space:nowrap}.wheel-stage{position:relative;max-width:360px;margin:15px auto 22px}.wheel-stage svg{display:block;width:100%;height:auto;transform-origin:50% 50%;filter:drop-shadow(0 10px 15px #3d332a1b)}.wheel-pointer{position:absolute;top:-5px;left:calc(50% - 13px);width:26px;height:34px;clip-path:polygon(0 0,100% 0,50% 100%);background:#253b30;z-index:2}#spin-wheel{display:flex;margin:0 auto;min-width:190px}#wheel-result{text-align:center;font-size:19px;font-weight:750;color:#a44720}#wheel-next{text-align:center}.wheel-rules{margin-top:20px;padding-top:12px;border-top:1px solid #e4e9e6}.wheel-rules table{width:100%;border-collapse:collapse;font-size:14px}.wheel-rules th,.wheel-rules td{padding:8px 12px;text-align:left;border-bottom:1px solid #e6eae7}.wheel-rules th{font-weight:700;background:#f5f8f6}@media(max-width:400px){.weekly-wheel-card .section-heading{gap:8px}.weekly-wheel-card h2{font-size:19px}.wheel-badge{font-size:12px;padding:5px 8px}}

.wheel-hub{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:16%;height:16%;object-fit:contain;pointer-events:none}

.wheel-hub-button{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:23%;height:23%;min-height:0;padding:6px;border:3px solid #e4b467;border-radius:50%;background:white;box-shadow:0 3px 14px #5e361b33;z-index:3;transition:none}
.wheel-hub-button .wheel-hub{position:static;transform:none;width:100%;height:100%;object-fit:contain;pointer-events:none}
.wheel-hub-button:disabled{opacity:1;cursor:default}
.wheel-won #wheel-result{padding:20px 16px;border:1px solid #e2b65d;border-radius:14px;background:linear-gradient(135deg,#fff7dd,#fffdf5);color:#7e441b;box-shadow:0 5px 22px #bb85361a}
.wheel-celebration{position:fixed;inset:0;pointer-events:none;z-index:11000;overflow:hidden}
.wheel-celebration i,.wheel-celebration img{position:absolute;left:50%;top:35%;display:block;width:9px;height:15px;background:#ee7926;border-radius:2px}
.wheel-celebration i:nth-child(3n){background:#e4b331}.wheel-celebration i:nth-child(3n+1){background:#2d7560}.wheel-celebration i:nth-child(4n){background:#d95442;width:7px;height:7px;border-radius:50%}.wheel-celebration img{width:35px;height:35px;object-fit:contain;background:none}
@media(prefers-reduced-motion:reduce){.wheel-celebration{display:none}}
.wallet-actions #open-topup{width:100%;flex-basis:100%;background:#f45118;border-color:#f45118;font-size:18px;box-shadow:0 5px 14px #f4511826}.wallet-actions{flex-wrap:wrap}.topup-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.topup-package{position:relative;margin:0;border:1px solid #ddd4ca;border-radius:12px;padding:14px;cursor:pointer}.topup-package:has(input:checked){border-color:#f45118;background:#fff4ed;box-shadow:0 0 0 1px #f45118}.topup-package input{width:auto;margin:0 0 8px}.topup-package span{display:grid;gap:5px}.topup-package strong{font-size:19px}.topup-package small{color:#64736a;min-height:24px}.topup-package b{color:#a94418;font-size:20px}.topup-methods label{padding:12px;border:1px solid #deded8;border-radius:10px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.topup-methods input{width:auto}.topup-methods small{color:#758078}.topup-summary{font-weight:750;background:#fff3e9;padding:15px;border-radius:10px}.topup-orders-heading{margin-top:30px}.topup-order{padding:20px 0;border-top:1px solid #dde3df;overflow-wrap:anywhere}.topup-order>div:first-child{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.topup-order>div:first-child>span{color:#8c4a25}.topup-order.focused{border-left:3px solid #f45118;padding-left:15px}.topup-bank{background:#f4f6f4;padding:10px 15px;border-radius:10px}.topup-bank code{font-size:15px;user-select:all;overflow-wrap:anywhere}.topup-order form{margin-top:14px}#topup-panel fieldset{border:0;padding:0;margin:20px 0}#topup-panel legend{font-weight:750;margin-bottom:12px}#topup-status.error{color:#a52c21}#topup-panel[hidden],#topup-form[hidden]{display:none}@media(max-width:600px){.topup-packages{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-actions{display:flex}.wallet-actions>[data-direction]{flex:1;font-size:14px;padding-inline:8px}.topup-package{padding:12px}.topup-package strong{font-size:18px}}
#topup-panel input[type=radio]{width:18px;height:18px;min-height:0;padding:0;accent-color:#f45118;flex-shrink:0}.topup-package input{margin-bottom:10px}.topup-methods label:has(input:checked){border-color:#f45118;background:#fff4ed}.topup-methods label:has(input:disabled){opacity:.65}

.wallet-alert-link{font-size:14px;color:#b73308;padding:10px;border:1px solid #e5d4cd;border-radius:10px;text-decoration:none}.wallet-message-alert{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:1000;background:#202c3c;color:white;border-radius:14px;padding:18px 24px;box-shadow:0 8px 32px #0003;text-decoration:none;max-width:90vw;font-size:16px}
