:root{--gold:#e1ad27;--gold2:#ffd762;--green:#38dd69;--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,#19482b,#071b10 28%,#020906 70%);padding:18px 14px 50px}.page{width:min(820px,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}.notice{border:1px solid #8b6618;background:#191607;border-radius:13px;padding:14px 16px;margin-bottom:14px}.notice b{color:#ffd34e}.notice p{margin:5px 0 0;color:#c8bea3;font-size:13px;line-height:1.45}.card{background:linear-gradient(145deg,#0d2517,#07160e);border:1px solid #506440;border-radius:16px;padding:17px;margin-bottom:14px}.head{display:flex;align-items:center;gap:10px;margin-bottom:16px}.head>i{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d7a420;color:#111;font-style:normal;font-weight:1000}.head b,.head small{display:block}.head small{font-size:11px;color:#88a092;margin-top:3px}.head>strong{margin-left:auto;border:1px solid #4a5e4e;border-radius:9px;padding:6px 8px;font-size:10px;color:#a9baaf}.head>strong.ok{border-color:#2f9850;color:#52e079}.card label{display:block;color:#c4d2c8;font-size:12px;margin:11px 0 6px}.card input{width:100%;height:45px;border:1px solid #755a18;border-radius:10px;background:#031009;color:#fff;padding:0 12px;outline:none}.card input:focus{border-color:#e3af27;box-shadow:0 0 0 2px #d8a62222}.row{display:grid;grid-template-columns:1fr 155px;gap:8px}.row button,.primary{border:0;border-radius:10px;background:linear-gradient(#ffd758,#aa7609);color:#171006;font-weight:1000}.primary{width:100%;height:45px;margin-top:13px}.hint{display:block;color:#7f9989;font-size:10px;margin-top:7px}.otp{margin-top:13px;padding-top:10px;border-top:1px solid #294533}.hide{display:none!important}.bound{display:flex;align-items:center;gap:12px;background:#06130c;border:1px solid #287243;border-radius:12px;padding:13px}.bound>span{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#1a9e48;font-weight:1000}.bound small,.bound b{display:block}.bound small{font-size:10px;color:#82a08d}.bound b{color:#d9ede0;margin-top:2px}.rule-card{display:flex;gap:11px;align-items:flex-start;border:1px solid #314c38;background:#07150d;border-radius:13px;padding:14px;color:#99afa1;font-size:12px;line-height:1.5}.rule-card p{margin:0}.rule-card 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}.disabled{opacity:.48;pointer-events:none}#toast{position:fixed;left:50%;bottom:24px;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:620px){.row{grid-template-columns:1fr}.row button{height:44px}.head{align-items:flex-start}.head>strong{font-size:9px}}

/* LuckZoo compact screen-fit pass — 2026-08-18 */
@media (min-width:700px) and (max-height:850px){
 body{padding:8px 12px 18px}.page{width:min(840px,100%)}
 header{height:58px;margin-bottom:10px}header button{width:40px;height:40px}header b{font-size:21px}
 .notice{padding:10px 14px;margin-bottom:9px}.notice p{margin-top:3px;font-size:12px;line-height:1.3}
 .card{padding:12px 16px;margin-bottom:9px;border-radius:14px}.head{margin-bottom:10px}.head>i{width:32px;height:32px}.head small{margin-top:2px}
 .bound{padding:9px 12px}.bound>span{width:31px;height:31px}.card label{margin:7px 0 4px}.card input{height:40px}
 .primary{height:41px;margin-top:9px}.hint{margin-top:5px}.otp{margin-top:9px;padding-top:7px}
 .rule-card{padding:10px 12px;line-height:1.35}.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;
  }
}

