/* Orange ribbons and soft light move independently behind the account card. */
body:is([data-page="signin"],[data-page="auth-action"]),body[data-admin-login="true"]:has(#admin-login:not([hidden])){position:relative;isolation:isolate;overflow-x:clip;--atmosphere-base:#ff953e;--atmosphere-gold:#ffd18a;--atmosphere-deep:#f46a14;background:var(--atmosphere-base)}
html[data-theme="dark"] body:is([data-page="signin"],[data-page="auth-action"]),html[data-theme="dark"] body[data-admin-login="true"]:has(#admin-login:not([hidden])){--atmosphere-base:#e67525;--atmosphere-gold:#ffb96b;--atmosphere-deep:#aa4219}
body:is([data-page="signin"],[data-page="auth-action"])::before,body[data-admin-login="true"]:has(#admin-login:not([hidden]))::before{content:"";position:fixed;inset:-30%;z-index:-2;pointer-events:none;background:conic-gradient(from 50deg at 40% 45%,var(--atmosphere-base) 0deg,var(--atmosphere-gold) 65deg,var(--atmosphere-deep) 140deg,var(--atmosphere-base) 200deg,var(--atmosphere-gold) 270deg,var(--atmosphere-base) 360deg);filter:blur(42px);transform-origin:50% 50%;animation:beammdt-orange-light 16s ease-in-out infinite alternate;will-change:transform}
body:is([data-page="signin"],[data-page="auth-action"])::after,body[data-admin-login="true"]:has(#admin-login:not([hidden]))::after{content:"";position:fixed;inset:-20%;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 15% 15%,#fff0c98c 0%,transparent 40%),radial-gradient(ellipse at 90% 85%,#ffdc9878 0%,transparent 48%),radial-gradient(ellipse at 80% 15%,#ff6f2740 0%,transparent 40%);filter:blur(24px);animation:beammdt-orange-bloom 13s ease-in-out infinite alternate;will-change:transform}
@keyframes beammdt-orange-light{from{transform:translate3d(-6%,-4%,0) rotate(-16deg) scale(1.05)}to{transform:translate3d(6%,4%,0) rotate(20deg) scale(1.18)}}
@keyframes beammdt-orange-bloom{from{transform:translate3d(5%,-3%,0) scale(1.04)}to{transform:translate3d(-6%,5%,0) scale(1.16)}}
body[data-page="signin"] .signin-page{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(min-content,1fr) auto;justify-items:center;align-items:center;align-content:stretch;min-height:100dvh;gap:28px;padding:28px 24px 20px}
body[data-page="signin"] .signin-page>.signin-content{align-self:center;margin:0}
body[data-page="signin"] .signin-page>.signin-foot{align-self:end;margin:0;min-width:0;max-width:520px;width:100%;padding:0;text-align:center}
body[data-page="auth-action"] .auth-action{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(min-content,1fr) auto;justify-items:center;align-items:center;align-content:stretch;min-height:100dvh;gap:28px;padding:28px 24px 20px}
body[data-page="auth-action"] .auth-action>.auth-action-card{align-self:center}
body[data-page="auth-action"] .auth-action>.auth-action-foot{align-self:end;margin:0;min-width:0;max-width:520px;width:100%;padding:0;text-align:center}
.signin-content,.auth-action-card,body[data-admin-login="true"] #admin-login{animation:beammdt-account-enter 480ms cubic-bezier(.22,1,.36,1) both}
@keyframes beammdt-account-enter{from{opacity:0;clip-path:inset(5% 0 0 0 round 18px)}to{opacity:1;clip-path:inset(0 round 18px)}}
.signin-verification-art{animation:beammdt-envelope-enter 650ms cubic-bezier(.22,1,.36,1) both;transform-origin:center}
@keyframes beammdt-envelope-enter{from{opacity:0;transform:translateY(12px) scale(.9)}to{opacity:1;transform:translateY(0) scale(1)}}
.signin-content :is(.button,.signin-switch button),.auth-action-card .button{transition:background-color 180ms,border-color 180ms,box-shadow 180ms}
.signin-content .button.dark:hover,.auth-action-card .button.dark:hover{box-shadow:0 3px 14px #b8430029}
@media(max-width:600px){body[data-page="signin"] .signin-page{padding:28px 20px 20px;gap:24px}}
@media(max-width:360px){body[data-page="signin"] .signin-page{padding-inline:14px}}
@media(max-width:600px){body[data-page="auth-action"] .auth-action{padding:28px 20px 20px;gap:24px}}
@media(max-width:360px){body[data-page="auth-action"] .auth-action{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){body:is([data-page="signin"],[data-page="auth-action"])::before,body:is([data-page="signin"],[data-page="auth-action"])::after,body[data-admin-login="true"]:has(#admin-login:not([hidden]))::before,body[data-admin-login="true"]:has(#admin-login:not([hidden]))::after{animation:none;transform:none;will-change:auto}.signin-content,.auth-action-card,body[data-admin-login="true"] #admin-login,.signin-verification-art{animation:none}.signin-content *,.auth-action-card *{transition:none}}
@media(forced-colors:active){body:is([data-page="signin"],[data-page="auth-action"])::before,body:is([data-page="signin"],[data-page="auth-action"])::after,body[data-admin-login="true"]:has(#admin-login:not([hidden]))::before,body[data-admin-login="true"]:has(#admin-login:not([hidden]))::after{display:none}}
