/* Native account UI shares the application's yellow, purple and ink palette. */
body .buddy-account-dialog{--line:#171217;--card:#fff6e3;--text:#171217;--accent:#8252e8;--soft:#edff42;--sub:#605369;border:3px solid #171217;border-radius:0;background:#fff6e3;color:#171217;box-shadow:6px 6px #8252e8;position:fixed;top:var(--dialog-view-top,0px);bottom:calc(100% - var(--dialog-view-top,0px) - var(--dialog-view-height,100dvh));margin:auto;max-height:calc(var(--dialog-view-height,100dvh) - 24px);overscroll-behavior:contain;scroll-padding:16px}
body .buddy-account-dialog h2{font-weight:900;border-bottom:3px solid #171217;padding-bottom:12px}
body .buddy-account-dialog button{border-radius:0;min-height:44px;border:2px solid #171217;box-shadow:2px 2px #171217}
body .buddy-account-dialog .buddy-account-primary{background:#8252e8;color:#fff6e3}
body .buddy-account-dialog .buddy-account-secondary{background:#fff6e3;color:#171217}
body .buddy-account-dialog .buddy-account-tabs [aria-pressed=true]{background:#edff42;color:#171217}
body .buddy-account-dialog .buddy-account-field input{border:2px solid #171217;border-radius:0;background:#fffdf5}
body .buddy-account-dialog .buddy-account-agreement{min-height:44px;align-items:center}
body .buddy-account-dialog .buddy-account-agreement input{accent-color:#8252e8}
body .web-profile-sheet{top:var(--dialog-view-top,0px);bottom:auto;height:var(--dialog-view-height,100dvh);overscroll-behavior:contain}
body .web-profile-card{max-height:calc(var(--dialog-view-height,100dvh) - 32px)}
.web-profile-loading{padding:20px;margin:0;font-weight:700}
.web-profile-retry{min-height:44px;background:#8252e8;color:#fff6e3;margin:0 20px 14px}
body .web-profile-card>.web-profile-close{margin:0 20px 20px;min-height:44px}
body .web-profile-card input{scroll-margin:16px}

/* Keep home controls above an on-screen keyboard when it shrinks only visualViewport. */
body.lucky-web .home-page.lucky-home{height:var(--dialog-view-height,100dvh)}
body.lucky-web .lucky-home .home-nav{bottom:calc(max(0px,100dvh - var(--dialog-view-height,100dvh) - var(--dialog-view-top,0px)) + 10px + env(safe-area-inset-bottom))}
body.lucky-web .lucky-home .home-create-tray{bottom:calc(max(0px,100dvh - var(--dialog-view-height,100dvh) - var(--dialog-view-top,0px)) + 87px + env(safe-area-inset-bottom))}
