/* Loaded last on every sign-in page: a site can restyle these pages, but not out of shape. Colour is held by ink.js. */
html{font-size:100%!important;-webkit-text-size-adjust:100%}
.signin,.signin *,.signin *::before,.signin *::after{box-sizing:border-box!important}
body{margin:0!important;padding:0!important;display:block!important}
.signin{overflow-x:clip;width:100%!important;max-width:none!important;margin:0!important}
.signin-card{width:min(var(--signin-w,440px),100%)!important;max-width:100%!important;margin-inline:auto!important;padding:clamp(20px,5vw,32px)!important;min-width:0}
.signin-card h1{font-size:clamp(1.45rem,5vw,1.75rem)!important;line-height:1.15!important;overflow-wrap:anywhere}
.signin-lede,.signin-foot{overflow-wrap:anywhere}
.signin-card .in{min-height:48px!important;height:48px;padding-block:0!important;font-size:1rem!important;width:100%}
.signin-card .btn.lg{min-height:48px!important;height:auto!important;padding-block:0!important;font-size:1rem!important}
.signin-card .btn:not(.sm){min-height:44px}
.signin-card .seg button{padding-block:0!important}
.signin-logo{width:32px!important;height:32px!important}
.signin-brand{max-width:min(var(--signin-w,440px),100%);min-width:0}
.signin-brand a{min-width:0}
.signin-name{overflow-wrap:normal;word-break:keep-all;text-wrap:balance;min-width:0}
/* Prism's own pages, with no site in the request: the type of the home page */
html[data-neutral] :is(.signin-card h1,.signin-brand){font-weight:500;font-stretch:100%;letter-spacing:-.03em}
/* on a picture or a texture, nothing sits on the backdrop bare */
:is(html[data-texture],html:has(.signin-bg:not([hidden]))) :is(.signin-brand,.signin-foot,.signin-powered){background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:8px 12px}

/* the cinematic entrance (public/login-fx.js does the step changes, the success moment and the sounds): the mark ignites, the card rises, the rest fades in. Nothing here hides content for long: every animation ends visible. */
@media (prefers-reduced-motion: no-preference) {
  .signin-brand { animation: lx-in .7s cubic-bezier(.2,.8,.2,1) backwards; }
  .signin-logo { animation: lx-ignite 1.1s .05s cubic-bezier(.2,.8,.2,1) backwards; }
  .signin-card { animation: lx-rise .85s .1s cubic-bezier(.34,1.3,.64,1) backwards; }
  .signin-foot, .signin-powered, [data-prism-badge] { animation: lx-in .8s .4s ease-out backwards; }
  .signin-bg { animation: lx-in 1.2s ease-out backwards; }
  @keyframes lx-in { from { opacity: 0; } }
  @keyframes lx-rise { from { opacity: 0; translate: 0 26px; scale: .97; } }
  @keyframes lx-ignite { 0% { opacity: 0; scale: .6; filter: brightness(2.4); } 55% { opacity: 1; scale: 1.1; filter: brightness(1.5) drop-shadow(0 0 22px var(--accent, #fff)); } 100% { scale: 1; filter: none; } }
}
