/* Upgrade 3 · sign-in / sign-up / recovery pages (.au-*).
   Desktop: split screen, 3D art panel + form column (DOM [art, form] so RTL mirrors it).
   Phone (<=900px): the art is a header; the form rises over it in a glass sheet.
   Dark by default; html[data-theme=light] turns it ivory + champagne gold. */

@property --au-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* full-bleed: the auth pages draw their own background */
body.auth-mode .layout { display: block; max-width: none; padding: 0; }
body.auth-mode .bg-glow { opacity: 0; }
body.auth-mode .screen { animation: none; }

.au-page {
  --au-bg: #04070A;
  --au-gold: #E3C07E;
  --au-gold-hi: #F6DFA6;
  --au-mint: #5BE3B0;
  --au-in-bg: rgba(255, 255, 255, .04);
  --au-in-bg-f: rgba(255, 255, 255, .065);
  --au-in-line: rgba(255, 255, 255, .1);
  --au-in-line-h: rgba(255, 255, 255, .2);
  --au-card-bg: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .018));
  --au-card-line: rgba(255, 255, 255, .1);
  --au-sheet: rgba(7, 10, 14, .8);
  --au-err: #F7A3A6;
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); gap: clamp(20px, 3.2vw, 56px);
  padding: 20px;
  color: var(--ink);
  background:
    radial-gradient(45% 50% at 78% 18%, rgba(16, 188, 131, .10), transparent 70%),
    radial-gradient(40% 45% at 70% 92%, rgba(227, 192, 126, .07), transparent 70%),
    var(--au-bg);
}
.au-page::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .022) 0 1px, transparent 1px 84px);
  mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 80%); }
.au-page a { color: inherit; }
.au-svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .au-flip { transform: scaleX(-1); }
.au-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ------------------------------------------------------------------ art panel */
.au-art { position: sticky; top: 20px; align-self: start; height: calc(100vh - 40px); height: calc(100dvh - 40px); min-height: 540px;
  border-radius: 24px; overflow: hidden; isolation: isolate; background: #05080B;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 120px -40px rgba(0, 0, 0, .95); }
.au-art-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 38% at 50% 64%, rgba(227, 192, 126, .2), transparent 70%),
    radial-gradient(55% 40% at 85% 6%, rgba(16, 188, 131, .26), transparent 70%),
    radial-gradient(50% 35% at 6% 100%, rgba(16, 188, 131, .14), transparent 70%),
    linear-gradient(180deg, #06100F 0%, #05080B 55%, #030405 100%); }
.au-streaks { position: absolute; inset: 0; opacity: .9;
  background: repeating-linear-gradient(90deg, rgba(160, 255, 220, .035) 0 1px, transparent 1px 46px), repeating-linear-gradient(90deg, rgba(255, 230, 170, .03) 0 1px, transparent 1px 113px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%); -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 80%);
  animation: auDrift 28s linear infinite; }
@keyframes auDrift { to { background-position: 46px 0, -113px 0; } }
.au-grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.au-3d { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity 1.2s ease; }
.au-3d canvas { width: 100% !important; height: 100% !important; display: block; }
.au-art.au-3d-on .au-3d { opacity: 1; }
.au-fb { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; transition: opacity 1s ease; }
.au-art.au-3d-on .au-fb { opacity: 0; }
.au-fb-ingot { width: min(80%, 470px); margin-top: -10%; overflow: visible; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); animation: auFloat 6.5s ease-in-out infinite; }
.au-fb-coin { animation: auBob 5s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.au-fb-glint { animation: auTwinkle 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.au-fb-chart { position: absolute; left: 12%; right: 12%; top: 15%; height: 20%; width: 76%; overflow: visible; }
.au-fb-line { fill: none; stroke: #5BF0B8; stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(91, 240, 184, .85)); }
.au-fb-area { fill: url(#auFbArea); }
@keyframes auFloat { 50% { transform: translateY(-10px); } }
@keyframes auBob { 50% { transform: translateY(-6px) rotate(8deg); } }
@keyframes auTwinkle { 0%, 70%, 100% { opacity: 0; transform: scale(.4); } 80% { opacity: 1; transform: scale(1); } }
.au-art-shade { position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 38%, transparent 58%, rgba(0, 0, 0, .55)), linear-gradient(180deg, rgba(3, 5, 8, .35) 0%, transparent 18%, transparent 58%, rgba(3, 5, 8, .82) 100%); }

.au-art-ui { position: absolute; inset: 0; z-index: 4; pointer-events: none; display: grid; gap: 14px 16px; padding: 24px 26px 24px;
  grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto auto;
  grid-template-areas: "pills cap" ". ." "ticker ticker" "logo tag"; }
.au-art-ui > * { pointer-events: auto; }
.au-pills { grid-area: pills; display: flex; flex-wrap: wrap; gap: 8px; align-self: start; }
.au-pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; white-space: nowrap;
  color: var(--ink-2); background: rgba(8, 12, 16, .72); border: 1px solid rgba(255, 255, 255, .14); }
.au-pill i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #8A8F96; flex: none; }
.au-pill i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; opacity: 0; }
.au-pill[data-s="live"] { color: #CFF7E8; border-color: rgba(16, 188, 131, .5); background: rgba(5, 38, 28, .6); }
.au-pill[data-s="live"] i { background: #10BC83; box-shadow: 0 0 10px #10BC83; }
.au-pill[data-s="live"] i::after, .au-pill[data-s="demo"] i::after, .au-pill[data-s="delayed"] i::after { animation: auPing 1.8s cubic-bezier(0, 0, .2, 1) infinite; }
.au-pill[data-s="delayed"] { color: #F6CF8C; border-color: rgba(240, 182, 90, .45); }
.au-pill[data-s="delayed"] i { background: #F0B65A; }
.au-pill[data-s="reconnecting"] { color: #F7A3A6; border-color: rgba(242, 103, 107, .45); }
.au-pill[data-s="reconnecting"] i { background: #F2676B; animation: blink 1s infinite; }
.au-pill.badge.demo { height: 28px; padding: 0 12px; font-size: 12px; background: rgba(46, 32, 8, .78); }
.au-pill.badge.demo::before { content: none; }
.au-pill.badge.demo i { background: #F0B65A; box-shadow: 0 0 10px rgba(240, 182, 90, .8); }
@keyframes auPing { 0% { opacity: .75; transform: scale(1); } 75%, 100% { opacity: 0; transform: scale(2.8); } }
.au-chart-cap { grid-area: cap; align-self: start; display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 11.5px;
  color: #9FF3D0; background: rgba(4, 26, 20, .7); border: 1px solid rgba(91, 240, 184, .28); }
.au-chart-cap::before { content: ""; width: 14px; height: 8px; background: linear-gradient(135deg, transparent 45%, #5BF0B8 46% 56%, transparent 57%) 0 0 / 7px 8px repeat-x; }

.au-ticker { grid-area: ticker; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; overflow: hidden;
  background: rgba(8, 12, 16, .5); border: 1px solid rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px -24px rgba(0, 0, 0, .9);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.au-tk { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 18px 13px; min-width: 0; }
.au-tk + .au-tk { border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.au-tk-l { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-3); }
.au-tk-l::before { content: ""; width: 8px; height: 8px; border-radius: 3px; background: linear-gradient(135deg, #FFE7A8, #C99A4B); box-shadow: 0 0 8px rgba(227, 192, 126, .7); }
.au-tk[data-k="ag"] .au-tk-l::before { background: linear-gradient(135deg, #FFFFFF, #9AA1AB); box-shadow: 0 0 8px rgba(220, 225, 235, .6); }
.au-tk-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.au-tk-v { font-size: clamp(22px, 2.1vw, 30px); font-weight: 400; line-height: 1.15; letter-spacing: -.02em;
  background: linear-gradient(180deg, #FFF6DD, #E3C07E 70%, #B98A3F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.au-tk[data-k="ag"] .au-tk-v { background-image: linear-gradient(180deg, #FFFFFF, #CBD0D8 70%, #8E959F); }
.au-tk-u { font-size: 11.5px; color: var(--ink-3); white-space: nowrap; }
.au-tk-c { font-size: 12px; min-height: 1.45em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-tk-vs { color: var(--ink-3); }
.au-tk.is-wait .au-tk-v { color: var(--ink-3); background: none; -webkit-text-fill-color: currentColor; animation: auPulse 1.4s ease-in-out infinite; }
.au-tk.au-flash-up::after, .au-tk.au-flash-down::after { content: ""; position: absolute; inset: 0; pointer-events: none; animation: auFlash .9s ease-out both; }
.au-tk.au-flash-up::after { background: radial-gradient(80% 90% at 50% 60%, rgba(16, 188, 131, .3), transparent 70%); }
.au-tk.au-flash-down::after { background: radial-gradient(80% 90% at 50% 60%, rgba(242, 103, 107, .3), transparent 70%); }
@keyframes auFlash { from { opacity: 1; } to { opacity: 0; } }
@keyframes auPulse { 50% { opacity: .45; } }
.au-logo { grid-area: logo; justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: #F4E6C6; border-radius: 12px;
  /* a 40 px+ tap target (#50) without moving anything: the padding grows the hit area, the margins give it back */
  padding-block: 7px; margin-block: -7px; }
.au-logo-mark { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 0 10px rgba(227, 192, 126, .5)); }
.au-art-tag { grid-area: tag; align-self: center; justify-self: end; margin: 0; font-size: 12px; color: var(--ink-3); text-align: end; }

/* ------------------------------------------------------------------ form column */
.au-main { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - 40px); min-height: calc(100dvh - 40px); padding: clamp(64px, 9vh, 104px) clamp(8px, 3vw, 44px) 12px; }
.au-col { width: min(468px, 100%); margin-block: auto; display: flex; flex-direction: column; }
.au-page[data-au="signup"] .au-col, .au-page[data-au="recover"] .au-col { width: min(500px, 100%); }
.au-legal { width: min(500px, 100%); display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin: 30px 0 0; font-size: 12px; line-height: 1.6; color: var(--ink-3); text-align: center; }
.au-legal .au-svg { width: 16px; height: 16px; flex: none; color: var(--au-gold); margin-top: 1px; }

.au-tools { position: absolute; z-index: 8; top: 23px; inset-inline-end: 28px; display: flex; gap: 8px; }
/* 40 x 40 at least: a comfortable tap target (#50) */
.au-tool { height: 40px; min-width: 40px; padding: 0 11px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(10, 13, 18, .55); color: var(--ink-2); font-size: 13px; font-family: inherit;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: color .2s, border-color .2s, background .2s; }
.au-tool .au-svg { width: 18px; height: 18px; flex: none; }
.au-tool-lang span { font-weight: 500; }
.au-tool .au-i-sun { display: none; }
html[data-theme="light"] .au-tool .au-i-sun { display: block; }
html[data-theme="light"] .au-tool .au-i-moon { display: none; }

.au-head { margin-bottom: 28px; }
.au-kicker { margin-bottom: 18px; }
.au-title { margin: 0 0 12px; padding-bottom: .06em; font-size: clamp(42px, 4.7vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; outline: none; text-wrap: balance;
  background: linear-gradient(180deg, #FFFFFF 12%, #F5E3BA 62%, #C99A4B 108%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[lang="ar"] .au-title { font-size: clamp(40px, 4.5vw, 64px); font-weight: 600; line-height: 1.24; letter-spacing: 0; }
/* the longer forms keep their main button above the fold */
.au-page[data-au="signup"] .au-title, .au-page[data-au="recover"] .au-title { font-size: clamp(38px, 3.9vw, 58px); }
html[lang="ar"] .au-page[data-au="signup"] .au-title, html[lang="ar"] .au-page[data-au="recover"] .au-title { font-size: clamp(36px, 3.7vw, 54px); }
.au-sub { margin: 0; max-width: 42ch; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

/* fields */
.au-form { display: flex; flex-direction: column; gap: 16px; }
.au-field { display: flex; flex-direction: column; gap: 8px; }
.au-label { padding-inline: 8px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.au-input { position: relative; display: flex; align-items: center; }
.au-input input { width: 100%; height: 54px; padding: 0 20px; padding-inline-start: 50px; border-radius: 27px; -webkit-appearance: none; appearance: none;
  background: var(--au-in-bg); border: 1px solid var(--au-in-line); color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .3s, background-color .2s; }
.au-input:has(.au-eye) input { padding-inline-end: 54px; }
.au-input input::placeholder { color: var(--ink-3); opacity: .65; }
.au-page ::selection { background: rgba(227, 192, 126, .38); color: inherit; }
/* an LTR field inside an RTL page: its own "inline-start" is the left, but the icon sits on the right */
html[dir="rtl"] .au-input input[dir="ltr"] { text-align: right; padding-left: 20px; padding-right: 50px; }
html[dir="rtl"] .au-input:has(.au-eye) input[dir="ltr"] { padding-left: 54px; }
.au-input input:focus { outline: none; border-color: rgba(227, 192, 126, .62); background-color: var(--au-in-bg-f);
  box-shadow: 0 0 0 4px rgba(227, 192, 126, .12), 0 0 30px -6px rgba(16, 188, 131, .55); }
.au-input input:-webkit-autofill { -webkit-text-fill-color: var(--ink); box-shadow: 0 0 0 40px #0D1216 inset; caret-color: var(--ink); }
.au-input input:-webkit-autofill:focus { box-shadow: 0 0 0 40px #0D1216 inset, 0 0 0 4px rgba(227, 192, 126, .12); }
.au-ic { position: absolute; inset-inline-start: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px; color: var(--ink-3); pointer-events: none; transition: color .2s; }
.au-input:focus-within .au-ic { color: var(--au-gold); }
.au-eye { position: absolute; inset-inline-end: 7px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); cursor: pointer; display: grid; place-items: center; }
.au-eye .au-svg { width: 20px; height: 20px; }
.au-eye[aria-pressed="false"] .au-i-eyeoff, .au-eye[aria-pressed="true"] .au-i-eye { display: none; }
html[dir] .au-code-field .au-input input[dir] { font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace; font-size: 17px; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding-left: 48px; padding-right: 48px; }
.au-code-field input::placeholder { letter-spacing: .14em; }
.au-field.has-err input { border-color: rgba(242, 103, 107, .7); }
.au-field.has-err input:focus { box-shadow: 0 0 0 4px rgba(242, 103, 107, .14); }
.au-field.has-err .au-ic { color: #F2676B; }
.au-err { margin: 0; padding-inline: 10px; font-size: 12.5px; color: var(--au-err); }
.au-err:empty { display: none; }
.au-hint { margin: 0; padding-inline: 10px; font-size: 12px; line-height: 1.55; color: var(--ink-3); }
.au-typo { display: flex; margin: 0; padding-inline: 8px; }
/* 40 px+ tap targets (#50) that take no more room: the padding grows the hit area, the equal negative margins
   keep the text where it was. The suggestion reaches up to the e-mail box (the 8 px field gap) and 10 px down. */
.au-typo button { border: 0; background: none; padding: 10px 6px 12px; margin: -8px -4px -10px; color: var(--au-mint); font: inherit; font-size: 12.5px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; border-radius: 8px; }
.au-row-end { display: flex; justify-content: flex-end; margin-top: -6px; }
/* "forgot your password?": the 10 px above it reach the password box, the 10 px below stay clear of the button */
.au-link { font-size: 13.5px; color: var(--au-mint); border-radius: 8px; display: inline-block; position: relative; padding: 10px 6px; margin: -10px -6px; }

/* the glow button: gold -> mint pill, a light blob sweeping through, glowing ends */
.au-glow { position: relative; isolation: isolate; overflow: hidden; width: 100%; height: 56px; margin-top: 6px; border: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; font: inherit; font-size: 16px; font-weight: 600; color: #17120A;
  background: linear-gradient(100deg, #F4D995 0%, #FCEFCC 30%, #F2FFF9 58%, #C6F5E2 82%, #9FEBCD 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 244, 214, .6), inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -8px 16px rgba(16, 188, 131, .2),
    0 0 20px -2px rgba(227, 192, 126, .45), 0 0 44px -6px rgba(16, 188, 131, .55), 0 18px 40px -18px rgba(16, 188, 131, .75);
  transition: transform .18s ease, box-shadow .3s ease, filter .3s ease; -webkit-tap-highlight-color: transparent; }
html[dir="rtl"] .au-glow { background: linear-gradient(260deg, #F4D995 0%, #FCEFCC 30%, #F2FFF9 58%, #C6F5E2 82%, #9FEBCD 100%); }
.au-glow-edge { position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(24% 130% at 0% 50%, rgba(214, 150, 50, .5), transparent 72%), radial-gradient(28% 130% at 100% 50%, rgba(16, 188, 131, .55), transparent 72%); }
html[dir="rtl"] .au-glow-edge { background: radial-gradient(24% 130% at 100% 50%, rgba(214, 150, 50, .5), transparent 72%), radial-gradient(28% 130% at 0% 50%, rgba(16, 188, 131, .55), transparent 72%); }
.au-glow-sweep { position: absolute; z-index: -1; top: -35%; bottom: -35%; left: -40%; width: 34%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, .35) 55%, rgba(255, 255, 255, 0)); filter: blur(3px);
  animation: auSweep 3.8s cubic-bezier(.45, .05, .3, 1) infinite; }
html[dir="rtl"] .au-glow-sweep { left: auto; right: -40%; animation-name: auSweepRtl; }
@keyframes auSweep { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(560%); } }
@keyframes auSweepRtl { 0% { transform: translateX(0); } 55%, 100% { transform: translateX(-560%); } }
.au-glow-label { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; transition: opacity .2s; }
.au-glow-label .au-svg { width: 18px; height: 18px; stroke-width: 2.1; }
.au-glow:active { transform: scale(.985); filter: brightness(.97); }
.au-glow:focus-visible { outline: 2px solid var(--au-gold); outline-offset: 4px; }
.au-glow:disabled { cursor: not-allowed; filter: saturate(.25) brightness(.62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.au-glow:disabled .au-glow-sweep { animation: none; opacity: 0; }
.au-glow.is-busy:disabled { cursor: progress; filter: none; box-shadow: inset 0 0 0 1px rgba(255, 244, 214, .6), 0 0 30px -6px rgba(16, 188, 131, .55); }
.au-glow.is-busy .au-glow-label { opacity: 0; }
.au-spin { position: absolute; inset: 0; z-index: 2; margin: auto; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(23, 18, 10, .2); border-top-color: #17120A; opacity: 0; pointer-events: none; }
.au-glow.is-busy .au-spin { opacity: 1; animation: auSpin .75s linear infinite; }
@keyframes auSpin { to { transform: rotate(360deg); } }

.au-or { display: flex; align-items: center; gap: 14px; margin: 24px 0 16px; font-size: 13px; color: var(--ink-3); }
.au-or::before, .au-or::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15)); }
.au-or::after { background: linear-gradient(90deg, rgba(255, 255, 255, .15), transparent); }
.au-ghost { width: 100%; height: 52px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .025); color: var(--ink); font: inherit; font-size: 15px; transition: border-color .2s, background .2s; }
.au-ghost .au-svg { width: 18px; height: 18px; color: var(--au-gold); }
.au-switch { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--ink-3); }
.au-switch a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(227, 192, 126, .55); text-underline-offset: 5px; border-radius: 8px;
  /* a 40 px+ tap target (#50): the padding grows the hit area, the equal negative margins keep the text where it was;
     positioned, so the padding also wins taps over the space before it (RTL) */
  display: inline-block; position: relative; padding: 11px 6px; margin: -11px -6px; }

/* alert */
.au-alert { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 15px; border-radius: 16px; font-size: 13.5px; line-height: 1.55;
  color: #F9C3C5; background: rgba(242, 103, 107, .08); border: 1px solid rgba(242, 103, 107, .36); animation: auShake .42s ease both; }
.au-alert .au-svg { width: 19px; height: 19px; flex: none; margin-top: 1px; }
.au-alert[data-kind="warn"] { color: #F6D59A; background: rgba(240, 182, 90, .08); border-color: rgba(240, 182, 90, .4); animation: none; }
.au-alert[data-kind="ok"] { color: #A9F2D5; background: rgba(16, 188, 131, .08); border-color: rgba(16, 188, 131, .4); animation: none; }
.au-alert-act { display: block; margin-top: 4px; }
.au-alert-act a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@keyframes auShake { 0% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(4px); } 75% { transform: translateX(-2px); } 100% { transform: none; } }

/* glass card + wizard */
.au-card { position: relative; border-radius: 24px; padding: 24px; background: var(--au-card-bg); border: 1px solid var(--au-card-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 30px 80px -40px rgba(0, 0, 0, .9); backdrop-filter: blur(18px) saturate(130%); -webkit-backdrop-filter: blur(18px) saturate(130%); }
.au-wiz.glow-top > .gt-line { background: radial-gradient(50% 100% at 50% 50%, #E3C07E, rgba(227, 192, 126, 0)); }
.au-wiz.glow-top > .gt-glow { box-shadow: inset 0 2px 20px 0 #E3C07E, 0 -10px 50px 1px rgba(227, 192, 126, .7); opacity: .5; }
.au-wiz-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.au-wiz-t { margin: 0; font-size: 19px; font-weight: 600; color: var(--ink); outline: none; }
.au-step-pill { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12px; white-space: nowrap; flex: none;
  color: #F8DDA4; background: rgba(60, 40, 8, .45); border: 1px solid rgba(242, 196, 109, .42); }
.au-step-pill b { font-weight: 600; }
.au-step-pill i { position: relative; width: 6px; height: 6px; border-radius: 50%; background: #F2C46D; box-shadow: 0 0 8px #F2C46D; }
.au-step-pill i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: auPing 2.2s cubic-bezier(0, 0, .2, 1) infinite; }
.au-prog { position: relative; height: 14px; margin: 0 6px 22px; }
.au-prog::before { content: ""; position: absolute; inset-inline: 0; top: 6px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.au-prog-fill { position: absolute; inset-inline-start: 0; top: 6px; height: 2px; width: calc(var(--p, 0) * 100%); border-radius: 2px;
  background: linear-gradient(90deg, #E3C07E, #5BF0B8); box-shadow: 0 0 12px rgba(91, 240, 184, .55); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
html[dir="rtl"] .au-prog-fill { background: linear-gradient(270deg, #E3C07E, #5BF0B8); }
.au-prog-fill::after { content: ""; position: absolute; inset-inline-end: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #D8FFF0; box-shadow: 0 0 14px 3px rgba(91, 240, 184, .8); }
.au-prog-dot { position: absolute; top: 3px; inset-inline-start: calc(var(--x) * 100%); width: 8px; height: 8px; margin-inline-start: -4px; border-radius: 50%;
  background: #12171C; border: 1px solid rgba(255, 255, 255, .26); transition: background .4s, border-color .4s; }
.au-prog-dot.done { background: #E3C07E; border-color: #E3C07E; }
.au-prog-dot.cur { background: #5BF0B8; border-color: #5BF0B8; }
.au-step { animation: auStepIn .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes auStepIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.au-note { display: flex; align-items: flex-start; gap: 11px; margin: 0; padding: 13px 15px; border-radius: 16px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2);
  background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .14); }
.au-note .au-svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--au-gold); }
.au-note b { color: var(--ink); font-weight: 600; }
.au-note-gold { border-style: solid; border-color: rgba(227, 192, 126, .38); background: linear-gradient(135deg, rgba(227, 192, 126, .13), rgba(227, 192, 126, .03)); }
.au-ltr { white-space: nowrap; }
.au-cmd { display: block; margin-top: 8px; padding: 7px 11px; border-radius: 10px; white-space: normal; overflow-wrap: anywhere; text-align: left; user-select: all; -webkit-user-select: all;
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace; font-size: 12.5px; line-height: 1.55; color: var(--ink);
  background: rgba(0, 0, 0, .28); border: 1px solid rgba(255, 255, 255, .08); }
.au-okline { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; color: #8DF0C9; }
.au-okline .au-svg { width: 18px; height: 18px; flex: none; }
.au-actions { display: flex; align-items: center; gap: 12px; margin-top: 6px; }
.au-actions .au-glow { flex: 1; margin-top: 0; }
.au-back { flex: none; height: 56px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: var(--ink-2); font: inherit; font-size: 14.5px; transition: border-color .2s, color .2s; }
.au-back .au-svg { width: 18px; height: 18px; }
.au-wiz .au-switch { margin-top: 18px; }
.au-skel { display: flex; flex-direction: column; gap: 12px; }
.au-skel i { height: 54px; border-radius: 27px; background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)) 0 0 / 200% 100%; animation: auSkel 1.4s linear infinite; }
.au-skel i:first-child { height: 20px; width: 40%; border-radius: 10px; }
@keyframes auSkel { to { background-position: -200% 0; } }

/* password strength */
.au-meter { margin-top: -6px; padding-inline: 8px; }
.au-meter-bars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.au-meter-bars i { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); transition: background-color .3s, box-shadow .3s; }
.au-meter[data-score="1"] i:nth-child(-n+1) { background: #F2676B; }
.au-meter[data-score="2"] i:nth-child(-n+2) { background: #F0B65A; }
.au-meter[data-score="3"] i:nth-child(-n+3) { background: #10BC83; box-shadow: 0 0 10px rgba(16, 188, 131, .5); }
.au-meter[data-score="4"] i { background: linear-gradient(90deg, #E3C07E, #FFE7A8); box-shadow: 0 0 12px rgba(227, 192, 126, .6); }
.au-meter-row { display: flex; justify-content: space-between; gap: 10px; margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
.au-meter[data-level="empty"] .au-meter-row, .au-meter[data-level="empty"] .au-meter-hint { display: none; }
.au-meter-v { font-weight: 600; }
.au-meter[data-level="too-weak"] .au-meter-v, .au-meter[data-level="weak"] .au-meter-v { color: #F7A3A6; }
.au-meter[data-level="fair"] .au-meter-v { color: #F6CF8C; }
.au-meter[data-level="good"] .au-meter-v { color: #7BEFC4; }
.au-meter[data-level="strong"] .au-meter-v { color: #F6DFA6; }
.au-meter-hint { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); }
.au-meter-hint:empty { display: none; }

/* the vault card that reveals a recovery code */
.au-vault { display: flex; flex-direction: column; gap: 16px; }
.au-vault-card { position: relative; isolation: isolate; overflow: hidden; padding: 18px 18px 16px; border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(255, 226, 160, .17), transparent 52%), linear-gradient(140deg, #1D160A 0%, #0E0B06 55%, #18130A 100%);
  box-shadow: 0 0 0 1px rgba(227, 192, 126, .42), 0 0 46px -10px rgba(227, 192, 126, .5), inset 0 1px 0 rgba(255, 236, 190, .22), 0 30px 60px -30px rgba(0, 0, 0, .9);
  animation: auVaultIn .8s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes auVaultIn { from { opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
.au-vault-ring { position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: conic-gradient(from var(--au-a), transparent 0 58%, rgba(255, 226, 160, .95) 68%, rgba(91, 240, 184, .9) 76%, transparent 86%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: auRing 5.5s linear infinite; }
@keyframes auRing { to { --au-a: 360deg; } }
.au-vault-shine { position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; pointer-events: none; transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255, 240, 200, .2), transparent); animation: auShine 1.8s .35s ease-out both; }
@keyframes auShine { from { left: -60%; } to { left: 130%; } }
.au-vault-top { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #EAD3A0; }
.au-vault-ic { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; color: #F2C46D; background: rgba(227, 192, 126, .13); box-shadow: inset 0 0 0 1px rgba(227, 192, 126, .35); }
.au-vault-ic .au-svg { width: 18px; height: 18px; }
.au-vault-name { font-weight: 600; }
.au-vault-mark { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: rgba(234, 211, 160, .7); }
.au-vault-mark .au-logo-mark { width: 18px; height: 18px; }
.au-vault-card { container-type: inline-size; }
.au-code { margin: 18px 0 16px; display: grid; grid-template-columns: repeat(var(--n, 4), max-content); justify-content: center; gap: 8px;
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Roboto Mono", Consolas, monospace; font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; letter-spacing: .07em; }
@container (max-width: 330px) { .au-code { grid-template-columns: repeat(2, max-content); font-size: 21px; gap: 8px 10px; } }
.au-code-g { padding: 6px 7px 6px 9px; border-radius: 10px; color: #FCE9BC; background: rgba(255, 226, 160, .07); box-shadow: inset 0 0 0 1px rgba(227, 192, 126, .24);
  text-shadow: 0 0 18px rgba(227, 192, 126, .6); animation: auReveal .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * .12s + .25s); }
@keyframes auReveal { from { opacity: 0; filter: blur(8px); transform: translateY(6px); } to { opacity: 1; filter: none; transform: none; } }
.au-vault-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.au-chip { height: 40px; padding: 0 16px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font: inherit; font-size: 13.5px;
  color: #F3DDA8; background: rgba(227, 192, 126, .08); border: 1px solid rgba(227, 192, 126, .36); transition: background .2s, border-color .2s, color .2s; }
.au-chip .au-svg { width: 17px; height: 17px; }
.au-chip.is-done { color: #A9F2D5; background: rgba(16, 188, 131, .1); border-color: rgba(16, 188, 131, .55); }
.au-tips { margin: 0; padding-inline-start: 22px; font-size: 13.5px; line-height: 1.75; color: var(--ink-2); }
.au-tips li::marker { color: var(--au-gold); }
.au-check { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 16px; cursor: pointer; font-size: 14.5px; color: var(--ink);
  background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .1); transition: border-color .2s, background .2s; }
.au-check input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.au-box { width: 24px; height: 24px; flex: none; border-radius: 8px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .32); transition: background .2s, border-color .2s, box-shadow .2s; }
.au-box .au-svg { width: 16px; height: 16px; stroke-width: 2.8; color: #17120A; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.au-check input:checked + .au-box { background: linear-gradient(135deg, #FBE7B5, #E3C07E); border-color: transparent; box-shadow: 0 0 16px rgba(227, 192, 126, .6); }
.au-check input:checked + .au-box .au-svg { opacity: 1; transform: none; }
.au-check:has(input:checked) { border-color: rgba(227, 192, 126, .45); background: rgba(227, 192, 126, .06); }
.au-check input:focus-visible + .au-box { outline: 2px solid var(--au-gold); outline-offset: 3px; }

/* signed-in card */
.au-signed { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; padding: 18px 20px; }
.au-avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 18px; font-weight: 600; color: #1A1406;
  background: linear-gradient(135deg, #FBE7B5, #C99A4B); box-shadow: 0 0 24px rgba(227, 192, 126, .45); }
.au-signed-t { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.au-signed-t span { font-size: 13px; color: var(--ink-3); overflow-wrap: anywhere; }
.au-stack { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.au-stack .au-glow { margin-top: 0; }

/* focus + hover */
.au-page a:focus-visible, .au-tool:focus-visible, .au-chip:focus-visible, .au-back:focus-visible, .au-ghost:focus-visible, .au-eye:focus-visible, .au-typo button:focus-visible {
  outline: 2px solid var(--au-gold); outline-offset: 3px; }
@media (hover: hover) {
  .au-tool:hover { color: var(--ink); border-color: rgba(227, 192, 126, .45); }
  .au-input input:hover:not(:focus) { border-color: var(--au-in-line-h); }
  .au-eye:hover { color: var(--ink); }
  .au-glow:hover:not(:disabled) { filter: brightness(1.04) saturate(1.08); box-shadow: inset 0 0 0 1px rgba(255, 244, 214, .7), inset 0 1px 0 #fff, inset 0 -8px 16px rgba(16, 188, 131, .24),
    0 0 26px 0 rgba(227, 192, 126, .55), 0 0 60px -4px rgba(16, 188, 131, .65), 0 18px 40px -16px rgba(16, 188, 131, .8); }
  .au-ghost:hover { border-color: rgba(227, 192, 126, .45); background: rgba(227, 192, 126, .06); }
  .au-back:hover { color: var(--ink); border-color: rgba(255, 255, 255, .3); }
  .au-chip:hover { background: rgba(227, 192, 126, .14); }
  .au-link:hover, .au-switch a:hover { text-decoration-color: currentColor; }
  .au-check:hover { border-color: rgba(227, 192, 126, .35); }
}

/* entrance */
.au-anim .au-in { animation: auIn .75s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 85ms + 80ms); }
@keyframes auIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ phone: art header + rising glass sheet */
@media (max-width: 900px) {
  .au-page { display: block; padding: 0; min-height: 100dvh; }
  .au-page::before { display: none; }
  .au-art { position: sticky; top: 0; z-index: 0; height: max(260px, 37vh); height: max(260px, 37svh); min-height: 0; border-radius: 0; box-shadow: none; }
  .au-art-ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "logo" "." "ticker";
    gap: 8px; padding: calc(14px + env(safe-area-inset-top)) 16px 42px; }
  /* the status pills sit on the ticker's top edge, like tabs */
  .au-pills { grid-area: ticker; position: relative; z-index: 2; align-self: start; justify-self: start; margin: -12px 0 0; margin-inline-start: 12px; }
  .au-logo { font-size: 14px; gap: 8px; } .au-logo-mark { width: 26px; height: 26px; }
  .au-pills { gap: 6px; } .au-pill, .au-pill.badge.demo { height: 24px; padding: 0 10px; font-size: 11.5px; }
  .au-chart-cap, .au-art-tag { display: none; }
  .au-ticker { border-radius: 16px; }
  .au-tk { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l c" "row row"; align-items: center; gap: 2px 6px; padding: 17px 12px 8px; }
  .au-tk-l { grid-area: l; font-size: 11px; }
  .au-tk-row { grid-area: row; }
  .au-tk-c { grid-area: c; font-size: 11px; min-height: 0; }
  .au-tk-v { font-size: 20px; }
  .au-tk-u { font-size: 10.5px; }
  .au-tk-vs { display: none; }
  .au-fb-ingot { width: min(54%, 250px); margin-top: -14%; }
  .au-fb-chart { top: 21%; height: 17%; left: 16%; right: 16%; width: 68%; }
  .au-tools { top: calc(9px + env(safe-area-inset-top)); inset-inline-end: 12px; gap: 6px; }
  .au-tool { height: 40px; min-width: 40px; padding: 0 10px; font-size: 12.5px; }
  .au-tool .au-svg { width: 17px; height: 17px; }
  .au-main { position: relative; z-index: 2; margin-top: -28px; min-height: calc(100dvh - max(260px, 37svh) + 28px); justify-content: flex-start;
    padding: 30px 16px calc(26px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; background: var(--au-sheet);
    border-top: 1px solid rgba(255, 255, 255, .13); box-shadow: 0 -24px 60px -24px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
    backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
  .au-anim .au-main { animation: auSheet .8s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes auSheet { from { transform: translateY(70px); opacity: .4; } to { transform: none; opacity: 1; } }
  .au-main::before { content: ""; position: absolute; top: 10px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
  .au-col { margin-block: 0; }
  .au-head { margin-bottom: 20px; }
  .au-kicker { margin-bottom: 12px; }
  .au-title { font-size: clamp(34px, 9.6vw, 44px); }
  html[lang="ar"] .au-title { font-size: clamp(32px, 9vw, 42px); }
  .au-page[data-au] .au-title { font-size: clamp(34px, 9.6vw, 44px); }
  html[lang="ar"] .au-page[data-au] .au-title { font-size: clamp(32px, 9vw, 42px); }
  .au-sub { font-size: 14.5px; }
  .au-card { padding: 18px 16px; border-radius: 22px; }
  .au-wiz-t { font-size: 17px; }
  html[dir] .au-code-field .au-input input[dir] { font-size: 16px; letter-spacing: .07em; padding-left: 44px; padding-right: 44px; }
  .au-back { padding: 0 14px; }
  .au-legal { margin-top: 24px; }
  .au-or { margin: 20px 0 14px; }
}
@media (max-width: 380px) {
  .au-tool-lang span { display: none; }
  .au-back span { display: none; }
  html[dir] .au-code-field .au-input input[dir] { font-size: 15px; letter-spacing: .05em; padding-left: 42px; padding-right: 42px; }
  .au-tk-v { font-size: 18px; }
}
@media (min-width: 901px) and (max-height: 760px) {
  .au-main { padding-top: 72px; }
  .au-head { margin-bottom: 20px; }
  .au-title { font-size: clamp(36px, 4vw, 52px); }
}

/* ------------------------------------------------------------------ light: ivory + champagne gold */
html[data-theme="light"] .au-page {
  --ink: #221A0D; --ink-2: rgba(34, 26, 13, .74); --ink-3: rgba(34, 26, 13, .54);
  --au-bg: #F6F0E3; --au-gold: #A9771F; --au-mint: #0B7552; --au-err: #B2343A;
  --au-in-bg: rgba(255, 255, 255, .72); --au-in-bg-f: #fff; --au-in-line: rgba(110, 80, 25, .2); --au-in-line-h: rgba(110, 80, 25, .34);
  --au-card-bg: linear-gradient(180deg, rgba(255, 255, 255, .88), rgba(255, 252, 245, .62)); --au-card-line: rgba(110, 80, 25, .14);
  --au-sheet: rgba(250, 246, 237, .86);
  background: radial-gradient(45% 50% at 78% 18%, rgba(16, 168, 117, .08), transparent 70%), radial-gradient(50% 50% at 70% 95%, rgba(227, 192, 126, .2), transparent 70%), var(--au-bg);
}
html[data-theme="light"] .au-page::before { background: repeating-linear-gradient(90deg, rgba(120, 85, 20, .04) 0 1px, transparent 1px 84px); }
html[data-theme="light"] .au-art { background: #F3E9D3; box-shadow: 0 0 0 1px rgba(110, 80, 25, .12), 0 40px 100px -50px rgba(120, 85, 20, .45); }
html[data-theme="light"] .au-art-bg { background:
  radial-gradient(60% 40% at 50% 62%, rgba(255, 255, 255, .85), transparent 70%),
  radial-gradient(55% 40% at 85% 6%, rgba(16, 168, 117, .14), transparent 70%),
  radial-gradient(60% 45% at 10% 100%, rgba(227, 192, 126, .45), transparent 70%),
  linear-gradient(180deg, #FBF6EA 0%, #F2E5C8 60%, #E9D7AE 100%); }
html[data-theme="light"] .au-streaks { background: repeating-linear-gradient(90deg, rgba(120, 85, 20, .05) 0 1px, transparent 1px 46px), repeating-linear-gradient(90deg, rgba(16, 140, 98, .04) 0 1px, transparent 1px 113px); }
html[data-theme="light"] .au-grain { opacity: .05; mix-blend-mode: multiply; }
html[data-theme="light"] .au-art-shade { background: radial-gradient(120% 85% at 50% 38%, transparent 60%, rgba(160, 120, 50, .16)), linear-gradient(180deg, transparent 60%, rgba(233, 215, 174, .7) 100%); }
html[data-theme="light"] .au-fb-ingot { filter: drop-shadow(0 26px 30px rgba(120, 85, 20, .3)); }
html[data-theme="light"] .au-fb-line { stroke: #0A8A5E; filter: none; }
html[data-theme="light"] .au-fb-area { opacity: .7; }
html[data-theme="light"] .au-pill { color: rgba(34, 26, 13, .74); background: rgba(255, 255, 255, .72); border-color: rgba(110, 80, 25, .2); }
html[data-theme="light"] .au-pill[data-s="live"] { color: #0B6B4B; background: rgba(230, 248, 240, .85); border-color: rgba(16, 168, 117, .45); }
html[data-theme="light"] .au-pill[data-s="delayed"] { color: #8A5A12; }
html[data-theme="light"] .au-pill[data-s="reconnecting"] { color: #B2343A; }
html[data-theme="light"] .au-pill.badge.demo { color: #8A5A12; background: rgba(255, 244, 220, .9); border-color: rgba(183, 121, 31, .45); }
html[data-theme="light"] .au-chart-cap { color: #0B6B4B; background: rgba(255, 255, 255, .7); border-color: rgba(16, 168, 117, .35); }
html[data-theme="light"] .au-chart-cap::before { background-image: linear-gradient(135deg, transparent 45%, #0A8A5E 46% 56%, transparent 57%); }
html[data-theme="light"] .au-ticker { background: rgba(255, 252, 245, .68); border-color: rgba(110, 80, 25, .16); box-shadow: inset 0 1px 0 #fff, 0 20px 40px -26px rgba(120, 85, 20, .5); }
html[data-theme="light"] .au-tk + .au-tk { border-inline-start-color: rgba(110, 80, 25, .14); }
html[data-theme="light"] .au-tk-v { background-image: linear-gradient(180deg, #8C6418, #6B4A12 70%, #4E360B); }
html[data-theme="light"] .au-tk[data-k="ag"] .au-tk-v { background-image: linear-gradient(180deg, #6E7581, #4A505A 70%, #343941); }
html[data-theme="light"] .au-logo { color: #4E3A12; }
html[data-theme="light"] .au-logo-mark { filter: drop-shadow(0 2px 6px rgba(140, 100, 30, .35)); }
html[data-theme="light"] .au-tool { background: rgba(255, 255, 255, .72); border-color: rgba(110, 80, 25, .2); }
html[data-theme="light"] .au-title { background-image: linear-gradient(180deg, #2B2010 12%, #5E461A 62%, #A87A2A 108%); }
html[data-theme="light"] .au-input input:focus { border-color: rgba(169, 119, 31, .6); box-shadow: 0 0 0 4px rgba(227, 192, 126, .25), 0 0 26px -8px rgba(16, 168, 117, .4); }
html[data-theme="light"] .au-input input:-webkit-autofill { box-shadow: 0 0 0 40px #FFFDF6 inset; }
html[data-theme="light"] .au-glow { color: #1D1505; background: linear-gradient(100deg, #EFC970 0%, #FAE3A6 30%, #FFF8E8 56%, #CFF3E3 80%, #92E2C2 100%);
  box-shadow: inset 0 0 0 1px rgba(169, 119, 31, .35), inset 0 1px 0 #fff, inset 0 -8px 16px rgba(16, 168, 117, .16),
    0 0 18px -4px rgba(227, 160, 60, .5), 0 0 34px -10px rgba(16, 168, 117, .5), 0 16px 30px -16px rgba(120, 85, 20, .6); }
html[data-theme="light"][dir="rtl"] .au-glow { background: linear-gradient(260deg, #EFC970 0%, #FAE3A6 30%, #FFF8E8 56%, #CFF3E3 80%, #92E2C2 100%); }
html[data-theme="light"] .au-glow:disabled { filter: saturate(.2) brightness(.92) opacity(.7); }
html[data-theme="light"] .au-or::before { background: linear-gradient(90deg, transparent, rgba(110, 80, 25, .2)); }
html[data-theme="light"] .au-or::after { background: linear-gradient(90deg, rgba(110, 80, 25, .2), transparent); }
html[data-theme="light"] .au-ghost, html[data-theme="light"] .au-back { background: rgba(255, 255, 255, .6); border-color: rgba(110, 80, 25, .2); }
html[data-theme="light"] .au-switch a { text-decoration-color: rgba(169, 119, 31, .55); }
html[data-theme="light"] .au-alert { color: #9F2A2F; background: rgba(210, 70, 75, .07); border-color: rgba(210, 70, 75, .35); }
html[data-theme="light"] .au-alert[data-kind="warn"] { color: #7C510F; background: rgba(240, 182, 90, .14); border-color: rgba(183, 121, 31, .4); }
html[data-theme="light"] .au-alert[data-kind="ok"] { color: #0B6B4B; background: rgba(16, 168, 117, .08); border-color: rgba(16, 168, 117, .35); }
html[data-theme="light"] .au-card { box-shadow: inset 0 1px 0 #fff, 0 30px 70px -40px rgba(120, 85, 20, .4); }
html[data-theme="light"] .au-wiz.glow-top > .gt-glow { opacity: .35; }
html[data-theme="light"] .au-step-pill { color: #7A5310; background: rgba(240, 190, 100, .16); border-color: rgba(169, 119, 31, .4); }
html[data-theme="light"] .au-step-pill i { background: #C08A2A; box-shadow: 0 0 6px rgba(192, 138, 42, .7); }
html[data-theme="light"] .au-prog::before { background: rgba(110, 80, 25, .14); }
html[data-theme="light"] .au-prog-fill { background: linear-gradient(90deg, #C08A2A, #0FA875); box-shadow: 0 0 10px rgba(16, 168, 117, .35); }
html[data-theme="light"][dir="rtl"] .au-prog-fill { background: linear-gradient(270deg, #C08A2A, #0FA875); }
html[data-theme="light"] .au-prog-fill::after { background: #fff; box-shadow: 0 0 0 2px #0FA875, 0 0 12px 2px rgba(16, 168, 117, .45); }
html[data-theme="light"] .au-prog-dot { background: #FFFBF2; border-color: rgba(110, 80, 25, .3); }
html[data-theme="light"] .au-prog-dot.done { background: #C08A2A; border-color: #C08A2A; }
html[data-theme="light"] .au-prog-dot.cur { background: #0FA875; border-color: #0FA875; }
html[data-theme="light"] .au-note { background: rgba(255, 255, 255, .55); border-color: rgba(110, 80, 25, .22); }
html[data-theme="light"] .au-cmd { background: rgba(255, 255, 255, .7); border-color: rgba(110, 80, 25, .2); }
html[data-theme="light"] .au-note-gold { background: linear-gradient(135deg, rgba(240, 200, 120, .28), rgba(255, 255, 255, .5)); border-color: rgba(169, 119, 31, .38); }
html[data-theme="light"] .au-okline { color: #0B7552; }
html[data-theme="light"] .au-meter-bars i { background: rgba(110, 80, 25, .13); }
html[data-theme="light"] .au-meter[data-score="4"] i { background: linear-gradient(90deg, #C08A2A, #E9C46F); box-shadow: 0 0 10px rgba(192, 138, 42, .45); }
html[data-theme="light"] .au-meter[data-level="too-weak"] .au-meter-v, html[data-theme="light"] .au-meter[data-level="weak"] .au-meter-v { color: #B2343A; }
html[data-theme="light"] .au-meter[data-level="fair"] .au-meter-v { color: #8A5A12; }
html[data-theme="light"] .au-meter[data-level="good"] .au-meter-v { color: #0B7552; }
html[data-theme="light"] .au-meter[data-level="strong"] .au-meter-v { color: #8C6418; }
html[data-theme="light"] .au-vault-card { background: radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, .9), transparent 52%), linear-gradient(140deg, #FFF7E4 0%, #F3E1B6 55%, #FBEFD2 100%);
  box-shadow: 0 0 0 1px rgba(169, 119, 31, .45), 0 0 40px -14px rgba(227, 160, 60, .55), inset 0 1px 0 #fff, 0 26px 50px -28px rgba(120, 85, 20, .55); }
html[data-theme="light"] .au-vault-top { color: #6B4A12; }
html[data-theme="light"] .au-vault-ic { color: #A9771F; background: rgba(169, 119, 31, .12); }
html[data-theme="light"] .au-vault-mark { color: rgba(107, 74, 18, .7); }
html[data-theme="light"] .au-code-g { color: #5C3F0E; background: rgba(255, 255, 255, .6); box-shadow: inset 0 0 0 1px rgba(169, 119, 31, .3); text-shadow: none; }
html[data-theme="light"] .au-chip { color: #6B4A12; background: rgba(255, 255, 255, .6); border-color: rgba(169, 119, 31, .4); }
html[data-theme="light"] .au-chip.is-done { color: #0B6B4B; background: rgba(16, 168, 117, .1); border-color: rgba(16, 168, 117, .5); }
html[data-theme="light"] .au-check { background: rgba(255, 255, 255, .6); border-color: rgba(110, 80, 25, .18); }
html[data-theme="light"] .au-box { border-color: rgba(110, 80, 25, .4); }
html[data-theme="light"] .au-check input:checked + .au-box { background: linear-gradient(135deg, #F2CF7E, #C08A2A); box-shadow: 0 0 12px rgba(192, 138, 42, .45); }
html[data-theme="light"] .au-check input:checked + .au-box .au-svg { color: #fff; }
html[data-theme="light"] .au-check:has(input:checked) { border-color: rgba(169, 119, 31, .45); background: rgba(255, 246, 226, .8); }
html[data-theme="light"] .au-avatar { color: #fff; background: linear-gradient(135deg, #E2B65C, #9C6B22); }
@media (max-width: 900px) {
  html[data-theme="light"] .au-main { border-top-color: rgba(110, 80, 25, .14); box-shadow: 0 -24px 60px -28px rgba(120, 85, 20, .45), inset 0 1px 0 #fff; }
  html[data-theme="light"] .au-main::before { background: rgba(110, 80, 25, .22); }
}
@media (hover: hover) {
  html[data-theme="light"] .au-tool:hover { border-color: rgba(169, 119, 31, .5); background: #fff; }
  html[data-theme="light"] .au-ghost:hover { background: #fff; border-color: rgba(169, 119, 31, .45); }
}

@media (prefers-reduced-motion: reduce) {
  .au-streaks, .au-fb-ingot, .au-fb-coin, .au-fb-glint, .au-glow-sweep, .au-pill i::after, .au-step-pill i::after, .au-vault-ring, .au-vault-shine,
  .au-code-g, .au-step, .au-alert, .au-anim .au-in, .au-anim .au-main, .au-vault-card, .au-skel i, .au-tk.is-wait .au-tk-v { animation: none !important; }
  .au-glow-sweep { opacity: 0; }
  .au-tk.au-flash-up::after, .au-tk.au-flash-down::after { display: none; }
  .au-3d, .au-fb, .au-prog-fill { transition: none; }
}
