:root{--gold:#e3ad27;--gold2:#ffd65c;--green:#37dd6c;--bg:#020906}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:#fff;font-family:Arial,Helvetica,sans-serif}
body{background:radial-gradient(circle at 50% 0,#17492a,#071a10 30%,#020906 74%);padding:18px 14px 50px}
button{font:inherit}.page{width:min(850px,100%);margin:auto}
header{height:68px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #725718;margin-bottom:15px}
header>button:first-child{width:42px;height:42px;border-radius:50%;border:1px solid #826419;background:#07170e;color:#ffd44e;font-size:28px}
header b,header small{display:block}header b{font-size:22px;color:#ffd34e}header small{color:#8aa08f;margin-top:3px}.refresh{margin-left:auto;width:38px;height:38px;border-radius:10px;border:1px solid #4b624d;background:#0a1d12;color:#ffd34e;font-size:20px}
.wallet{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.wallet div{border:1px solid #3e5841;border-radius:14px;background:#07180f;padding:14px}.wallet small,.wallet b{display:block}.wallet small{font-size:10px;color:#809488}.wallet b{margin-top:5px;color:#ffd34d}
.filters{display:flex;gap:7px;overflow:auto;padding:14px 0 7px}.filters button{white-space:nowrap;border:1px solid #405b43;background:#091c11;color:#a9bbb0;border-radius:18px;padding:8px 11px;font-size:10px;font-weight:900}.filters button.active{border-color:#d3a427;background:linear-gradient(#d9ad35,#8b6009);color:#171006}.filters span{display:inline-grid;place-items:center;min-width:18px;height:18px;margin-left:4px;padding:0 4px;border-radius:10px;background:#0005;font-size:9px}
.timeline{margin-top:6px}.tx{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:11px;align-items:center;padding:12px 3px;border-bottom:1px solid #21392a}.icon{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;font-size:20px;border:1px solid #3c5842;background:#081a10}.tx.deposit .icon{color:#4ee37a}.tx.withdrawal .icon{color:#f0b736}.tx.reward .icon{color:#ffd653}.tx.game .icon{color:#67b8ff}.tx.other .icon{color:#b3beb7}.body b,.body small{display:block}.body b{font-size:13px}.body small{font-size:9px;color:#7d9385;margin-top:3px;line-height:1.35}.amount{text-align:right}.amount strong,.amount small{display:block}.amount strong{font-size:14px}.amount.positive strong{color:#45df70}.amount.negative strong{color:#ff887a}.amount.neutral strong{color:#ffd44e}.amount small{font-size:8px;margin-top:3px;text-transform:uppercase}.status-confirmed,.status-completed,.status-paid{color:#49e172}.status-pending,.status-requested,.status-review,.status-approved,.status-processing{color:#e4ba42}.status-rejected,.status-cancelled,.status-failed{color:#ef796c}
.detail{grid-column:2/4;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:-5px}.detail span{border:1px solid #2a4331;border-radius:7px;background:#06150c;padding:6px;color:#809689;font-size:8px}.detail b{display:block;color:#d5e1d9;font-size:9px;margin-top:2px}.empty{text-align:center;color:#788e80;padding:38px 10px}.info{display:flex;gap:10px;margin-top:16px;border:1px solid #334c39;border-radius:12px;padding:12px;color:#8fa496;font-size:10px;line-height:1.45}.info>span{width:20px;height:20px;flex:0 0 20px;border-radius:50%;display:grid;place-items:center;background:#1d6535;color:#fff;font-weight:900}.info p{margin:0}.done{display:block;text-align:center;text-decoration:none;margin-top:14px;border:1px solid #846318;border-radius:10px;padding:13px;color:#ffd34d;font-weight:900}
#toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(15px);opacity:0;background:#101c14;border:1px solid #c49624;border-radius:10px;padding:10px 16px;transition:.2s;z-index:100;max-width:90%}#toast.show{opacity:1;transform:translateX(-50%)}#toast.error{border-color:#b44538;color:#ffd0ca}
@media(max-width:610px){.wallet{grid-template-columns:1fr}.tx{grid-template-columns:40px minmax(0,1fr) auto}.icon{width:38px;height:38px}.detail{grid-template-columns:1fr 1fr}}

/* ==========================================================
   LUCKZOO FULL-PAGE / APK SCROLL RESTORE
   Account and feature pages are real documents, not fixed cards.
   Keeps normal readable sizing and allows vertical scrolling.
   ========================================================== */
html{
  min-height:100%!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:auto!important;
}

body{
  min-height:100dvh!important;
  height:auto!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-y!important;
  transform:none!important;
}

.page,
.wrap,
.wrapper,
.container,
.shell,
main{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  transform:none!important;
}

/* Landscape APK: do not squeeze a long page to fit one screen. */
@media (orientation:landscape){
  html,body{
    height:auto!important;
    min-height:100dvh!important;
    max-height:none!important;
    overflow-y:auto!important;
  }
}

