/* ===== Full-page, ticket-themed landing pages: login, forgot password, reset password, change password ===== */
html, body { height: 100%; }
body.au-body { margin: 0; background: #0B1B3F; overflow-x: hidden; }
.au { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(380px, 1fr); }

/* ---------- left: the ticket's story ---------- */
.au-art { position: relative; overflow: hidden; color: #fff; padding: clamp(24px, 4vw, 52px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  background: radial-gradient(900px 520px at 85% 8%, rgba(60, 100, 210, .45), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(31, 79, 216, .35), transparent 62%), linear-gradient(160deg, #0E2257, #12275E 55%, #1C3A80); }
.au-art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); pointer-events: none; }
.au-art > * { position: relative; }
.au-logo { width: min(300px, 70%); height: auto; display: block; }
.au-stage { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; min-height: 300px; }
.au-copy h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
.au-copy h2 em { font-style: normal; color: #FF6B6B; }
.au-copy p { margin: 0; max-width: 560px; color: #B9C6E4; font-size: 15px; line-height: 1.6; }

/* ---------- right: the stub with the form ---------- */
.au-side { position: relative; background: #fff; display: flex; flex-direction: column; justify-content: flex-start; align-items: center; padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 64px) 28px clamp(36px, 4.4vw, 72px); }
.au-side::before { content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; border-left: 4px dotted #F5A300; }
.au-side .notch { position: absolute; left: -17px; width: 34px; height: 34px; border-radius: 50%; background: #1C3A80; }
.au-side .notch { height: 17px; } .au-side .notch.t { top: 0; border-radius: 0 0 17px 17px; } .au-side .notch.b { bottom: 0; border-radius: 17px 17px 0 0; }   /* half circles: they never stick out of the page, so it never scrolls */
.au-side .auth-form { padding: 0; width: 100%; max-width: 410px; display: block; }
.au-chip { display: inline-flex; align-items: center; gap: 7px; background: #FEF1D8; color: #8A4B00; border: 1px dashed #E3B35E; border-radius: 6px; padding: 4px 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.au-side .auth-form h1 { font-size: 28px; margin: 0 0 6px; letter-spacing: -.01em; }
.au-side .auth-form .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; line-height: 1.5; }
.au-foot { width: 100%; max-width: 410px; margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--text-muted); font-size: 12px; }
.au-foot b { color: var(--text); font-weight: 600; }
.au-steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.au-steps li { display: flex; gap: 10px; align-items: center; } .au-steps b { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; flex: none; }

/* strength meter + rules (reset / change password) */
.pw-meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin: 10px 0 5px; } .pw-meter i { height: 5px; border-radius: 3px; background: #E2E8F3; transition: background .25s; }
.pw-meter[data-s="1"] i:nth-child(-n+1) { background: #D92D20; } .pw-meter[data-s="2"] i:nth-child(-n+2) { background: #F5A300; } .pw-meter[data-s="3"] i:nth-child(-n+3) { background: #7BC043; } .pw-meter[data-s="4"] i { background: #15803D; }
.pw-meter-l { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; min-height: 16px; }
.pw-rules { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 5px; font-size: 12.5px; color: var(--text-muted); }
.pw-rules li { display: flex; gap: 8px; align-items: center; } .pw-rules li i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #C5CFDF; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; color: transparent; flex: none; transition: all .2s; }
.pw-rules li.ok { color: var(--text); } .pw-rules li.ok i { background: #15803D; border-color: #15803D; color: #fff; }

/* ---------- ticket card used by all three scenes ---------- */
.acw { position: relative; width: min(560px, 100%); filter: drop-shadow(0 22px 26px rgba(0, 0, 0, .35)); }
.acard { position: relative; width: 100%; display: grid; grid-template-columns: 1fr 92px; background: #fff; color: #14234B; border-radius: 0; font-family: inherit;
  clip-path: polygon(24px 0, calc(100% - 24px) 0, 100% 24px, 100% calc(100% - 24px), calc(100% - 24px) 100%, 24px 100%, 0 calc(100% - 24px), 0 24px);
  -webkit-mask: radial-gradient(circle 17px at 0 50%, #0000 16.5px, #000 17.5px) left / 51% 100% no-repeat, radial-gradient(circle 17px at 100% 50%, #0000 16.5px, #000 17.5px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 17px at 0 50%, #0000 16.5px, #000 17.5px) left / 51% 100% no-repeat, radial-gradient(circle 17px at 100% 50%, #0000 16.5px, #000 17.5px) right / 51% 100% no-repeat; }
.acard .amain { padding: 18px 20px 18px; min-width: 0; }
.acard .astub { border-left: 3px dotted #F5A300; display: flex; align-items: center; justify-content: center; position: relative; overflow: visible; }
.ak-row { display: flex; align-items: center; gap: 12px; }
.ak-bell { width: 40px; height: 40px; border-radius: 12px; background: #FDE8E7; color: #D01418; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: none; transform-origin: 50% 12%; }
.ak-k { font-size: 10.5px; letter-spacing: .14em; font-weight: 700; color: #6B7A93; }
.ak-no { font-size: 16px; font-weight: 700; letter-spacing: .01em; white-space: nowrap; overflow: hidden; display: block; }
.ak-pill { position: relative; margin-left: auto; width: 124px; height: 26px; flex: none; }
.ak-pill span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; opacity: 0; }
.ak-meta { margin: 12px 0 0; font-size: 12.5px; color: #566579; }
.ak-teams { display: flex; gap: 8px; margin-top: 12px; } .ak-teams b { height: 26px; padding: 0 10px; border-radius: 999px; color: #fff; font-size: 11px; display: inline-flex; align-items: center; gap: 6px; letter-spacing: .04em; transform: scale(0); }
.ak-teams b i { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.28); font-style: normal; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; }
.a-T { background: #1F4FD8; } .a-F { background: #0B7F9C; } .a-D { background: #6D45D6; }
.ak-bars { display: grid; gap: 7px; margin-top: 12px; } .ak-bars div { height: 7px; border-radius: 4px; background: #E2E8F3; overflow: hidden; } .ak-bars i { display: block; height: 100%; width: 0; border-radius: 4px; background: #1F4FD8; }
.ak-stamp { position: absolute; right: 4px; top: 50%; margin-top: -34px; width: 96px; height: 68px; border: 3px solid #15803D; color: #15803D; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; letter-spacing: .1em; font-size: 14px; opacity: 0; transform: rotate(-12deg) scale(2); background: rgba(255,255,255,.92); }
.ak-stamp i { font-size: 22px; font-style: normal; line-height: 1; }

.aflow { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; font-size: 11.5px; letter-spacing: .06em; font-weight: 700; color: rgba(255,255,255,.45); }
.aflow span { display: inline-flex; align-items: center; gap: 6px; } .aflow span::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); } .aflow em { width: 18px; height: 2px; background: rgba(255,255,255,.18); font-style: normal; }

/* ================= LOGIN scene: one ticket lives its whole life, 16 s loop ================= */
.s-login .acard { animation: L-card 16s ease infinite; }
.s-login .ak-bell { animation: L-ring 16s ease infinite; }
.s-login .ak-no { width: 0; animation: L-type 16s steps(17, end) infinite; }
.s-login .ak-meta { opacity: 0; animation: L-meta 16s ease infinite; }
.s-login .ak-teams b:nth-child(1) { animation: L-pop1 16s cubic-bezier(.3, 1.6, .5, 1) infinite; } .s-login .ak-teams b:nth-child(2) { animation: L-pop2 16s cubic-bezier(.3, 1.6, .5, 1) infinite; } .s-login .ak-teams b:nth-child(3) { animation: L-pop3 16s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.s-login .ak-bars div:nth-child(1) i { animation: L-bar1 16s ease infinite; } .s-login .ak-bars div:nth-child(2) i { animation: L-bar2 16s ease infinite; } .s-login .ak-bars div:nth-child(3) i { animation: L-bar3 16s ease infinite; }
.s-login .ak-pill .p1 { background: #FDE8E7; color: #B42318; animation: L-p1 16s ease infinite; } .s-login .ak-pill .p2 { background: #FEF1D8; color: #8A4B00; animation: L-p2 16s ease infinite; }
.s-login .ak-pill .p3 { background: #E8EEFD; color: #1A42B3; animation: L-p3 16s ease infinite; } .s-login .ak-pill .p4 { background: #E8EEFD; color: #1A42B3; animation: L-p4 16s ease infinite; }
.s-login .ak-pill .p5 { background: #E4F5EA; color: #15803D; animation: L-p5 16s ease infinite; } .s-login .ak-pill .p6 { background: #15803D; color: #fff; animation: L-p6 16s ease infinite; }
.s-login .ak-stamp { animation: L-stamp 16s ease infinite; }
.s-login .aflow span:nth-of-type(1) { animation: L-f1 16s linear infinite; } .s-login .aflow span:nth-of-type(2) { animation: L-f2 16s linear infinite; } .s-login .aflow span:nth-of-type(3) { animation: L-f3 16s linear infinite; } .s-login .aflow span:nth-of-type(4) { animation: L-f4 16s linear infinite; } .s-login .aflow span:nth-of-type(5) { animation: L-f5 16s linear infinite; }
@keyframes L-card { 0% { opacity: 0; transform: translateY(26px) scale(.96); } 4%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: translateY(-12px) scale(.98); } }
@keyframes L-ring { 0%, 2% { transform: none; } 4% { transform: rotate(-18deg); } 6% { transform: rotate(15deg); } 8% { transform: rotate(-10deg); } 10% { transform: rotate(6deg); } 12%, 100% { transform: none; } }
@keyframes L-type { 0%, 10% { width: 0; } 17%, 93% { width: 12.4em; } 98%, 100% { width: 0; } }
@keyframes L-meta { 0%, 14% { opacity: 0; } 18%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes L-pop1 { 0%, 22% { transform: scale(0); } 25%, 93% { transform: scale(1); } 98%, 100% { transform: scale(0); } }
@keyframes L-pop2 { 0%, 25% { transform: scale(0); } 28%, 93% { transform: scale(1); } 98%, 100% { transform: scale(0); } }
@keyframes L-pop3 { 0%, 28% { transform: scale(0); } 31%, 93% { transform: scale(1); } 98%, 100% { transform: scale(0); } }
@keyframes L-bar1 { 0%, 38% { width: 0; background: #1F4FD8; } 58% { width: 100%; background: #1F4FD8; } 66% { width: 100%; background: #1F4FD8; } 70%, 93% { width: 100%; background: #15803D; } 98%, 100% { width: 0; background: #1F4FD8; } }
@keyframes L-bar2 { 0%, 40% { width: 0; background: #0B7F9C; } 62% { width: 100%; background: #0B7F9C; } 67% { width: 100%; background: #0B7F9C; } 71%, 93% { width: 100%; background: #15803D; } 98%, 100% { width: 0; background: #0B7F9C; } }
@keyframes L-bar3 { 0%, 42% { width: 0; background: #6D45D6; } 66% { width: 100%; background: #6D45D6; } 68% { width: 100%; background: #6D45D6; } 72%, 93% { width: 100%; background: #15803D; } 98%, 100% { width: 0; background: #6D45D6; } }
@keyframes L-p1 { 0%, 2% { opacity: 0; } 4%, 9% { opacity: 1; } 11%, 100% { opacity: 0; } }
@keyframes L-p2 { 0%, 10% { opacity: 0; } 12%, 21% { opacity: 1; } 23%, 100% { opacity: 0; } }
@keyframes L-p3 { 0%, 22% { opacity: 0; } 24%, 36% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes L-p4 { 0%, 37% { opacity: 0; } 39%, 67% { opacity: 1; } 69%, 100% { opacity: 0; } }
@keyframes L-p5 { 0%, 68% { opacity: 0; } 70%, 80% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes L-p6 { 0%, 81% { opacity: 0; } 83%, 93% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes L-stamp { 0%, 81% { opacity: 0; transform: rotate(-12deg) scale(2.3); } 85% { opacity: 1; transform: rotate(-12deg) scale(.94); } 87%, 93% { opacity: 1; transform: rotate(-12deg) scale(1); } 97%, 100% { opacity: 0; transform: rotate(-12deg) scale(1); } }
@keyframes L-f1 { 0%, 2% { color: rgba(255,255,255,.45); } 3%, 93% { color: #fff; } 97%, 100% { color: rgba(255,255,255,.45); } }
@keyframes L-f2 { 0%, 10% { color: rgba(255,255,255,.45); } 11%, 93% { color: #fff; } 97%, 100% { color: rgba(255,255,255,.45); } }
@keyframes L-f3 { 0%, 22% { color: rgba(255,255,255,.45); } 23%, 93% { color: #fff; } 97%, 100% { color: rgba(255,255,255,.45); } }
@keyframes L-f4 { 0%, 37% { color: rgba(255,255,255,.45); } 38%, 93% { color: #fff; } 97%, 100% { color: rgba(255,255,255,.45); } }
@keyframes L-f5 { 0%, 81% { color: rgba(255,255,255,.45); } 82%, 93% { color: #6BE29A; } 97%, 100% { color: rgba(255,255,255,.45); } }
.s-login .aflow span:nth-of-type(1)::before { animation: L-d1 16s linear infinite; } .s-login .aflow span:nth-of-type(2)::before { animation: L-d2 16s linear infinite; } .s-login .aflow span:nth-of-type(3)::before { animation: L-d3 16s linear infinite; } .s-login .aflow span:nth-of-type(4)::before { animation: L-d4 16s linear infinite; } .s-login .aflow span:nth-of-type(5)::before { animation: L-d5 16s linear infinite; }
@keyframes L-d1 { 0%, 2% { background: rgba(255,255,255,.3); } 3%, 93% { background: #FF6B6B; } 97%, 100% { background: rgba(255,255,255,.3); } }
@keyframes L-d2 { 0%, 10% { background: rgba(255,255,255,.3); } 11%, 93% { background: #F5A300; } 97%, 100% { background: rgba(255,255,255,.3); } }
@keyframes L-d3 { 0%, 22% { background: rgba(255,255,255,.3); } 23%, 93% { background: #6C93FF; } 97%, 100% { background: rgba(255,255,255,.3); } }
@keyframes L-d4 { 0%, 37% { background: rgba(255,255,255,.3); } 38%, 93% { background: #8EA9FF; } 97%, 100% { background: rgba(255,255,255,.3); } }
@keyframes L-d5 { 0%, 81% { background: rgba(255,255,255,.3); } 82%, 93% { background: #6BE29A; } 97%, 100% { background: rgba(255,255,255,.3); } }

/* ================= padlock used by forgot / reset ================= */
.alock { position: relative; width: 62px; height: 74px; flex: none; }
.alock .sh { position: absolute; left: 12px; top: 0; width: 38px; height: 38px; border: 8px solid #12275E; border-bottom: 0; border-radius: 22px 22px 0 0; transform-origin: 100% 100%; }
.alock .bd { position: absolute; left: 0; bottom: 0; width: 62px; height: 44px; border-radius: 11px; background: #12275E; display: flex; align-items: center; justify-content: center; }
.alock .bd::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #F5A300; box-shadow: 0 8px 0 -2px #F5A300; }

/* ================= FORGOT scene: a key arrives by mail and unlocks the ticket (11 s) ================= */
.s-forgot .acard { animation: F-card 11s ease infinite; }
.s-forgot .alockwrap { display: flex; align-items: center; gap: 18px; }
.s-forgot .alock .sh { position: absolute; left: 12px; top: 0; width: 38px; height: 38px; border: 8px solid #12275E; border-bottom: 0; border-radius: 22px 22px 0 0; transform-origin: 100% 100%; }
.s-forgot .ak-pill .p1 { background: #FDE8E7; color: #B42318; animation: F-p1 11s ease infinite; } .s-forgot .ak-pill .p2 { background: #E4F5EA; color: #15803D; animation: F-p2 11s ease infinite; }
.s-forgot .amail { position: absolute; left: 20px; top: calc(50% - 26px); width: 74px; height: 52px; background: #fff; border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; color: #1F4FD8; font-size: 30px; z-index: 3; animation: F-mail 11s cubic-bezier(.5, 0, .3, 1) infinite; opacity: 0; }
.s-forgot .amail i.bi-key-fill { position: absolute; right: -10px; bottom: -12px; font-size: 24px; color: #F5A300; filter: drop-shadow(0 2px 2px rgba(0,0,0,.3)); animation: F-key 11s ease infinite; }
.s-forgot .abadge { position: absolute; right: 24px; bottom: -14px; z-index: 3; background: #F5A300; color: #3A2300; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0,0,0,.3); transform: scale(0); animation: F-badge 11s cubic-bezier(.3, 1.6, .5, 1) infinite; }
@keyframes F-card { 0% { opacity: 0; transform: translateY(24px); } 5%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes F-sh { 0%, 52% { transform: none; } 58%, 90% { transform: translateY(-14px) rotate(-18deg); } 97%, 100% { transform: none; } }
@keyframes F-p1 { 0%, 4% { opacity: 0; } 6%, 56% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes F-p2 { 0%, 57% { opacity: 0; } 60%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes F-mail { 0%, 14% { opacity: 0; transform: translate(380px, -150px) rotate(14deg) scale(.7); } 22% { opacity: 1; transform: translate(380px, -150px) rotate(14deg) scale(.7); } 44% { opacity: 1; transform: translate(0, 0) rotate(0) scale(1); } 54% { opacity: 1; transform: translate(0, 0) scale(1); } 60%, 100% { opacity: 0; transform: translate(0, 0) scale(.6); } }
@keyframes F-key { 0%, 44% { transform: none; } 54%, 58% { transform: rotate(90deg); } 60%, 100% { opacity: 0; } }
@keyframes F-badge { 0%, 66% { transform: scale(0); } 70%, 92% { transform: scale(1); } 97%, 100% { transform: scale(0); } }

/* ================= RESET scene: a new key is cut, the lock clicks shut (11 s) ================= */
.s-reset .acard { animation: R-card 11s ease infinite; }
.s-reset .alock .sh { position: absolute; left: 12px; top: 0; width: 38px; height: 38px; border: 8px solid #12275E; border-bottom: 0; border-radius: 22px 22px 0 0; transform-origin: 100% 100%; }
.s-reset .ak-pill .p1 { background: #FEF1D8; color: #8A4B00; animation: R-p1 11s ease infinite; } .s-reset .ak-pill .p2 { background: #E4F5EA; color: #15803D; animation: R-p2 11s ease infinite; }
.s-reset .arules { display: grid; gap: 7px; font-size: 12.5px; color: #566579; margin-top: 14px; }
.s-reset .arules div { display: flex; align-items: center; gap: 8px; opacity: .4; } .s-reset .arules i { width: 16px; height: 16px; border-radius: 50%; background: #15803D; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; transform: scale(0); }
.s-reset .arules div:nth-child(1) { animation: R-r1 11s ease infinite; } .s-reset .arules div:nth-child(2) { animation: R-r2 11s ease infinite; } .s-reset .arules div:nth-child(3) { animation: R-r3 11s ease infinite; }
.s-reset .arules div:nth-child(1) i { animation: R-i1 11s cubic-bezier(.3, 1.6, .5, 1) infinite; } .s-reset .arules div:nth-child(2) i { animation: R-i2 11s cubic-bezier(.3, 1.6, .5, 1) infinite; } .s-reset .arules div:nth-child(3) i { animation: R-i3 11s cubic-bezier(.3, 1.6, .5, 1) infinite; }
.s-reset .ak-bars i { animation: R-bar 11s ease infinite; }
.s-reset .aspark { position: absolute; left: 62px; top: 50%; z-index: 3; width: 8px; height: 8px; border-radius: 50%; background: #F5A300; opacity: 0; } .s-reset .aspark:nth-child(2) { background: #6BE29A; } .s-reset .aspark:nth-child(3) { background: #6C93FF; } .s-reset .aspark:nth-child(4) { background: #FF6B6B; }
.s-reset .aspark:nth-child(1) { animation: R-s1 11s ease-out infinite; } .s-reset .aspark:nth-child(2) { animation: R-s2 11s ease-out infinite; } .s-reset .aspark:nth-child(3) { animation: R-s3 11s ease-out infinite; } .s-reset .aspark:nth-child(4) { animation: R-s4 11s ease-out infinite; }
@keyframes R-card { 0% { opacity: 0; transform: translateY(24px); } 5%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes R-sh { 0%, 54% { transform: translateY(-14px) rotate(-18deg); } 60% { transform: translateY(2px) rotate(0); } 63%, 90% { transform: none; } 97%, 100% { transform: translateY(-14px) rotate(-18deg); } }
@keyframes R-p1 { 0%, 4% { opacity: 0; } 6%, 57% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes R-p2 { 0%, 59% { opacity: 0; } 62%, 92% { opacity: 1; } 97%, 100% { opacity: 0; } }
@keyframes R-r1 { 0%, 14% { opacity: .4; } 18%, 93% { opacity: 1; } 97%, 100% { opacity: .4; } } @keyframes R-r2 { 0%, 26% { opacity: .4; } 30%, 93% { opacity: 1; } 97%, 100% { opacity: .4; } } @keyframes R-r3 { 0%, 38% { opacity: .4; } 42%, 93% { opacity: 1; } 97%, 100% { opacity: .4; } }
@keyframes R-i1 { 0%, 14% { transform: scale(0); } 18%, 93% { transform: scale(1); } 97%, 100% { transform: scale(0); } } @keyframes R-i2 { 0%, 26% { transform: scale(0); } 30%, 93% { transform: scale(1); } 97%, 100% { transform: scale(0); } } @keyframes R-i3 { 0%, 38% { transform: scale(0); } 42%, 93% { transform: scale(1); } 97%, 100% { transform: scale(0); } }
@keyframes R-bar { 0%, 12% { width: 0; background: #D92D20; } 30% { width: 45%; background: #F5A300; } 46% { width: 80%; background: #7BC043; } 56%, 93% { width: 100%; background: #15803D; } 97%, 100% { width: 0; background: #D92D20; } }
@keyframes R-s1 { 0%, 60% { opacity: 0; transform: none; } 62% { opacity: 1; } 72%, 100% { opacity: 0; transform: translate(-70px, -50px); } }
@keyframes R-s2 { 0%, 60% { opacity: 0; transform: none; } 62% { opacity: 1; } 72%, 100% { opacity: 0; transform: translate(70px, -60px); } }
@keyframes R-s3 { 0%, 60% { opacity: 0; transform: none; } 62% { opacity: 1; } 72%, 100% { opacity: 0; transform: translate(-50px, 50px); } }
@keyframes R-s4 { 0%, 60% { opacity: 0; transform: none; } 62% { opacity: 1; } 72%, 100% { opacity: 0; transform: translate(60px, 55px); } }

@media (prefers-reduced-motion: reduce) { .au-art *, .au-art *::before { animation: none !important; } .acard, .ak-no, .ak-meta, .ak-teams b, .ak-bars i, .ak-pill .p5, .ak-stamp { opacity: 1 !important; width: auto !important; transform: none !important; } .ak-no { width: auto; } .ak-bars i { width: 100% !important; } .ak-teams b { transform: none !important; } .ak-stamp { transform: rotate(-12deg) !important; } }

.acard .amain.lk { padding-top: 22px; padding-bottom: 20px; padding-left: 28px; }
.acard .amain { padding-left: 28px; }

.au-foot { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
.au-foot .au-sign { width: 100%; height: auto; display: block; }

/* ===== Responsive: every auth page fits the screen at 100% zoom, no scrolling ===== */
body.au-body { height: 100vh; height: 100dvh; overflow-x: hidden; overflow-y: auto; }
.au { height: 100vh; height: 100dvh; min-height: 0; }
.au-art { min-height: 0; }
.au-side { min-height: 0; overflow: visible; padding-top: clamp(14px, 3.5vh, 48px); padding-bottom: clamp(12px, 2.5vh, 28px); }
.au-stage { min-height: 0; }
.au-copy h2 { font-size: clamp(22px, min(2.6vw, 4.4vh), 36px); }

/* short desktop / laptop screens: shrink the content, not the page */
@media (max-height: 760px) { .au-stage { zoom: .9; } .au-side .auth-form, .au-foot { zoom: .93; } .au-copy p { font-size: 14px; } }
@media (max-height: 680px) { .au-stage { zoom: .8; gap: 16px; } .au-side .auth-form, .au-foot { zoom: .86; } .au-logo { width: 230px; } .au-art { gap: 10px; } }
@media (max-height: 600px) { .au-stage { zoom: .68; } .au-side .auth-form, .au-foot { zoom: .78; } .au-copy p { display: none; } .au-logo { width: 190px; } }
@media (max-height: 520px) { .au-stage, .au-copy { display: none; } .au-side .auth-form, .au-foot { zoom: .7; } }

/* tablets and phones: a slim ticket header on top, the form under a dotted tear line */
@media (max-width: 900px) {
  .au { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .au-art { padding: 14px 22px 22px; gap: 0; flex-direction: row; align-items: center; justify-content: flex-start; }
  .au-art .au-logo { width: 190px; }
  .au-stage, .au-copy { display: none; }
  .au-side { justify-content: flex-start; padding: clamp(18px, 4vh, 40px) 22px 12px; }
  .au-side::before { left: 34px; right: 34px; top: 0; bottom: auto; border-left: 0; border-top: 4px dotted #F5A300; }
  .au-side .notch { display: block; height: 34px; top: -17px; bottom: auto; border-radius: 50%; }
  .au-side .notch.t { left: -17px; } .au-side .notch.b { left: auto; right: -17px; top: -17px; bottom: auto; }
  .au-side .auth-form { max-width: 440px; }
  .au-foot { max-width: 440px; margin-top: 16px; }
}
/* tall tablets: more room, so the animated ticket comes back */
@media (max-width: 900px) and (min-height: 900px) { .au-art { flex-direction: column; align-items: center; padding: 28px 22px 34px; gap: 18px; } .au-art .au-logo { width: 240px; } .au-stage { display: flex; zoom: .8; flex: none; } }
/* phones in landscape: logo strip on the left, form on the right */
@media (max-height: 520px) and (orientation: landscape) {
  .au { grid-template-columns: 190px minmax(0, 1fr); grid-template-rows: 1fr; }
  .au-art { padding: 16px; justify-content: center; align-items: flex-start; }
  .au-art .au-logo { width: 150px; }
  .au-side { padding: 8px 24px; }
  .au-side::before { left: 0; right: auto; top: 20px; bottom: 20px; border-top: 0; border-left: 4px dotted #F5A300; }
  .au-side .notch { height: 17px; } .au-side .notch.t { left: -17px; top: 0; border-radius: 0 0 17px 17px; } .au-side .notch.b { left: -17px; right: auto; top: auto; bottom: 0; border-radius: 17px 17px 0 0; }
}

/* centre the form without ever clipping it: auto margins push extra space around it, and overflow scrolls instead of being cut */
.au-side .auth-form { margin-top: auto; } .au-foot { margin-bottom: auto; }
@media (max-height: 440px) { .au-side .auth-form, .au-foot { zoom: .62; } .au-side .auth-form .sub, .au-chip, .pw-rules { display: none; } .au-foot { margin-top: 8px; } .au-foot .au-sign { width: 55%; } }
/* small portrait phones: the tall forms (change password has three fields) shrink a little more */
@media (max-width: 900px) and (max-height: 700px) and (orientation: portrait) { .au-side .auth-form, .au-foot { zoom: .8; } .au-art { padding-bottom: 18px; } }
@media (max-width: 900px) and (max-height: 620px) and (orientation: portrait) { .au-side .auth-form, .au-foot { zoom: .72; } .au-art { padding-top: 10px; padding-bottom: 14px; } .au-art .au-logo { width: 160px; } }
@media (max-width: 900px) and (max-height: 700px) and (orientation: portrait) { .au-foot .au-sign { width: 72%; } }
@media (max-width: 900px) and (max-height: 620px) and (orientation: portrait) { .au-foot .au-sign { width: 58%; } .au-foot { margin-top: 8px; } }
@media (max-width: 900px) and (min-height: 900px) and (max-height: 1100px) { .au-stage { zoom: .66; } .au-art { padding: 20px 22px 24px; gap: 8px; } }
