/* /v22/acct-assets/arch.css: Sign in and Start only. The "Archway" layout, size B (larger arch): one painting in an arch window, form beside it
   (below it on phones). Same image in light and dark. Loaded after auth.css, so it only overrides the old painting panel.
   Motion: transform + opacity only, one easing curve; the slow painting moves are ambient (settle 2.4s, lean-in 1.6s). */
body.auth .au{display:block;align-content:start;position:relative;max-width:none;width:100%;padding:0}
.au .art{margin:6px auto 0;display:flex;flex-direction:column;align-items:center}
.au .arch{position:relative;display:block;width:198px;height:246px;border-radius:99px 99px 15px 15px;overflow:hidden;background:var(--soft);transition:transform var(--v-d4) var(--e),opacity var(--v-d4) var(--e)}
.js .au .arch{transform:scale(.94);opacity:0}
.rdy .au .arch{transform:none;opacity:1}
.au .mv{position:absolute;left:0;right:0;top:0;height:100%;transform-origin:50% 42%;transition:transform 2.4s var(--e)}
.js .au .mv{transform:scale(1.1)}
.rdy .au .mv{transform:none}
.rdy body[data-step]:not([data-step=email]) .mv{transform:scale(1.16)}
.au .mv picture,.au .mv img{display:block;width:100%;height:100%}
.au .mv img{object-fit:cover;object-position:50% 46%}
.au .veil{position:absolute;inset:0;background:var(--bg);transform-origin:50% 0;transition:transform var(--v-d4) var(--e) 140ms}
.rdy .au .veil{transform:scaleY(0)}
.au .cap{display:none;margin:12px 0 0;font-size:12.5px;line-height:1.35;color:var(--mute)}
body[data-mode=signin][data-step]:not([data-step=email]) .au .mv{transform-origin:50% 62%}
/* Start uses the second painting (The Letter) */
body[data-mode=start] .au .mv{transform-origin:62% 50%}
body[data-mode=start] .au .mv img{object-position:62% 50%}
.js body[data-mode=start] .au .mv{transform:scale(1.08)}
.rdy body[data-mode=start] .au .mv{transform:none}
body[data-mode=start][data-step]:not([data-step=email]) .au .mv{transform-origin:74% 86%}
.rdy body[data-mode=start][data-step]:not([data-step=email]) .au .mv{transform:scale(1.2)}
body[data-step]:not([data-step=email]) .au .mv{transition-duration:1.6s}
/* later Start steps (name, topics, Echo) keep the long lists: phones drop the arch like the old band did */
body[data-step=name] .au .art,body[data-step=topics] .au .art,body[data-step=echo] .au .art{display:none}
/* form column */
.au .au-f{max-width:420px;margin:0 auto;padding:20px 20px 32px;text-align:center}
.au .au-f .ben{justify-content:center;text-align:left}
.au .au-f .opts,.au .au-f .opt{text-align:left}
/* back button + step count: on phones they sit beside the arch (no extra height), so the code boxes stay above the keyboard */
body[data-step=code] .au .pg{position:absolute;left:0;right:0;top:68px;height:44px;margin:0;padding:0 8px;pointer-events:none;z-index:2}
body[data-step=code] .au .pg>*{pointer-events:auto}
body[data-step=code] .au .pg ol{display:none}
body[data-step=code] .au .pg .n{margin-left:auto;padding-right:12px}
@media (max-height:700px){
  /* 1.5× arch still fits on 375×667; trim a little form padding so Continue stays clear of the fold */
  .au .au-f{padding-bottom:24px}
}
@media (min-width:1000px){
  body.auth .au{display:grid;align-content:normal;grid-template-columns:minmax(420px,min(630px,calc(100vw - 520px))) 420px;column-gap:80px;justify-content:center;align-items:center}
  .au .art{margin:0;align-items:flex-start}
  .au .arch{width:min(630px,calc(100vw - 520px));height:min(960px,calc(100svh - 132px));border-radius:50% 50% 21px 21px}
  .au .cap{display:block}
  .au .au-f{width:420px;max-width:none;margin:0;padding:0 0 40px;text-align:left}
  .au .au-f .ben{justify-content:start}
  body[data-step=name] .au .art,body[data-step=topics] .au .art,body[data-step=echo] .au .art{display:flex}
  body[data-step=code] .au .pg{position:static;height:44px;margin:0 0 18px -12px;padding:0;pointer-events:auto}
  body[data-step=code] .au .pg ol{display:grid}
  body[data-step=code] .au .pg .n{margin-left:0;padding-right:0}
}
@media (prefers-reduced-motion:reduce){
  .au .arch,.au .mv,.js .au .mv,.rdy .au .mv,.rdy body[data-step]:not([data-step=email]) .au .mv,.rdy body[data-mode=start] .au .mv,.rdy body[data-mode=start][data-step]:not([data-step=email]) .au .mv,.js body[data-mode=start] .au .mv{transform:none!important;transition:opacity var(--v-d3)}
  .au .veil{transform:none;opacity:1;transition:opacity var(--v-d4)}
  .rdy .au .veil{transform:none;opacity:0}
}
