/* SafeAsset sign-in pages (layouts/auth): the approved mockup (mockup/auth v2). One centred glass
   card over one wide backdrop drawn for these pages (images/safeasset/vault-hall.webp, blurred in the
   file), the vault emblem on the card, fields one per row. Purple + gold, Cinzel + Manrope, the
   landing's tokens. Every page before the member area: signing in and up, recovery, the codes,
   two-factor, a suspended account and the profile a social sign-in owes. member.js brings the form
   behaviours; sa-auth.js turns the emblem. Breakpoint: 600 (phone). */

:root {
  --night: #0b0716; --plum: #1c0d38; --violet: #6d28d9; --lilac: #cdbdfc;
  --a1: #fdf0c9; --a2: #e8b85f; --a3: #c88d38; --a4: #9a6420; --a-rgb: 232, 184, 95;
  --gold: var(--a2); --gold-l: var(--a1); --champ: #f3e3c3; --on-gold: #2a1600;
  --g-gold: linear-gradient(135deg, var(--a1) 0%, var(--a2) 40%, var(--a3) 75%, var(--a4) 100%);
  --foil: linear-gradient(155deg, rgba(var(--a-rgb), .95), rgba(var(--a-rgb), .12) 38%, rgba(139, 92, 246, .45) 68%, rgba(var(--a-rgb), .7));
  --ok: #34d399; --bad: #f87171; --bad-soft: rgba(248, 113, 113, .12);
  --fd: Cinzel, Georgia, serif; --fb: Manrope, system-ui, sans-serif;
  /* a select's arrow */
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cdbdfc' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  /* what css/toast.css reads */
  --brand: var(--a2); --brand-wash: rgba(232, 184, 95, .14); --down: var(--bad); --t3: #a99cc9; --surface: #1c0d38;
  --hairline: rgba(232, 184, 95, .3); --ink: #f4effc; --sans: var(--fb); --sh-2: 0 24px 50px -20px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ── base ── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; overflow-x: clip; background: var(--night); color: #fff; font: 500 16px/1.6 var(--fb); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, p { margin: 0; }
h1 { text-wrap: balance; overflow-wrap: anywhere; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-weight: 800; font-variant-numeric: tabular-nums; }
.wrap { width: min(1320px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 10px; background: var(--gold); color: var(--on-gold); font-weight: 800; }
.skip:focus { top: 12px; }
.sr-only, .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
.gold-t, .g, .au-title em { background: linear-gradient(100deg, var(--a3) 0%, var(--a2) 22%, var(--a1) 45%, var(--a2) 68%, var(--a3) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal; animation: goldflow 6s linear infinite; }
.live-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--ok); animation: ping 2s infinite; }
@keyframes goldflow { to { background-position: -200% center; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); } 80%, 100% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } }
@keyframes up { from { opacity: 0; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
@keyframes breathe { to { scale: 1.05; } }
@keyframes spinT { to { transform: rotate(360deg); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes spin { to { rotate: 1turn; } }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
@keyframes shine { 0%, 62% { translate: -160% 0; } 100% { translate: 260% 0; } }

/* ── the backdrop: one wide scene, blurred in the file ── */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--night); }
.bg img { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; animation: breathe 24s ease-in-out infinite alternate; }
.bg .veil { position: absolute; inset: 0; background: radial-gradient(36% 62% at 50% 52%, rgba(11, 7, 22, .62), rgba(11, 7, 22, .18) 75%), linear-gradient(180deg, rgba(11, 7, 22, .35), transparent 30%, transparent 70%, rgba(11, 7, 22, .45)); }

/* ── buttons ── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; overflow: hidden; border: 1px solid transparent; border-radius: 14px;
  font: 800 14px/1.2 var(--fb); letter-spacing: .06em; text-align: center; cursor: pointer; transition: transform .2s, box-shadow .2s, border-color .2s, color .2s, background-position .4s, filter .2s; }
.btn .ic { width: 18px; height: 18px; transition: translate .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover .ic { translate: 3px 0; }
.btn-hot { background: var(--g-gold); background-size: 160% 160%; color: var(--on-gold); text-transform: uppercase; letter-spacing: .12em; box-shadow: 0 16px 32px -16px rgba(var(--a-rgb), .95), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-hot:hover { background-position: 100% 100%; }
.btn-hot::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 55%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent); translate: -160% 0; animation: shine 5s ease-in-out infinite; pointer-events: none; }
.btn-ghost { border-color: rgba(var(--a-rgb), .45); background: rgba(11, 7, 22, .4); color: var(--gold-l); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(var(--a-rgb), .1); }
.btn-sm { min-height: 44px; padding: 0 18px; border-radius: 12px; font-size: 13.5px; }
.btn-lg { min-height: 56px; }
.btn-block { width: 100%; }
.btn[disabled] { filter: saturate(.5) brightness(.85); cursor: progress; transform: none; }

/* ── header ── */
.au-hd { position: absolute; top: 0; left: 0; right: 0; z-index: 5; }
.au-hd .wrap { display: flex; align-items: center; gap: 12px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-right: auto; font: 700 26px/1 var(--fd); letter-spacing: .04em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: inherit; }
.back, .lang { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid rgba(var(--a-rgb), .4); border-radius: 22px; background: rgba(20, 10, 40, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--gold-l); font: 700 13px/1 var(--fb); letter-spacing: .04em; cursor: pointer; transition: border-color .2s, background-color .2s; }
.back:hover, .lang:hover { border-color: var(--gold); background: rgba(var(--a-rgb), .1); }
.back .ic, .lang .ic { width: 17px; height: 17px; }
.pop { margin: 0; padding: 0; border: 1px solid rgba(var(--a-rgb), .3); background: #160b2c; color: #fff; }
.lang-pop { inset: 76px 24px auto auto; min-width: 200px; padding: 8px; border-radius: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, .6); }
.lang-pop a { display: flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; }
.lang-pop a:hover, .lang-pop a[aria-current] { background: rgba(var(--a-rgb), .1); color: var(--gold-l); }

/* ── the middle: the card, and what sits under it ── */
.stage { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; width: min(1320px, 100% - 36px); margin: 0 auto; padding: 96px 0 18px; }
.card { position: relative; width: min(470px, 100%); padding: 62px 36px 28px; border-radius: 28px; border: 1.5px solid transparent;
  background: linear-gradient(180deg, rgba(40, 18, 86, .72), rgba(17, 8, 38, .82)) padding-box, var(--foil) border-box;
  -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .08); animation: up .9s cubic-bezier(.2, .7, .2, 1) both; }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(70% 26% at 50% 0%, rgba(196, 160, 255, .22), transparent 70%); }
.au-card { position: relative; display: block; }

/* the vault on the card's top edge */
.emblem { position: absolute; left: 50%; top: -52px; translate: -50% 0; width: 104px; height: 104px; padding: 2px; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #2a1260, #0d0720);
  box-shadow: 0 0 0 6px rgba(11, 7, 22, .55), 0 18px 36px -12px rgba(0, 0, 0, .9), 0 0 46px -6px rgba(var(--a-rgb), .5); }
.emblem svg { width: 100%; height: 100%; overflow: visible; }
.v-wheel { transform-origin: 210px 210px; transition: transform 1.4s cubic-bezier(.3, 1.4, .4, 1); }
.v-ticks { transform-origin: 210px 210px; animation: spinT 40s linear infinite reverse; }
.v-light { transform-origin: 210px 210px; animation: spinT 9s linear infinite; }
.v-ring { transition: stroke-dashoffset .8s cubic-bezier(.2, .7, .2, 1); }
.card.unlock .v-wheel { transform: rotate(120deg); }
.card.ready .v-wheel { transform: rotate(240deg); }

/* a page's head: the kicker (signing in and up), the title with its lit word, a line */
.c-hd, .au-title, .au-lede { position: relative; text-align: center; }
.au-icon { display: none; }
.au-kick { display: inline-flex; align-items: center; gap: 9px; padding: 6px 13px 6px 10px; border-radius: 99px; border: 1px solid rgba(var(--a-rgb), .4); background: rgba(11, 7, 22, .4);
  color: var(--gold-l); font: 800 10.5px/1 var(--fb); letter-spacing: .18em; text-transform: uppercase; }
.au-title { display: block; font: 600 29px/1.2 var(--fd); letter-spacing: .02em; }
.c-hd .au-title { margin-top: 12px; }
.au-lede { max-width: 360px; margin: 8px auto 22px; color: rgba(255, 255, 255, .72); font-size: 14.5px; line-height: 1.6; }
.c-hd .au-lede { margin-bottom: 0; }
.au-lede b { color: var(--gold-l); font-weight: 700; }

/* the switch between signing in and signing up */
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 20px 0 2px; padding: 5px; border-radius: 15px; background: rgba(11, 7, 22, .45); border: 1px solid rgba(var(--a-rgb), .22); }
.seg a { position: relative; z-index: 1; display: grid; place-items: center; min-height: 42px; border-radius: 11px; color: var(--lilac); font: 700 14px var(--fb); transition: color .25s; }
.seg a:not([aria-current]):hover { color: var(--gold-l); }
.seg a[aria-current] { color: var(--on-gold); }
.seg::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 11px; background: var(--g-gold); box-shadow: 0 10px 22px -12px rgba(var(--a-rgb), .95); }
.seg.on2::before { translate: 100% 0; }

/* ── fields: one per row ── */
.pair, .au-pair { display: block; }
.field { margin-top: 16px; min-width: 0; }
.au-form > .field:first-child { margin-top: 0; }
.label { color: var(--champ); font: 800 11.5px/1.3 var(--fb); letter-spacing: .13em; text-transform: uppercase; }
.field > .label { display: block; margin-bottom: 8px; }
.fld-hd, .fld-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.fld-hd .label, .fld-head .label { margin: 0; }
.fld-head .hint { margin: 0; text-align: right; }
.optional { color: var(--lilac); font: 800 11px/1 var(--fb); letter-spacing: .08em; text-transform: uppercase; }
.au-link { display: inline-flex; align-items: center; min-height: 40px; margin: -10px 0; color: var(--gold-l); font-size: 13px; font-weight: 700; }
.au-link:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.ctl { position: relative; display: flex; align-items: center; height: 54px; border: 1px solid rgba(var(--a-rgb), .24); border-radius: 14px; background: rgba(11, 7, 22, .42); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.ctl:hover { border-color: rgba(var(--a-rgb), .5); }
.ctl:focus-within { border-color: var(--gold); background: rgba(11, 7, 22, .6); box-shadow: 0 0 0 4px rgba(var(--a-rgb), .15); }
.ctl > .ic { margin: 0 12px 0 16px; width: 19px; height: 19px; color: var(--gold); pointer-events: none; }
.ctl input { flex: 1; width: 100%; min-width: 0; height: 100%; padding: 0 14px 0 0; border: 0; outline: 0; background: none; color: #fff; font: 600 15.5px var(--fb); }
.ctl input::placeholder { color: rgba(205, 189, 252, .45); font-weight: 500; }
.ctl > .ok-mark { display: none; margin: 0 12px 0 0; width: 18px; height: 18px; color: var(--ok); stroke-width: 2.6; }
.eye { flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: 5px; border: 0; border-radius: 10px; background: none; color: var(--lilac); cursor: pointer; transition: color .2s, background-color .2s; }
.eye:hover { color: var(--gold-l); background: rgba(255, 255, 255, .06); }
.eye .ic { width: 19px; height: 19px; }
.field[data-state="ok"] .ctl { border-color: rgba(52, 211, 153, .55); }
.field[data-state="ok"] .ctl > .ok-mark { display: block; }
.field[data-state="bad"] .ctl { border-color: var(--bad); box-shadow: 0 0 0 4px var(--bad-soft); }
.hint { margin: 6px 2px 0; color: var(--lilac); font-size: 12.5px; line-height: 1.5; }
.hint:empty { display: none; }
.field[data-state="ok"] .hint, .hint[data-state="ok"] { color: var(--ok); }
.field[data-state="bad"] .hint, .hint[data-state="bad"] { color: #fca5a5; }
.caps { display: flex; align-items: center; gap: 7px; margin: 8px 2px 0; color: #fcd34d; font-size: 12.5px; font-weight: 700; }
.caps .ic { width: 15px; height: 15px; }
.caps[hidden] { display: none; }
.meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.meter i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); transition: background-color .3s; }
.meter[data-score="1"] i:nth-child(-n+1) { background: var(--bad); }
.meter[data-score="2"] i:nth-child(-n+2) { background: #fbbf24; }
.meter[data-score="3"] i:nth-child(-n+3) { background: var(--a2); }
.meter[data-score="4"] i { background: var(--ok); }
.field.shake .ctl { animation: shake .4s; }

/* a field without an icon: the profile page and its select */
.field > .input, .cap-row > .input { display: block; width: 100%; height: 54px; padding: 0 16px; border: 1px solid rgba(var(--a-rgb), .24); border-radius: 14px; outline: 0; background: rgba(11, 7, 22, .42); color: #fff; font: 600 15.5px var(--fb); transition: border-color .2s, box-shadow .2s; }
.field > .input:focus, .cap-row > .input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(var(--a-rgb), .15); }
.field > .input[aria-invalid="true"] { border-color: var(--bad); }
.field > select.input { padding-right: 44px; background: var(--chev) right 16px center / 16px no-repeat, rgba(11, 7, 22, .42); -webkit-appearance: none; appearance: none; cursor: pointer; }
select.input option { background: #1c0d38; color: #fff; }
.cap-row { display: flex; align-items: stretch; gap: 10px; }
.cap-row > .input { flex: 1; min-width: 0; }
.dial { display: grid; place-items: center; flex: none; min-width: 74px; padding: 0 12px; border: 1px solid rgba(var(--a-rgb), .24); border-radius: 14px; background: rgba(255, 255, 255, .04); color: var(--lilac); font-weight: 800; }

/* "keep me signed in" and the terms */
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.switch { position: relative; display: inline-flex; align-items: center; gap: 11px; min-height: 44px; color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 600; cursor: pointer; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch i { position: relative; width: 42px; height: 24px; flex: none; border: 1px solid rgba(var(--a-rgb), .3); border-radius: 12px; background: rgba(255, 255, 255, .12); transition: background-color .25s; }
.switch i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: translate .25s, background-color .25s; }
.switch input:checked + i { border-color: transparent; background: var(--g-gold); }
.switch input:checked + i::after { translate: 18px 0; background: var(--on-gold); }
.switch input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 3px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; color: rgba(255, 255, 255, .8); font-size: 14px; line-height: 1.55; cursor: pointer; }
.check input { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: 0; opacity: 0; cursor: pointer; }
.check > i { display: grid; place-items: center; flex: none; width: 22px; height: 22px; margin-top: 1px; border: 1.5px solid rgba(var(--a-rgb), .55); border-radius: 7px; transition: background-color .2s; }
.check > i .ic { width: 14px; height: 14px; opacity: 0; color: var(--on-gold); stroke-width: 3; }
.check input:checked + i { border-color: transparent; background: var(--g-gold); }
.check input:checked + i .ic { opacity: 1; }
.check input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 3px; }
.check a { color: var(--gold-l); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* the captcha: its picture and a "new code" button, the field beside it (under it when narrow) */
.g-recaptcha-slot { margin-top: 16px; }
.capt { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 12px; }
.capt-pic { display: flex; align-items: center; height: 54px; padding-left: 6px; overflow: hidden; border: 1px dashed rgba(var(--a-rgb), .45); border-radius: 14px; background: rgba(var(--a-rgb), .06); }
.capt-pic .cap-img { flex: none; margin: 0 auto; }
.capt-new { display: grid; place-items: center; flex: none; width: 46px; height: 100%; margin-left: 4px; border: 0; border-left: 1px solid rgba(255, 255, 255, .08); background: none; color: var(--lilac); cursor: pointer; transition: color .2s, background-color .2s; }
.capt-new:hover { color: var(--gold-l); background: rgba(255, 255, 255, .05); }
.capt-new .ic { width: 18px; height: 18px; }
.capt-new.is-busy .ic { animation: spin .7s linear infinite; }
.capt-ctl input { font-variant-numeric: tabular-nums; letter-spacing: .3em; }
.capt-ctl input:placeholder-shown { letter-spacing: normal; }

/* six boxes for a code; one real input underneath (member.js draws them) */
.code6 i { display: none; }
.code6[data-ready] { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; }
.code6[data-ready] i { display: grid; place-items: center; height: 62px; border: 1px solid rgba(var(--a-rgb), .24); border-radius: 14px; background: rgba(11, 7, 22, .42); color: #fff; font: 800 25px/1 var(--fb); font-style: normal; font-variant-numeric: tabular-nums; transition: border-color .2s, box-shadow .2s; }
.code6[data-ready] i.is-on { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(var(--a-rgb), .15); }
.code6[data-ready] i.is-on:empty::after { content: ""; width: 2px; height: 26px; background: var(--gold); animation: blink 1s steps(1) infinite; }
.code6[data-ready]:has(input[aria-invalid="true"]) i { border-color: var(--bad); }
.code6[data-ready] input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; font-size: 16px; cursor: text; }
.code6:not([data-ready]) .input { display: block; width: 100%; height: 58px; padding: 0 16px; border: 1px solid rgba(var(--a-rgb), .24); border-radius: 14px; background: rgba(11, 7, 22, .42); color: #fff; font: 800 24px var(--fb); letter-spacing: .3em; }

/* the button under a form, small print, the way to the other form, a closed account's reason */
.au-card .btn-block { margin-top: 18px; }
.safe-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--lilac); font-size: 12.5px; text-align: center; }
.safe-note .ic { width: 15px; height: 15px; color: var(--ok); }
.au-note { margin: 16px 0 0; color: rgba(255, 255, 255, .72); font-size: 14px; line-height: 1.55; text-align: center; }
.au-note a, .au-switch a { color: var(--gold-l); font-weight: 800; }
.au-note a:hover, .au-switch a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.au-note b { color: #fff; }
.au-switch { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .72); font-size: 14px; text-align: center; }
.au-switch a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-left: 4px; }
.au-switch a .ic { width: 15px; height: 15px; transition: translate .2s; }
.au-switch a:hover .ic { translate: 3px 0; }
.alert { display: flex; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border: 1px solid rgba(248, 113, 113, .55); border-radius: 14px; background: var(--bad-soft); color: rgba(255, 255, 255, .8); font-size: 14.5px; text-align: left; }
.alert > .ic { margin-top: 2px; color: var(--bad); }
.alert b { display: block; margin-bottom: 2px; color: #fff; font-weight: 800; }

/* social sign-in, when the admin turns a provider on */
.or { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: var(--lilac); font: 800 10.5px/1 var(--fb); letter-spacing: .14em; text-transform: uppercase; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--a-rgb), .35), transparent); }
.social { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.social .btn { text-transform: none; letter-spacing: 0; }
.social svg { width: 20px; height: 20px; }

/* under the card: three chips */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 620px; margin-top: 18px; animation: up .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.trust li { display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 99px; border: 1px solid rgba(var(--a-rgb), .25); background: rgba(20, 10, 40, .62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: rgba(255, 255, 255, .88); font-size: 12.5px; font-weight: 700; }
.trust li > i { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--g-gold); color: var(--on-gold); font: 800 12px var(--fb); font-style: normal; }
.trust li > i .ic { width: 14px; height: 14px; }

/* ── the foot ── */
.au-ft .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 18px; padding: 4px 0 12px; color: rgba(255, 255, 255, .55); font-size: 12.5px; text-align: center; }
.au-ft nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.au-ft nav a { display: inline-flex; align-items: center; min-height: 40px; }
.au-ft nav a:hover { color: var(--gold-l); }

/* Chinese has no letters to space out: tracking only opens gaps between characters */
:lang(zh) .label, :lang(zh) .au-kick, :lang(zh) .or, :lang(zh) .btn-hot, :lang(zh) .optional { letter-spacing: .02em; }

/* ── phone ── */
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .au-hd .wrap { gap: 8px; padding: 14px 0; }
  .brand { gap: 8px; font-size: 21px; }
  .brand img { width: 28px; height: 28px; }
  .back span { display: none; }
  .back { width: 44px; justify-content: center; padding: 0; }
  .lang { padding: 0 12px; font-size: 12px; }
  .lang .ic { display: none; }
  .lang-pop { inset: 66px 16px auto auto; }
  .stage { justify-content: flex-start; width: calc(100% - 28px); padding: 116px 0 22px; }
  .card { padding: 56px 20px 24px; border-radius: 24px; }
  .emblem { top: -46px; width: 92px; height: 92px; }
  .au-title { font-size: 23px; }
  .au-lede { font-size: 14px; }
  .ctl, .field > .input, .cap-row > .input { height: 52px; }
  .code6[data-ready] { gap: 6px; }
  .code6[data-ready] i { height: 54px; font-size: 22px; }
  .btn { white-space: normal; }
  .trust { gap: 8px; }
  .trust li { padding: 6px 12px 6px 6px; font-size: 12px; }
  /* room for the floating Telegram button over the foot's last line */
  .au-ft .wrap { padding-bottom: 84px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* the name beside the crest (partials/sa_brand): Bodoni Moda capitals struck in white gold, the second word in gold */
.brand .bw{font-family:'Bodoni Moda',Georgia,serif;font-weight:700;font-size:.8em;font-variation-settings:'opsz' 11;letter-spacing:.12em;text-transform:uppercase;background:linear-gradient(180deg,#fff 0%,#efe6ff 45%,#b9a6e6 62%,#f6f0ff 100%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 0 rgba(0,0,0,.55)) drop-shadow(0 3px 6px rgba(0,0,0,.45))}
.brand .bw b{font-weight:inherit;background:linear-gradient(180deg,#fff7dc 0%,#f6d98f 18%,#d9a24a 42%,#9c6620 60%,#e2b25e 78%,#fff0c2 100%);-webkit-background-clip:text;background-clip:text;color:transparent;animation:none}
/* the crest's file keeps a margin for its shadow: drawn a little larger than the old shield to stand as tall */
.brand img{width:42px;height:42px}
@media (max-width:600px){.brand img{width:34px;height:34px}}
