:root{--bg:#f6f9fc;--card:#fff;--text:#172033;--muted:#687487;--accent:#118fd0;--green:#20b875;--border:#e6ebf1}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#f5f9fc,#fff);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}#app{max-width:760px;margin:auto;min-height:100vh;padding-bottom:90px}.top{background:#fff;padding:18px 18px 16px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #eef2f6;position:sticky;top:0;z-index:5}.profile{display:flex;align-items:center;gap:11px;min-width:0}.profile img{width:48px;height:48px;border-radius:50%;background:#eef3f7;object-fit:cover}.profile b,.profile small,.profile span{display:block}.profile b{font-size:17px}.profile small{color:#333;font-size:15px;margin-top:2px}.profile span{display:inline-block;color:#168d5d;background:#e8fff2;padding:4px 9px;border-radius:20px;font-size:12px;margin-top:5px}.balance{white-space:nowrap;border:1px solid #e8edf2;border-radius:25px;padding:10px 13px;color:#20a36e;background:#fff}.balance strong{color:#263244}.page{padding:28px 18px}.hero{background:linear-gradient(120deg,#eaf7ff,#eaf9f1);padding:28px;border-radius:30px;margin-bottom:18px}.hero h1{margin:0 0 8px;font-size:29px}.hero p{margin:0;color:var(--muted);font-size:17px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.card{background:var(--card);border:1px solid var(--border);border-radius:25px;padding:22px;box-shadow:0 8px 25px #1e3b5a0a;margin-bottom:16px}.metric .value{font-size:27px;font-weight:800;color:var(--accent);margin-top:10px}.metric .label{color:var(--muted);font-size:15px}.task h3{margin:0 0 5px;font-size:20px}.task p{margin:0 0 15px;color:var(--muted)}.reward{float:right;color:var(--accent);font-weight:800}.btn{border:0;border-radius:14px;padding:13px 16px;font-size:16px;font-weight:700;background:var(--accent);color:#fff;cursor:pointer;width:100%}.btn.secondary{background:#e9edf2;color:#253043}.progress{height:9px;background:#edf1f5;border-radius:99px;overflow:hidden}.progress i{display:block;height:100%;background:var(--accent);border-radius:99px}.refbox{font-size:13px;word-break:break-all;background:#f8fafc;border:1px solid var(--border);padding:14px;border-radius:14px}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(760px,100%);background:#fff;border-top:1px solid #e8edf2;display:grid;grid-template-columns:repeat(4,1fr);padding:10px 5px env(safe-area-inset-bottom)}.nav button{border:0;background:none;color:#293647;font-size:23px;padding:8px 2px}.nav button.active{color:var(--green)}.nav small{display:block;font-size:11px;margin-top:3px}.rankrow{display:grid;grid-template-columns:45px 1fr auto;gap:10px;align-items:center;padding:14px 4px;border-bottom:1px solid #edf0f4}.avatar{width:38px;height:38px;border-radius:50%;background:#eaf2f8;display:grid;place-items:center}.pill{background:#eef8fd;color:var(--accent);border-radius:20px;padding:8px 12px;font-weight:700}.notice{padding:14px;border-radius:14px;background:#fff6d9;color:#7c5d1d;margin-bottom:16px}@media(max-width:480px){.top{padding:14px 12px}.balance{font-size:13px}.page{padding:20px 12px}.hero{padding:22px}.grid{gap:10px}.card{padding:18px}}
.task-countdown{position:fixed;left:50%;bottom:78px;transform:translateX(-50%);width:min(720px,calc(100% - 24px));z-index:20;background:rgba(23,32,51,.97);color:#fff;border-radius:18px;padding:12px 16px;box-shadow:0 12px 35px rgba(0,0,0,.22);display:flex;align-items:center;justify-content:space-between;gap:14px}.task-countdown .count{font-size:22px;font-weight:900;min-width:52px;text-align:center}.task-countdown small{display:block;color:#cbd5e1;margin-top:2px}.task-countdown.done{background:#168d5d}@media(max-width:480px){.task-countdown{bottom:74px;width:calc(100% - 16px);padding:11px 13px}.task-countdown .count{font-size:20px}}

.withdraw-methods{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.withdraw-method{min-height:112px;border:2px solid #dfe8ef;border-radius:20px;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#172033;font:inherit;cursor:pointer;transition:.2s}.withdraw-method.active{box-shadow:0 0 0 2px rgba(17,143,208,.12);transform:translateY(-1px);border-color:#118fd0}.withdraw-method:nth-child(1).active{border-color:#20b875;background:#effff7}.withdraw-method:nth-child(2).active{border-color:#4d80c7;background:#eef6ff}.withdraw-method:nth-child(3).active{border-color:#d64a7d;background:#fff0f5}.withdraw-method:nth-child(4).active{border-color:#d8a32c;background:#fff9e9}.method-icon{font-size:28px;line-height:1;font-weight:800}.withdraw-method b{font-size:15px;text-align:center}.withdraw-method + *{}#withdrawForm label{display:block;font-weight:700;margin-top:10px}#withdrawForm input,#withdrawForm select{width:100%;padding:14px;border:1px solid var(--border);border-radius:14px;margin:7px 0 12px;background:#fff;font:inherit}@media(max-width:480px){.withdraw-methods{gap:9px}.withdraw-method{min-height:105px}.withdraw-method b{font-size:13px}.method-icon{font-size:23px}}
/* Coin wallet / withdrawal UI */
.wallet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.wallet-head h1{margin:0 0 5px}.wallet-head p{margin:0;color:var(--muted)}.coin-rate{background:#eefaf4;color:#168d5d;border:1px solid #d8f2e5;border-radius:999px;padding:8px 11px;font-size:12px;font-weight:800;white-space:nowrap}.withdraw-method{padding:12px}.method-icon{width:46px;height:46px;display:grid;place-items:center}.method-icon svg{width:42px;height:42px}.withdraw-method:nth-child(3) .method-icon{color:#d62f7f}.withdraw-method:nth-child(4) .method-icon{color:#f0a400}.withdraw-method:nth-child(2) .method-icon{color:#3675c5}.withdraw-method:nth-child(1) .method-icon{color:#20b875}.coin-amount-box{margin-top:4px}.coin-packages{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:4px 0 8px}.coin-packages button{border:1px solid #dfe8ef;background:#f8fbfd;border-radius:12px;padding:10px 6px;font-weight:800;color:#1e344d;cursor:pointer}.coin-packages button:active{transform:scale(.98)}.coin-convert{padding:9px 12px;background:#f4f8fb;border-radius:12px;color:var(--muted);margin-bottom:10px}.coin-convert b{color:#168d5d}.operator-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.operator-row label{flex:1}.manual-toggle{border:0;background:#eef5ff;color:#2e69a6;border-radius:10px;padding:7px 9px;font-size:11px;font-weight:800;cursor:pointer}.detect-badge{display:inline-block;margin-left:5px;background:#e8fff2;color:#168d5d;border-radius:999px;padding:3px 7px;font-size:10px}.detect-badge.manual{background:#fff4df;color:#9a6900}.field-help{display:block;color:var(--muted);font-size:11px;line-height:1.4;margin:-5px 0 7px}@media(max-width:480px){.wallet-head{display:block}.coin-rate{display:inline-block;margin-top:8px}.coin-packages{grid-template-columns:1fr 1fr 1fr}.coin-packages button{font-size:11px;padding:9px 3px}.withdraw-method{min-height:112px}.method-icon{width:40px;height:40px}.method-icon svg{width:36px;height:36px}}

/* Refined withdrawal method cards */
.withdraw-methods{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:18px 0}.withdraw-method{position:relative;min-height:126px!important;padding:16px 42px 16px 16px!important;border:1px solid #e5ebf1!important;border-radius:22px!important;background:linear-gradient(145deg,#fff,#f8fbfd)!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;color:#172033!important;text-align:left!important;box-shadow:0 8px 22px rgba(24,50,80,.06)!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}.withdraw-method:hover{transform:translateY(-2px)!important;box-shadow:0 14px 30px rgba(24,50,80,.10)!important}.method-logo{width:58px!important;height:58px!important;flex:0 0 58px!important;border-radius:18px!important;display:grid!important;place-items:center!important;background:#f1f7fb!important;border:1px solid #e3ebf1!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important}.method-logo svg{width:44px!important;height:44px!important;display:block!important}.method-copy{display:flex!important;flex-direction:column!important;gap:4px!important;min-width:0!important}.method-copy b{font-size:16px!important;line-height:1.15!important;letter-spacing:-.01em!important}.method-copy small{font-size:11px!important;color:#758196!important;line-height:1.2!important}.method-arrow{position:absolute!important;right:14px!important;top:50%!important;transform:translateY(-50%)!important;width:28px!important;height:28px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#eef3f7!important;color:#6b788a!important;font-size:22px!important;line-height:1!important}.withdraw-method:nth-child(1) .method-logo{color:#18a56f;background:#edfff7;border-color:#ccefe0}.withdraw-method:nth-child(2) .method-logo{color:#3778c8;background:#eef6ff;border-color:#d4e4f7}.withdraw-method:nth-child(3) .method-logo{color:#d32d76;background:#fff0f5;border-color:#f5d1df}.withdraw-method:nth-child(4) .method-logo{color:#e3a10c;background:#fff8e6;border-color:#f2dfaa}.withdraw-method:nth-child(1).active{border-color:#27b67e!important;background:linear-gradient(145deg,#f5fffa,#edfff7)!important}.withdraw-method:nth-child(2).active{border-color:#5d8fd2!important;background:linear-gradient(145deg,#f7fbff,#eef6ff)!important}.withdraw-method:nth-child(3).active{border-color:#d85a88!important;background:linear-gradient(145deg,#fff8fb,#fff0f5)!important}.withdraw-method:nth-child(4).active{border-color:#e0b33c!important;background:linear-gradient(145deg,#fffdf5,#fff8e7)!important}.withdraw-method.active .method-arrow{background:#fff;color:#172033;box-shadow:0 4px 10px rgba(0,0,0,.08)}
@media(max-width:480px){.withdraw-methods{gap:10px}.withdraw-method{min-height:118px!important;padding:13px 35px 13px 12px!important;gap:10px!important;border-radius:19px!important}.method-logo{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:15px!important}.method-logo svg{width:36px!important;height:36px!important}.method-copy b{font-size:13px!important}.method-copy small{font-size:10px!important}.method-arrow{right:9px!important;width:24px!important;height:24px!important;font-size:18px!important}}

/* Demo-style withdrawal cards: image logos, mobile-first 2x2 layout */
.wallet-card{overflow:hidden}
.withdraw-methods{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:18px 0!important}
.withdraw-method{position:relative!important;min-width:0!important;min-height:132px!important;padding:12px 8px 10px!important;border:2px solid #dfe7ed!important;border-radius:18px!important;background:#fff!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;color:#172033!important;text-align:center!important;box-shadow:0 4px 14px rgba(20,45,70,.04)!important;transform:none!important}
.withdraw-method:hover{transform:none!important;box-shadow:0 8px 20px rgba(20,45,70,.08)!important}
.withdraw-method.active{transform:none!important;box-shadow:0 0 0 2px rgba(17,143,208,.07),0 8px 18px rgba(20,45,70,.07)!important}
.withdraw-method:nth-child(1){border-color:#9cdbbe!important;background:linear-gradient(180deg,#f7fffb,#edfff7)!important}
.withdraw-method:nth-child(2){border-color:#a9c8eb!important;background:linear-gradient(180deg,#f8fbff,#eef6ff)!important}
.withdraw-method:nth-child(3){border-color:#e4a2bd!important;background:linear-gradient(180deg,#fff9fc,#fff0f5)!important}
.withdraw-method:nth-child(4){border-color:#e8c878!important;background:linear-gradient(180deg,#fffdf7,#fff7df)!important}
.withdraw-method.active:nth-child(1){border-color:#27a873!important}
.withdraw-method.active:nth-child(2){border-color:#5d8fd2!important}
.withdraw-method.active:nth-child(3){border-color:#d85a88!important}
.withdraw-method.active:nth-child(4){border-color:#dfa92e!important}
.method-logo{width:76px!important;height:68px!important;flex:none!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;display:grid!important;place-items:center!important;overflow:hidden!important}
.method-image{width:76px!important;height:60px!important;object-fit:contain!important;display:block!important;background:transparent!important}
.method-copy{display:flex!important;flex-direction:column!important;align-items:center!important;gap:2px!important;min-width:0!important}
.method-copy b{font-size:15px!important;line-height:1.1!important;white-space:normal!important}
.method-copy small{font-size:10px!important;line-height:1.1!important;color:#738094!important}
.method-arrow{display:none!important}
.coin-amount-box label{font-weight:800!important;color:#1c2a3a!important}
.withdraw-message{margin:10px 0 0;padding:12px 14px;border-radius:13px;font-size:13px;line-height:1.4;font-weight:700}
.withdraw-message.error{background:#fff0f0;color:#a32727;border:1px solid #ffd1d1}
.withdraw-message.success{background:#edfff5;color:#13764d;border:1px solid #c7efdc}
.withdraw-message[hidden]{display:none!important}
@media(max-width:480px){
  .wallet-card{padding:16px 12px!important}
  .withdraw-methods{gap:9px!important;margin:15px 0!important}
  .withdraw-method{min-height:142px!important;padding:10px 6px 9px!important;border-radius:17px!important}
  .method-logo{width:82px!important;height:72px!important}
  .method-image{width:82px!important;height:66px!important}
  .method-copy b{font-size:14px!important}
  .method-copy small{font-size:9px!important}
  .coin-packages{grid-template-columns:repeat(3,1fr)!important;gap:6px!important}
  .coin-packages button{font-size:10px!important;padding:9px 2px!important;white-space:nowrap!important}
}


.uid-checker-box{margin-top:10px;padding:14px;border:1px solid #dfe8ef;border-radius:18px;background:linear-gradient(145deg,#fbfdff,#f5f9fc)}
.uid-checker-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.uid-checker-head label{margin:0!important}.uid-checker-head small{display:block;color:var(--muted);font-size:11px;font-weight:500;margin-top:3px}.uid-cost{white-space:nowrap;background:#fff4d8;color:#8b6500;border:1px solid #f1dfad;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800}.uid-input-row{display:grid;grid-template-columns:1fr 112px;gap:8px;align-items:center}.uid-input-row input{margin-bottom:0!important}.uid-input-row button{border:0;border-radius:13px;padding:13px 10px;background:#172033;color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.uid-input-row button:disabled{opacity:.65}.uid-check-result{margin-top:10px;padding:11px 12px;border-radius:14px;font-size:12px;line-height:1.5;font-weight:700}.uid-check-result.success{background:#edfff5;border:1px solid #c7efdc;color:#13764d}.uid-check-result.error{background:#fff0f0;border:1px solid #ffd1d1;color:#a32727}.uid-player{display:grid;gap:2px}.uid-player b{font-size:16px;color:#172033}.uid-player span{color:#4f5e70;font-weight:600}.uid-player strong{margin-top:4px;color:#168d5d}@media(max-width:480px){.uid-checker-head{align-items:flex-start;flex-direction:column}.uid-cost{align-self:flex-start}.uid-input-row{grid-template-columns:1fr}.uid-input-row button{width:100%}}
