:root{--gold:#e1ad27;--gold2:#ffd762;--green:#39dc69;--panel:#0a1c12;--line:#715819}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#020a06;color:#fff;font-family:Arial,Helvetica,sans-serif}body{background:radial-gradient(circle at 50% 0,#1b4d2d,#071b10 28%,#020906 70%);padding:18px 14px 50px}.page{width:min(780px,100%);margin:auto}header{height:68px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);margin-bottom:16px}header button{width:42px;height:42px;border-radius:50%;border:1px solid #81641a;background:#09180f;color:#ffd34e;font-size:28px}header b,header small{display:block}header b{font-size:22px;color:#ffd34e}header small{color:#8ba090;margin-top:3px}header>span{margin-left:auto;padding:7px 10px;border:1px solid #36553d;border-radius:10px;color:#9fbaaa;font-size:11px}.hero{display:flex;align-items:center;gap:18px;border:1px solid #8e691a;border-radius:18px;padding:20px;background:linear-gradient(135deg,#17331f,#0a180e);box-shadow:0 14px 40px #0007}.gift{width:88px;height:88px;border-radius:21px;background:linear-gradient(#ffd858,#a77109);display:grid;place-items:center;font-size:45px;box-shadow:0 8px 22px #0007}.hero>div:last-child>span{font-size:10px;color:#65df82;font-weight:900}.hero h1{margin:5px 0;color:#ffd44b;font-size:34px}.hero h1 small{font-size:13px;color:#9fb0a4}.hero p{margin:0;color:#9eb1a4;font-size:12px;line-height:1.5}.pending{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.pending div,.summary div{border:1px solid #40583f;border-radius:14px;background:#08190f;padding:16px}.pending small,.pending b,.summary small,.summary b{display:block}.pending small,.summary small{color:#819688;font-size:10px}.pending b{font-size:28px;color:#ffd34e;margin-top:5px}.claim{width:100%;height:49px;margin-top:12px;border:0;border-radius:11px;background:linear-gradient(#ffd758,#a97409);color:#171006;font-weight:1000}.claim:disabled{background:#26392b;color:#8fa096}.claim-note{text-align:center;color:#82988a;font-size:10px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:15px}.summary b{color:#ffd34e;margin-top:5px}.history,.claims{margin-top:19px}.history h2,.claims h2{font-size:17px}.row{display:grid;grid-template-columns:1fr auto;gap:8px;border-bottom:1px solid #22392a;padding:10px 2px}.row small,.row b{display:block}.row small{color:#7e9486;font-size:10px;margin-top:3px}.row strong{color:#50df74;text-align:right}.row em{display:block;color:#83968a;font-size:9px;font-style:normal;margin-top:3px}.empty{color:#789083;padding:14px 0}.rule{display:flex;gap:10px;margin-top:17px;border:1px solid #334d39;border-radius:12px;padding:13px;color:#91a698;font-size:11px;line-height:1.45}.rule p{margin:0}.rule b{color:#fff}.done{display:block;text-align:center;text-decoration:none;margin-top:14px;border:1px solid #8b6819;border-radius:11px;padding:13px;color:#ffd24b;font-weight:900}#toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%) translateY(15px);opacity:0;background:#101c14;border:1px solid #c49320;border-radius:11px;padding:11px 17px;z-index:50;transition:.2s;max-width:90%;text-align:center}#toast.show{opacity:1;transform:translateX(-50%)}#toast.error{border-color:#b84b3e;color:#ffd2cc}@media(max-width:560px){.hero{align-items:flex-start}.gift{width:68px;height:68px;font-size:34px}.hero h1{font-size:27px}.pending,.summary{grid-template-columns:1fr}}

/* LuckZoo compact screen-fit pass — 2026-08-18 */
@media (min-width:700px) and (max-height:850px){
 body{padding:8px 12px 18px}.page{width:min(800px,100%)}
 header{height:58px;margin-bottom:10px}header button{width:40px;height:40px}header b{font-size:21px}
 .hero{gap:14px;padding:14px 18px;border-radius:15px}.gift{width:72px;height:72px;border-radius:18px;font-size:38px}
 .hero h1{font-size:30px;margin:3px 0}.hero p{line-height:1.35}
 .pending{gap:10px;margin-top:10px}.pending div,.summary div{padding:11px 14px;border-radius:12px}.pending b{font-size:24px;margin-top:3px}
 .claim{height:43px;margin-top:9px}.claim-note{margin:7px 0}.summary{gap:9px;margin-top:10px}.summary b{margin-top:3px}
 .history,.claims{margin-top:12px}.history h2,.claims h2{margin:5px 0 7px}.row{padding:7px 2px}
 .rule{margin-top:10px;padding:10px}.done{margin-top:9px;padding:10px}
}

/* ==========================================================
   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;
  }
}

