.sand-auth{min-height:100svh;overflow-x:hidden;overflow-y:auto;background:#f2ecdf;color:#443f34}
.sand-auth #world,.sand-auth #ripple{position:fixed;inset:0;width:100vw;height:100vh;z-index:0;transition:opacity 1.1s ease}
.sand-auth #ripple{z-index:1}
.sand-auth .pm-auth-nav,.sand-auth #main,.sand-auth .pm-footer{position:relative;z-index:3}
.sand-auth .pm-auth-nav{padding-top:24px;opacity:1;transition:opacity .65s ease}
.sand-auth .pm-auth-nav__note{color:#83765e}
.sand-auth .pm-motion-toggle{display:none}
.sand-auth .sand-intro-controls{margin-left:auto;flex-shrink:0}
.sand-auth .sand-intro-controls .sand-journey-skip{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 14px;border:1px solid rgba(132,114,79,.3);border-radius:999px;background:rgba(249,246,238,.76);color:#64543c;font-family:inherit;font-size:13px;font-weight:500;line-height:1.5;box-shadow:none;white-space:nowrap}
.sand-auth .sand-journey-skip:hover{background:#f9f6ee;border-color:#8d7959;color:#443f34}
.sand-auth .sand-journey-skip:focus-visible{outline:2px solid #8d7959;outline-offset:4px}
html:not([data-sand-stage="intro"]) .sand-intro-controls{display:none}
.sand-auth .pm-auth-layout{display:flex;justify-content:center;align-items:center;min-height:calc(100svh - 170px);padding-top:32px;padding-bottom:30px}
.sand-auth .pm-auth-panel{width:min(440px,100%);padding:30px 34px;background:rgba(249,246,238,.94);border:1px solid rgba(132,114,79,.14);box-shadow:none;transition:opacity .55s ease}
.sand-auth .pm-auth-panel h2{color:#443f34}
.sand-auth .pm-auth-panel__intro,.sand-auth .pm-auth__f,.sand-auth .pm-auth-panel__foot{color:#817461}
.sand-auth .pm-label{color:#645844}
.sand-auth .pm-input{background:rgba(255,255,255,.54);color:#423b2f;border-color:rgba(137,117,80,.25)}
.sand-auth .pm-input:focus{border-color:#9a835d;box-shadow:0 0 0 3px rgba(164,142,99,.11)}
.sand-auth .pm-btn--primary{background:#504b3e;color:#faf6ed}
.sand-auth.sand-intro{height:100svh;overflow:hidden}
.sand-auth.sand-intro .pm-auth-nav{opacity:.75}
.sand-auth.sand-intro .pm-auth-nav__note{opacity:0}
.sand-auth.sand-intro .pm-auth-panel,.sand-auth.sand-intro .pm-footer{opacity:0;pointer-events:none}
html[data-sand-boot="1"]:not([data-sand-stage="auth"]):not([data-sand-stage="fallback"]) .sand-auth .pm-auth-panel,
html[data-sand-boot="1"]:not([data-sand-stage="auth"]):not([data-sand-stage="fallback"]) .sand-auth .pm-footer{opacity:0!important;visibility:hidden!important;pointer-events:none;transition:none}
html[data-sand-boot="1"][data-sand-stage="forming"] .sand-auth .pm-auth-panel{background:transparent;border-color:transparent}
.sand-auth.sand-fallback #world,.sand-auth.sand-fallback #ripple{display:none!important}
.sand-auth.sand-ready #world{opacity:1}
.sand-auth.sand-exit .pm-auth-panel{opacity:0}
.sand-auth.sand-exit #world{opacity:0;transition:opacity 1.1s ease .3s}
.sand-auth #fallback{display:none}
.sand-auth.sand-grain-ready .pm-auth-panel{background:transparent;border-color:transparent}
.sand-auth.sand-grain-ready .pm-auth-panel h2,.sand-auth.sand-grain-ready .pm-auth-panel__intro,.sand-auth.sand-grain-ready .pm-kicker,.sand-auth.sand-grain-ready .pm-label,.sand-auth.sand-grain-ready .pm-auth__f,.sand-auth.sand-grain-ready .pm-auth__f a,.sand-auth.sand-grain-ready .pm-auth-panel__foot,.sand-auth.sand-grain-ready [data-sand-tab],.sand-auth.sand-grain-ready [type=submit]{color:transparent!important;text-shadow:none}
.sand-auth.sand-grain-ready .pm-label *{color:transparent!important}
.sand-auth.sand-grain-ready .pm-input{border-color:transparent;background:rgba(246,241,230,.45)}
.sand-auth.sand-grain-ready .pm-btn--primary{background:transparent;border-color:transparent}
.sand-auth.sand-grain-ready .pm-auth-panel__top>span:last-child,.sand-auth.sand-grain-ready .pm-auth-panel__foot>.pm-status-dot{opacity:0}
.sand-auth .sand-mode-tabs{display:flex;gap:25px;margin:20px 0 22px;align-items:center}
.sand-auth [data-sand-tab]{border:0;background:none;color:#5d4e38;padding:4px 0;font:500 14px/1.5 inherit}
.sand-auth [data-sand-tab]:focus-visible,.sand-auth .pm-btn:focus-visible,.sand-auth .pm-auth__f a:focus-visible{outline:2px solid #8d7959;outline-offset:5px}
.sand-auth.sand-page-turn:after{content:'';position:fixed;inset:0;z-index:10;background:#f5f4f0;transform-origin:left center;animation:sand-turn .8s cubic-bezier(.23,.7,.2,1) both;pointer-events:none;box-shadow:12px 0 70px rgba(77,62,36,.13)}
@keyframes sand-turn{from{transform:perspective(1400px) rotateY(-85deg);opacity:.25}to{transform:perspective(1400px) rotateY(0);opacity:1}}
@media(max-width:600px){.sand-auth .pm-auth-nav{padding-top:19px}.sand-auth .pm-auth-nav__note{display:none}.sand-auth .pm-auth-layout{min-height:calc(100svh - 130px);padding-top:16px;padding-bottom:24px}.sand-auth .pm-auth-panel{padding:24px 23px;max-width:420px}.sand-auth .pm-footer{padding-bottom:18px}}
@media(max-height:620px){.sand-auth .pm-auth-layout{align-items:flex-start;min-height:0;padding-top:16px}.sand-auth .pm-auth-panel{padding-top:22px;padding-bottom:22px}.sand-auth .pm-auth-panel__top{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.sand-auth *{transition:none!important}.sand-auth #world{opacity:1}.sand-auth.sand-page-turn:after{animation:none}}
