/* ============================================================================
   omnix-auth.css  —  淘金者OmniX 登录/注册/找回密码 三页视觉（1:1 复刻 UI设计稿）
   来源：ui 设计包 styles.css，逐规则限定在 .omnix-auth 作用域内，避免污染全局。
   本文件位于 static/ 下，随构建原样拷贝，不经过 px2rem-loader，
   因此固定 px 与 vw/svh 单位得以 1:1 保留，适配各尺寸手机。
   ============================================================================ */
.omnix-auth { min-height: 100svh; }

.omnix-auth {
  --ink: #fff7e8;
  --ink-soft: rgb(255 241 225 / 0.82);
  --gold: #ffd874;
  --gold-strong: #ffedab;
  --gold-line: rgb(255 211 127 / 0.56);
  --red: #df141e;
  --red-deep: #a80b12;
  --wine: rgb(70 17 13 / 0.76);
  --wine-strong: rgb(43 10 8 / 0.82);
  --panel: rgb(54 12 9 / 0.78);
  --panel-top: rgb(104 31 23 / 0.66);
  --field-bg: rgb(48 10 8 / 0.93);
  --field-bg-focus: rgb(57 12 9 / 0.98);
  --field-bg-active: rgb(41 8 7 / 0.98);
  --field-border: rgb(255 217 151 / 0.50);
  --field-border-focus: rgb(255 232 174 / 0.82);
  --field-border-active: rgb(255 218 151 / 0.56);
  --field-focus-ring: rgb(255 223 156 / 0.20);
  --send-bg: rgb(86 18 12 / 0.72);
  --action-bg: linear-gradient(180deg, #ef1c25 0%, #c90e17 100%);
  --action-text: #fff;
  --action-shadow: 0 6px 8px rgb(99 0 0 / 0.28);
  --screen-overlay: linear-gradient(180deg, rgb(18 5 6 / 0.03), rgb(63 0 0 / 0.06));
  --screen-blend: normal;
  --ambient-overlay:
    linear-gradient(180deg, rgb(0 0 0 / 0.04) 0%, transparent 24%, transparent 78%, rgb(38 0 0 / 0.12) 100%),
    radial-gradient(circle at 50% 40%, rgb(255 217 142 / 0.07), transparent 29%);
  --bottom-fade: linear-gradient(0deg, rgb(60 0 0 / 0.18), transparent);
  --skin-surface: rgb(81 22 17 / 0.68);
  --skin-surface-active: rgb(219 19 28 / 0.84);
  --skin-border: rgb(255 221 164 / 0.38);
  --skin-text: #fff7e8;
  --font: "HarmonyOS Sans SC", "MiSans", "PingFang SC", "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.omnix-auth[data-theme="blue"] {
  --ink: #effbff;
  --ink-soft: rgb(225 247 255 / 0.84);
  --gold: #90e8ff;
  --gold-strong: #dcf8ff;
  --gold-line: rgb(132 224 255 / 0.46);
  --red: #1b8dff;
  --red-deep: #0757a7;
  --wine: rgb(7 32 60 / 0.76);
  --wine-strong: rgb(2 14 31 / 0.86);
  --panel: rgb(5 19 38 / 0.80);
  --panel-top: rgb(14 53 86 / 0.68);
  --field-bg: rgb(3 18 35 / 0.93);
  --field-bg-focus: rgb(6 28 54 / 0.98);
  --field-bg-active: rgb(3 16 31 / 0.98);
  --field-border: rgb(140 228 255 / 0.42);
  --field-border-focus: rgb(210 247 255 / 0.80);
  --field-border-active: rgb(144 232 255 / 0.54);
  --field-focus-ring: rgb(132 224 255 / 0.20);
  --send-bg: rgb(8 43 80 / 0.76);
  --action-bg: linear-gradient(180deg, #25b8ff 0%, #086bc5 100%);
  --action-text: #f7fdff;
  --action-shadow: 0 6px 8px rgb(0 40 86 / 0.32);
  --screen-overlay:
    linear-gradient(180deg, rgb(0 36 76 / 0.36), rgb(0 17 43 / 0.58)),
    radial-gradient(circle at 50% 20%, rgb(119 224 255 / 0.13), transparent 38%);
  --screen-blend: color;
  --ambient-overlay:
    linear-gradient(180deg, rgb(0 13 32 / 0.08) 0%, transparent 30%, rgb(0 18 46 / 0.14) 100%),
    radial-gradient(circle at 50% 44%, rgb(117 229 255 / 0.11), transparent 32%);
  --bottom-fade: linear-gradient(0deg, rgb(0 16 42 / 0.28), transparent);
  --skin-surface: rgb(8 42 78 / 0.70);
  --skin-surface-active: rgb(28 157 232 / 0.86);
  --skin-border: rgb(163 235 255 / 0.42);
  --skin-text: #effbff;
}

.omnix-auth[data-theme="black-gold"] {
  --ink: #fff6df;
  --ink-soft: rgb(255 235 198 / 0.82);
  --gold: #f2bf55;
  --gold-strong: #ffe7a8;
  --gold-line: rgb(242 191 85 / 0.52);
  --red: #c9942a;
  --red-deep: #72500e;
  --wine: rgb(22 17 11 / 0.80);
  --wine-strong: rgb(8 7 5 / 0.88);
  --panel: rgb(13 10 7 / 0.83);
  --panel-top: rgb(49 37 20 / 0.68);
  --field-bg: rgb(8 7 6 / 0.93);
  --field-bg-focus: rgb(17 13 8 / 0.98);
  --field-bg-active: rgb(10 8 6 / 0.98);
  --field-border: rgb(242 191 85 / 0.46);
  --field-border-focus: rgb(255 230 164 / 0.80);
  --field-border-active: rgb(242 191 85 / 0.58);
  --field-focus-ring: rgb(242 191 85 / 0.22);
  --send-bg: rgb(48 34 14 / 0.76);
  --action-bg: linear-gradient(180deg, #f6cf78 0%, #b77d1f 100%);
  --action-text: #160d05;
  --action-shadow: 0 6px 8px rgb(8 5 0 / 0.34);
  --screen-overlay:
    linear-gradient(180deg, rgb(0 0 0 / 0.48), rgb(0 0 0 / 0.66)),
    radial-gradient(circle at 50% 18%, rgb(255 202 91 / 0.14), transparent 36%);
  --screen-blend: multiply;
  --ambient-overlay:
    linear-gradient(180deg, rgb(0 0 0 / 0.12) 0%, transparent 30%, rgb(0 0 0 / 0.18) 100%),
    radial-gradient(circle at 50% 44%, rgb(242 191 85 / 0.10), transparent 32%);
  --bottom-fade: linear-gradient(0deg, rgb(0 0 0 / 0.34), transparent);
  --skin-surface: rgb(20 15 9 / 0.76);
  --skin-surface-active: rgb(230 177 67 / 0.86);
  --skin-border: rgb(244 205 126 / 0.46);
  --skin-text: #fff2d5;
}

.omnix-auth, .omnix-auth * {
  box-sizing: border-box;
}

.omnix-auth {
  min-height: 100vh;
  min-height: 100svh;
}

.omnix-auth {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 50% 100%, rgb(202 16 22 / 0.24), transparent 34%),
    linear-gradient(180deg, #130507 0%, #270608 100%);
}

.omnix-auth button, .omnix-auth input {
  font: inherit;
}

.omnix-auth button {
  cursor: pointer;
}

.omnix-auth button:disabled {
  cursor: not-allowed;
}

.omnix-auth .page-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
}

.omnix-auth .phone-screen {
  position: relative;
  width: min(100vw, 430px);
  height: 100vh;
  height: 100svh;
  min-height: 760px;
  max-height: 932px;
  overflow-x: hidden;
  overflow-y: auto;
  isolation: isolate;
  background:
    var(--screen-overlay),
    var(--page-bg) center / cover no-repeat;
  background-blend-mode: var(--screen-blend);
  box-shadow: 0 0 54px rgb(0 0 0 / 0.38);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.omnix-auth .phone-screen::-webkit-scrollbar {
  display: none;
}

.omnix-auth.is-login {
  --page-bg: url("../img/omnix-auth/bg-login.png");
}

.omnix-auth.is-forgot {
  --page-bg: url("../img/omnix-auth/bg-forgot.png");
}

.omnix-auth.is-register {
  --page-bg: url("../img/omnix-auth/bg-register.png");
}

.omnix-auth.is-splash {
  --page-bg: url("../img/omnix-auth/bg-login.png");
}

.omnix-auth .phone-screen::before, .omnix-auth .phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.omnix-auth .phone-screen::before {
  background: var(--ambient-overlay);
}

.omnix-auth .phone-screen::after {
  inset: auto 0 -42px 0;
  height: 170px;
  background: var(--bottom-fade);
}

.omnix-auth .splash-screen {
  position: relative;
  width: min(100vw, 430px);
  height: 100svh;
  min-height: 760px;
  max-height: 932px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgb(20 5 6 / 0.08) 0%, rgb(78 0 0 / 0.20) 52%, rgb(24 0 0 / 0.40) 100%),
    radial-gradient(circle at 50% 38%, rgb(255 222 150 / 0.20), transparent 34%),
    var(--page-bg) center / cover no-repeat;
  box-shadow: 0 0 54px rgb(0 0 0 / 0.38);
}

.omnix-auth .splash-screen::before, .omnix-auth .splash-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.omnix-auth .splash-screen::before {
  z-index: 0;
  background:
    linear-gradient(180deg, rgb(0 0 0 / 0.12) 0%, transparent 24%, transparent 68%, rgb(44 0 0 / 0.46) 100%),
    radial-gradient(circle at 50% 44%, rgb(255 216 116 / 0.18), transparent 28%);
}

.omnix-auth .splash-screen::after {
  z-index: 1;
  border: 1px solid rgb(255 221 164 / 0.24);
  box-shadow:
    inset 0 1px 0 rgb(255 236 194 / 0.15),
    inset 0 -1px 0 rgb(255 192 96 / 0.12);
}

.omnix-auth .splash-circuit, .omnix-auth .splash-core, .omnix-auth .splash-brand, .omnix-auth .splash-status, .omnix-auth .splash-enter {
  position: relative;
  z-index: 2;
}

.omnix-auth .splash-circuit {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.72;
  background:
    radial-gradient(circle at 50% 70%, rgb(255 211 127 / 0.34) 0 2px, transparent 3px),
    linear-gradient(90deg, transparent 0 12%, rgb(255 210 119 / 0.12) 12.2% 12.45%, transparent 12.7% 100%),
    linear-gradient(0deg, transparent 0 68%, rgb(255 210 119 / 0.10) 68.2% 68.45%, transparent 68.7% 100%);
  background-size: 86px 86px, 100% 100%, 100% 100%;
  mask-image: linear-gradient(180deg, transparent 0%, black 36%, black 100%);
}

.omnix-auth .splash-core {
  width: 210px;
  height: 210px;
  margin-top: 164px;
  display: grid;
  place-items: center;
}

.omnix-auth .splash-core img {
  width: 128px;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 10px 18px rgb(0 0 0 / 0.34))
    drop-shadow(0 0 16px rgb(255 200 80 / 0.20));
  animation: omnixSplashLogoRise 760ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.omnix-auth .scan-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgb(255 218 142 / 0.34);
  box-shadow:
    inset 0 0 22px rgb(255 212 116 / 0.08),
    0 0 20px rgb(255 212 116 / 0.10);
  animation: omnixSplashPulse 1700ms ease-out infinite;
}

.omnix-auth .scan-ring-one {
  width: 112px;
  height: 112px;
}

.omnix-auth .scan-ring-two {
  width: 158px;
  height: 158px;
  animation-delay: 180ms;
}

.omnix-auth .scan-ring-three {
  width: 204px;
  height: 204px;
  border-color: rgb(255 245 213 / 0.22);
  animation-delay: 360ms;
}

.omnix-auth .splash-brand {
  width: calc(100% - 56px);
  margin-top: 18px;
  text-align: center;
  text-shadow:
    0 2px 8px rgb(45 5 2 / 0.48),
    0 12px 28px rgb(45 5 2 / 0.28);
}

.omnix-auth .splash-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 10px;
  line-height: 1;
  font-weight: 720;
  letter-spacing: 3px;
  text-indent: 3px;
}

.omnix-auth .splash-brand h1 {
  margin: 0;
  color: #fff4df;
  font-size: 42px;
  line-height: 1.02;
  font-weight: 760;
  letter-spacing: 0;
  white-space: nowrap;
}

.omnix-auth .splash-brand p:last-child {
  margin: 10px 0 0;
  color: rgb(255 247 232 / 0.92);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 520;
  letter-spacing: 2px;
  text-indent: 2px;
}

.omnix-auth .splash-status {
  width: calc(100% - 86px);
  margin-top: auto;
  margin-bottom: 112px;
  padding: 18px 18px 16px;
  border: 1px solid rgb(255 219 153 / 0.28);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgb(91 24 17 / 0.42), rgb(36 8 6 / 0.58));
  box-shadow:
    inset 0 1px 0 rgb(255 232 174 / 0.16),
    0 14px 26px rgb(45 0 0 / 0.22);
  backdrop-filter: blur(10px) saturate(130%);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
}

.omnix-auth .splash-status-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #fff3dc;
  font-size: 13px;
  line-height: 1;
  font-weight: 560;
}

.omnix-auth .splash-status-line strong {
  color: var(--gold-strong);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.5px;
}

.omnix-auth .splash-progress {
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgb(255 229 169 / 0.14);
}

.omnix-auth .splash-progress span {
  display: block;
  width: 98%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f9bd45 0%, #ffedac 52%, #e4161f 100%);
  box-shadow: 0 0 14px rgb(255 214 116 / 0.44);
  transform-origin: left center;
  animation: omnixSplashLoad 1600ms cubic-bezier(0.17, 0.84, 0.44, 1) both;
}

.omnix-auth .splash-status p {
  margin: 12px 0 0;
  color: rgb(255 239 222 / 0.72);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 430;
  text-align: center;
}

.omnix-auth .splash-status-clean {
  padding: 20px 18px;
}

.omnix-auth .splash-status-clean .splash-progress {
  height: 6px;
  margin-top: 0;
}

.omnix-auth .splash-enter {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  min-width: 156px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 232 174 / 0.45);
  border-radius: 999px;
  background: rgb(83 19 14 / 0.50);
  color: #fff3dc;
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 640;
  letter-spacing: 1px;
  text-indent: 1px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}

.omnix-auth .splash-enter:active {
  transform: translateX(-50%) translateY(1px);
}

.omnix-auth .splash-enter-clean::after {
  content: "";
  width: 46px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgb(255 221 142 / 0.22), rgb(255 247 220 / 0.92), rgb(255 221 142 / 0.22));
  box-shadow: 0 0 14px rgb(255 221 142 / 0.24);
}

.omnix-auth .brand, .omnix-auth .hero, .omnix-auth .skin-switcher, .omnix-auth .auth-card {
  position: relative;
  z-index: 1;
}

.omnix-auth .brand {
  position: absolute;
  top: 92px;
  left: 50%;
  display: grid;
  grid-template-columns: 84px auto;
  gap: 12px;
  align-items: center;
  z-index: 2;
  transform: translateX(-50%);
  filter: drop-shadow(0 5px 12px rgb(0 0 0 / 0.24));
}

.omnix-auth .skin-switcher {
  position: absolute;
  top: 18px;
  left: 24px;
  z-index: 3;
}

.omnix-auth .skin-toggle {
  height: 36px;
  min-width: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid var(--skin-border);
  border-radius: 999px;
  background: var(--skin-surface);
  color: var(--skin-text);
  font-size: 13px;
  line-height: 1;
  font-weight: 680;
  letter-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.10),
    0 4px 7px rgb(35 0 0 / 0.18);
  transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease, filter 150ms ease;
}

.omnix-auth .skin-toggle::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow:
    0 0 0 4px rgb(255 255 255 / 0.06),
    0 0 14px color-mix(in srgb, var(--red) 78%, transparent);
}

.omnix-auth .skin-toggle:active {
  transform: translateY(1px);
}

.omnix-auth .skin-switcher.is-open .skin-toggle {
  border-color: var(--field-border-focus);
  filter: brightness(1.05);
}

.omnix-auth .skin-menu {
  position: absolute;
  top: 43px;
  left: 0;
  width: 132px;
  padding: 6px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--skin-border);
  border-radius: 14px;
  background: rgb(28 9 8 / 0.86);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.09),
    0 10px 18px rgb(22 0 0 / 0.28);
  opacity: 0;
  transform: translateY(-5px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.omnix-auth[data-theme="blue"] .skin-menu {
  background: rgb(3 18 35 / 0.88);
}

.omnix-auth[data-theme="black-gold"] .skin-menu {
  background: rgb(8 7 5 / 0.90);
}

.omnix-auth .skin-switcher.is-open .skin-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.omnix-auth .skin-option {
  width: 100%;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--skin-text);
  font-size: 13px;
  line-height: 1;
  font-weight: 560;
  text-align: left;
}

.omnix-auth .skin-option::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--option-color);
  box-shadow: 0 0 10px color-mix(in srgb, var(--option-color) 78%, transparent);
}

.omnix-auth .skin-option:hover, .omnix-auth .skin-option.is-active {
  background: var(--skin-surface-active);
  color: var(--action-text);
}

.omnix-auth .skin-option[data-theme-option="red"] {
  --option-color: #ef1c25;
}

.omnix-auth .skin-option[data-theme-option="blue"] {
  --option-color: #25b8ff;
}

.omnix-auth .skin-option[data-theme-option="black-gold"] {
  --option-color: #f2bf55;
}

.omnix-auth .brand::before, .omnix-auth .hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.omnix-auth .brand::before {
  display: none;
}

.omnix-auth .brand-mark {
  width: 84px;
  height: 52px;
  display: block;
}

.omnix-auth .brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.omnix-auth .brand-copy {
  margin-bottom: 1px;
}

.omnix-auth .brand-name {
  font-size: 34px;
  line-height: 0.96;
  color: #fff9f0;
  letter-spacing: 0;
  font-weight: 560;
  white-space: nowrap;
}

.omnix-auth .brand-name span {
  color: #f5ab20;
  font-weight: 800;
}

.omnix-auth .brand-subtitle {
  margin-top: 5px;
  font-size: 10px;
  line-height: 1.05;
  color: rgb(255 255 255 / 0.92);
  letter-spacing: 1.6px;
  font-weight: 520;
  white-space: nowrap;
}

.omnix-auth .hero {
  width: calc(100% - 48px);
  margin: 258px auto 0;
  text-align: center;
  text-shadow:
    0 1px 6px rgb(53 9 3 / 0.50),
    0 8px 20px rgb(53 7 0 / 0.26);
  text-wrap: balance;
}

.omnix-auth .hero::before {
  display: none;
}

.omnix-auth .hero-kicker {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.15;
  font-weight: 620;
  color: #fff8ec;
  letter-spacing: 0.5px;
}

.omnix-auth .hero h1 {
  margin: 0;
  font-size: 38px;
  line-height: 1.02;
  font-weight: 740;
  color: #fff2dc;
  letter-spacing: 0;
  white-space: nowrap;
}

.omnix-auth .hero-subtitle {
  margin: 10px auto 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 540;
  color: #fff8eb;
  letter-spacing: 0.2px;
}

.omnix-auth .auth-card {
  width: calc(100% - 58px);
  margin: 46px auto 0;
  padding: 24px 18px 21px;
  border: 1px solid rgb(255 215 142 / 0.30);
  border-radius: 20px;
  background:
    linear-gradient(180deg, var(--panel-top), var(--panel) 42%, rgb(34 8 6 / 0.84));
  box-shadow:
    inset 0 1px 0 rgb(255 232 174 / 0.20),
    inset 0 -1px 0 rgb(255 209 133 / 0.07),
    0 5px 7px rgb(44 0 0 / 0.18);
}

.omnix-auth.is-login .auth-card {
  margin-top: 58px;
}

.omnix-auth.is-forgot .auth-card {
  margin-top: 48px;
}

.omnix-auth .card-heading {
  text-align: center;
  margin-bottom: 20px;
}

.omnix-auth .card-heading p {
  margin: 0 0 9px;
  color: var(--gold-strong);
  font-size: 11px;
  line-height: 1;
  font-weight: 660;
  letter-spacing: 4.8px;
  text-indent: 4.8px;
}

.omnix-auth .card-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 700;
  color: #fff8ed;
  letter-spacing: 1.6px;
  text-shadow: 0 2px 10px rgb(0 0 0 / 0.22);
}

.omnix-auth .auth-form {
  display: grid;
  gap: 12px;
}

.omnix-auth .field {
  position: relative;
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--field-border);
  border-radius: 12px;
  background: var(--field-bg);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.05);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.omnix-auth .field:focus-within {
  border-color: var(--field-border-focus);
  background: var(--field-bg-focus);
  box-shadow:
    0 0 0 1px var(--field-focus-ring),
    inset 0 1px 0 rgb(255 255 255 / 0.06);
}

.omnix-auth .field.has-value {
  background: var(--field-bg-active);
  border-color: var(--field-border-active);
}

.omnix-auth .field.is-invalid {
  border-color: rgb(255 91 91 / 0.96);
  box-shadow: 0 0 0 1px rgb(255 91 91 / 0.30);
}

.omnix-auth .field-icon {
  width: 22px;
  height: 22px;
  margin-left: 23px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold-strong);
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.omnix-auth .field input {
  width: 100%;
  min-width: 0;
  height: 53px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff5df;
  font-size: 16px;
  font-weight: 450;
  letter-spacing: 0;
  text-shadow: none;
  caret-color: var(--gold);
}

.omnix-auth .field input::placeholder {
  color: rgb(255 238 223 / 0.64);
  font-weight: 420;
  opacity: 1;
}

.omnix-auth .field input:-webkit-autofill, .omnix-auth .field input:-webkit-autofill:hover, .omnix-auth .field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff5df;
  caret-color: var(--gold);
  box-shadow: 0 0 0 1000px var(--field-bg-active) inset;
  transition: background-color 9999s ease-in-out 0s;
}

.omnix-auth .field-code input {
  padding-right: 132px;
}

.omnix-auth .send-code {
  position: absolute;
  right: 8px;
  top: 6px;
  width: 116px;
  height: 41px;
  border: 1px solid var(--field-border-active);
  border-radius: 10px;
  background: var(--send-bg);
  color: var(--gold);
  font-size: 13px;
  font-weight: 660;
  letter-spacing: 0.2px;
  transition: transform 150ms ease, background-color 150ms ease, filter 150ms ease;
}

.omnix-auth .send-code:active, .omnix-auth .primary-action:active, .omnix-auth .icon-button:active {
  transform: translateY(1px);
}

.omnix-auth .send-code.is-counting {
  color: rgb(255 231 180 / 0.78);
  background: rgb(42 10 8 / 0.82);
  filter: saturate(0.88);
}

.omnix-auth .icon-button {
  width: 42px;
  height: 42px;
  margin-right: 10px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff8ee;
}

.omnix-auth .icon-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.omnix-auth .form-message {
  min-height: 20px;
  margin: 0;
  padding: 0 6px;
  color: #ffd9d9;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  text-shadow: 0 2px 8px rgb(0 0 0 / 0.42);
}

.omnix-auth .form-message.is-success {
  color: var(--gold-strong);
}

.omnix-auth .form-options {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1px 2px 0;
  color: rgb(255 238 223 / 0.78);
  font-size: 13px;
  font-weight: 460;
}

.omnix-auth .remember-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.omnix-auth .remember-control input {
  position: absolute;
  opacity: 0;
}

.omnix-auth .remember-control span {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(255 211 127 / 0.46);
  border-radius: 6px;
  background: rgb(54 12 10 / 0.34);
  color: var(--gold-strong);
}

.omnix-auth .remember-control svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.omnix-auth .remember-control input:not(:checked) + span svg {
  opacity: 0;
}

.omnix-auth .minor-link {
  color: var(--gold);
  font-weight: 650;
  text-decoration: none;
}

.omnix-auth .minor-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.omnix-auth .primary-action {
  width: min(calc(100% - 44px), 318px);
  height: 56px;
  margin: 2px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 11px;
  background: var(--action-bg);
  color: var(--action-text);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 3px;
  text-indent: 3px;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.15),
    var(--action-shadow);
  transition: transform 150ms ease, filter 150ms ease;
}

.omnix-auth .primary-action:disabled {
  filter: saturate(0.82) brightness(0.9);
}

.omnix-auth .login-link {
  margin: 11px 0 0;
  color: rgb(255 238 223 / 0.90);
  text-align: center;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 440;
}

.omnix-auth .login-link a {
  color: var(--gold);
  font-weight: 680;
  text-decoration: none;
}

.omnix-auth .login-link a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.omnix-auth .security-note {
  max-width: 96%;
  margin: 8px auto 0;
  color: rgb(255 238 223 / 0.76);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 410;
  text-shadow: none;
}

.omnix-auth :focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@keyframes omnixSplashPulse {
  0% {
    opacity: 0;
    transform: scale(0.82);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes omnixSplashLogoRise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.94);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes omnixSplashLoad {
  from {
    transform: scaleX(0.08);
  }

  to {
    transform: scaleX(1);
  }
}

@media (hover: hover) {
  .omnix-auth .field:hover {
    border-color: var(--field-border-focus);
  }

  .omnix-auth .send-code:hover:not(:disabled), .omnix-auth .icon-button:hover, .omnix-auth .primary-action:hover:not(:disabled) {
    filter: brightness(1.06);
  }
}

@media (max-width: 399px) {
  .omnix-auth .skin-switcher {
    top: 18px;
    left: 20px;
  }

  .omnix-auth .skin-toggle {
    height: 34px;
    min-width: 78px;
    padding: 0 12px;
    font-size: 12px;
  }

  .omnix-auth .skin-toggle::before {
    width: 9px;
    height: 9px;
  }

  .omnix-auth .skin-menu {
    top: 40px;
    width: 118px;
  }

  .omnix-auth .skin-option {
    height: 30px;
    font-size: 12px;
  }

  .omnix-auth .splash-core {
    width: 188px;
    height: 188px;
    margin-top: 150px;
  }

  .omnix-auth .splash-core img {
    width: 116px;
  }

  .omnix-auth .scan-ring-one {
    width: 100px;
    height: 100px;
  }

  .omnix-auth .scan-ring-two {
    width: 140px;
    height: 140px;
  }

  .omnix-auth .scan-ring-three {
    width: 182px;
    height: 182px;
  }

  .omnix-auth .splash-brand {
    width: calc(100% - 42px);
  }

  .omnix-auth .splash-kicker {
    font-size: 9px;
    letter-spacing: 2.2px;
    text-indent: 2.2px;
  }

  .omnix-auth .splash-brand h1 {
    font-size: 36px;
  }

  .omnix-auth .splash-brand p:last-child {
    font-size: 13px;
  }

  .omnix-auth .splash-status {
    width: calc(100% - 52px);
  }

  .omnix-auth .brand {
    top: 88px;
    left: 50%;
    grid-template-columns: 72px auto;
    gap: 10px;
    transform: translateX(-50%);
  }

  .omnix-auth .brand-mark {
    width: 72px;
    height: 45px;
  }

  .omnix-auth .brand-name {
    font-size: 29px;
  }

  .omnix-auth .brand-subtitle {
    font-size: 8.5px;
    letter-spacing: 1.2px;
  }

  .omnix-auth .hero {
    margin-top: 234px;
  }

  .omnix-auth .hero-kicker, .omnix-auth .hero-subtitle {
    font-size: 15px;
  }

  .omnix-auth .hero h1 {
    font-size: 34px;
  }

  .omnix-auth .auth-card {
    width: calc(100% - 42px);
    margin-top: 36px;
    padding: 21px 16px 19px;
  }

  .omnix-auth.is-login .auth-card {
    margin-top: 48px;
  }

  .omnix-auth.is-forgot .auth-card {
    margin-top: 38px;
  }

  .omnix-auth .card-heading p {
    font-size: 10px;
    letter-spacing: 4px;
    text-indent: 4px;
  }

  .omnix-auth .card-heading h2 {
    font-size: 27px;
  }

  .omnix-auth .field {
    min-height: 52px;
  }

  .omnix-auth .field input {
    height: 50px;
    font-size: 15px;
  }

  .omnix-auth .field-icon {
    margin-left: 21px;
  }

  .omnix-auth .send-code {
    width: 106px;
    font-size: 12px;
  }

  .omnix-auth .field-code input {
    padding-right: 114px;
  }

  .omnix-auth .primary-action {
    width: min(calc(100% - 34px), 300px);
    height: 52px;
    font-size: 18px;
    letter-spacing: 2.5px;
    text-indent: 2.5px;
  }

  .omnix-auth .login-link {
    font-size: 14px;
  }

  .omnix-auth .security-note {
    font-size: 12px;
  }
}

@media (max-height: 1100px) {
  .omnix-auth .phone-screen {
    min-height: 720px;
  }

  .omnix-auth .splash-screen {
    min-height: 720px;
  }

  .omnix-auth .splash-core {
    width: 186px;
    height: 186px;
    margin-top: 128px;
  }

  .omnix-auth .splash-core img {
    width: 114px;
  }

  .omnix-auth .scan-ring-one {
    width: 98px;
    height: 98px;
  }

  .omnix-auth .scan-ring-two {
    width: 138px;
    height: 138px;
  }

  .omnix-auth .scan-ring-three {
    width: 180px;
    height: 180px;
  }

  .omnix-auth .splash-brand {
    margin-top: 12px;
  }

  .omnix-auth .splash-brand h1 {
    font-size: 38px;
  }

  .omnix-auth .splash-status {
    margin-bottom: 94px;
  }

  .omnix-auth .splash-enter {
    bottom: 34px;
  }

  .omnix-auth .brand {
    top: 86px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center top;
  }

  .omnix-auth .hero {
    margin-top: 238px;
  }

  .omnix-auth .hero-kicker {
    margin-bottom: 7px;
    font-size: 16px;
  }

  .omnix-auth .hero h1 {
    font-size: 34px;
  }

  .omnix-auth .hero-subtitle {
    margin-top: 8px;
    font-size: 15px;
  }

  .omnix-auth .auth-card {
    margin-top: 28px;
    padding: 18px 16px 16px;
    border-radius: 20px;
  }

  .omnix-auth.is-login .auth-card {
    margin-top: 44px;
  }

  .omnix-auth.is-forgot .auth-card {
    margin-top: 34px;
  }

  .omnix-auth.is-register .auth-card {
    margin-top: 20px;
  }

  .omnix-auth .card-heading {
    margin-bottom: 13px;
  }

  .omnix-auth .card-heading p {
    margin-bottom: 9px;
    font-size: 10px;
    letter-spacing: 4px;
    text-indent: 4px;
  }

  .omnix-auth .card-heading h2 {
    font-size: 26px;
  }

  .omnix-auth .auth-form {
    gap: 8px;
  }

  .omnix-auth .field {
    min-height: 47px;
    border-radius: 12px;
  }

  .omnix-auth .field input {
    height: 45px;
    font-size: 15px;
  }

  .omnix-auth .field-icon {
    width: 20px;
    height: 20px;
    margin-left: 20px;
  }

  .omnix-auth .icon-button {
    width: 40px;
    height: 40px;
    margin-right: 8px;
  }

  .omnix-auth .icon-button svg {
    width: 22px;
    height: 22px;
  }

  .omnix-auth .field-code input {
    padding-right: 112px;
  }

  .omnix-auth .send-code {
    top: 5px;
    right: 6px;
    width: 100px;
    height: 37px;
    font-size: 12px;
    border-radius: 10px;
  }

  .omnix-auth .form-message {
    min-height: 17px;
    font-size: 12px;
    line-height: 17px;
  }

  .omnix-auth .form-options {
    min-height: 21px;
    font-size: 13px;
  }

  .omnix-auth .primary-action {
    width: min(calc(100% - 52px), 306px);
    height: 48px;
    font-size: 18px;
    border-radius: 11px;
    letter-spacing: 2.5px;
    text-indent: 2.5px;
  }

  .omnix-auth .login-link {
    margin-top: 7px;
    font-size: 14px;
  }

  .omnix-auth .security-note {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.45;
  }
}

@media (max-width: 399px) and (max-height: 860px) {
  .omnix-auth .splash-core {
    margin-top: 118px;
  }

  .omnix-auth .splash-brand h1 {
    font-size: 34px;
  }

  .omnix-auth .splash-status {
    margin-bottom: 86px;
    padding: 16px 16px 14px;
  }

  .omnix-auth .brand {
    top: 82px;
    left: 50%;
    grid-template-columns: 66px auto;
    gap: 9px;
    transform: translateX(-50%);
  }

  .omnix-auth .brand-mark {
    width: 66px;
    height: 41px;
  }

  .omnix-auth .brand-name {
    font-size: 27px;
  }

  .omnix-auth .brand-subtitle {
    font-size: 8px;
    letter-spacing: 1px;
  }

  .omnix-auth .hero {
    margin-top: 220px;
  }

  .omnix-auth .hero h1 {
    font-size: 32px;
  }
}

@media (min-width: 700px) {
  .omnix-auth .page-shell {
    padding: 0 24px;
  }

  .omnix-auth .phone-screen, .omnix-auth .splash-screen {
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .omnix-auth, .omnix-auth *, .omnix-auth *::before, .omnix-auth *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}
