:root {
  --adm-radius-s: 4px;
  --adm-radius-m: 8px;
  --adm-radius-l: 12px;
  --adm-font-size-1: 9px;
  --adm-font-size-2: 10px;
  --adm-font-size-3: 11px;
  --adm-font-size-4: 12px;
  --adm-font-size-5: 13px;
  --adm-font-size-6: 14px;
  --adm-font-size-7: 15px;
  --adm-font-size-8: 16px;
  --adm-font-size-9: 17px;
  --adm-font-size-10: 18px;
  --adm-color-primary: #1677ff;
  --adm-color-success: #00b578;
  --adm-color-warning: #ff8f1f;
  --adm-color-danger: #ff3141;
  --adm-color-yellow: #ff9f18;
  --adm-color-orange: #ff6430;
  --adm-color-wathet: #e7f1ff;
  --adm-color-text: #333333;
  --adm-color-text-secondary: #666666;
  --adm-color-weak: #999999;
  --adm-color-light: #cccccc;
  --adm-color-border: #eeeeee;
  --adm-color-background: #ffffff;
  --adm-color-highlight: var(--adm-color-danger);
  --adm-color-white: #ffffff;
  --adm-color-box: #f5f5f5;
  --adm-color-text-light-solid: var(--adm-color-white);
  --adm-color-text-dark-solid: #000000;
  --adm-color-fill-content: var(--adm-color-box);
  --adm-font-size-main: var(--adm-font-size-5);
  --adm-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue',
    helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui',
    'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  --adm-border-color: var(--adm-color-border);
}
html[data-prefers-color-scheme='dark'] {
  --adm-color-primary: #3086ff;
  --adm-color-success: #34b368;
  --adm-color-warning: #ffa930;
  --adm-color-danger: #ff4a58;
  --adm-color-yellow: #ffa930;
  --adm-color-orange: #e65a2b;
  --adm-color-wathet: #0d2543;
  --adm-color-text: #e6e6e6;
  --adm-color-text-secondary: #b3b3b3;
  --adm-color-weak: #808080;
  --adm-color-light: #4d4d4d;
  --adm-color-border: #2b2b2b;
  --adm-color-box: #0a0a0a;
  --adm-color-background: #1a1a1a;
  --adm-color-background-body: var(--adm-color-background);
  --adm-border-color: var(--adm-color-border);
}
:root {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
  background-color: var(--adm-color-background-body);
}
body {
  color: var(--adm-color-text);
  font-size: var(--adm-font-size-main);
  font-family: var(--adm-font-family);
}
a,
button {
  cursor: pointer;
}
a {
  color: var(--adm-color-primary);
  transition: opacity ease-in-out 0.2s;
}
a:active {
  opacity: 0.8;
}
.adm-plain-anchor {
  color: unset;
  transition: none;
}
.adm-plain-anchor:active {
  opacity: unset;
}
body.adm-overflow-hidden {
  overflow: hidden !important;
}
div.adm-px-tester {
  --size: 1;
  height: calc(var(--size) / 2 * 2px);
  width: 0;
  position: fixed;
  left: -100vw;
  top: -100vh;
  -webkit-user-select: none;
          user-select: none;
  pointer-events: none;
}

.adm-auto-center {
  display: flex;
  justify-content: center;
}
.adm-auto-center-content {
  flex: 0 1 auto;
}

.adm-number-keyboard-main {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
}
.adm-number-keyboard-main.adm-number-keyboard-main-confirmed-style .adm-number-keyboard-key-sign {
  background-color: var(--adm-color-background);
}
.adm-number-keyboard-popup.adm-popup {
  width: 100%;
  -webkit-user-select: none;
          user-select: none;
  z-index: 1050;
}
.adm-number-keyboard-popup.adm-popup .adm-popup-body {
  background-color: var(--adm-color-box);
}
.adm-number-keyboard-wrapper {
  display: flex;
}
.adm-number-keyboard-header {
  height: 34px;
  line-height: 34px;
  border-top: solid 1px var(--adm-color-border);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  color: var(--adm-color-weak);
  background-color: var(--adm-color-background);
}
.adm-number-keyboard-header-close-button {
  padding: 0 12px;
  font-size: 16px;
}
.adm-number-keyboard-header.adm-number-keyboard-header-with-title {
  justify-content: space-between;
}
.adm-number-keyboard-header.adm-number-keyboard-header-with-title .adm-number-keyboard-header-close-button {
  padding-right: 0;
}
.adm-number-keyboard-footer {
  background: var(--adm-color-white);
}
.adm-number-keyboard-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.adm-number-keyboard-confirm {
  width: 25%;
}
.adm-number-keyboard-key {
  flex: 1 33.33%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 22px;
  box-sizing: border-box;
  border: solid 1px var(--adm-color-border);
  border-bottom: none;
  border-left: none;
}
.adm-number-keyboard-key:nth-child(3n),
.adm-number-keyboard-key:last-child {
  border-right: none;
}
.adm-number-keyboard-key::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background-color: var(--adm-color-text-dark-solid);
  border: inherit;
  border-color: var(--adm-color-text-dark-solid);
  border-radius: inherit;
  transform: translate(-50%, -50%);
  opacity: 0;
  content: ' ';
  box-sizing: content-box;
}
.adm-number-keyboard-key.adm-number-keyboard-key-mid {
  flex-basis: 66.67%;
}
.adm-number-keyboard-key.adm-number-keyboard-key-sign:active::before {
  opacity: 0.1;
}
.adm-number-keyboard-key.adm-number-keyboard-key-extra {
  border-left: solid 1px var(--adm-color-border);
  border-right: none;
}
.adm-number-keyboard-key.adm-number-keyboard-key-extra,
.adm-number-keyboard-key.adm-number-keyboard-key-number {
  background-color: var(--adm-color-background);
}
.adm-number-keyboard-key.adm-number-keyboard-key-extra:active::before,
.adm-number-keyboard-key.adm-number-keyboard-key-number:active::before {
  opacity: 0.1;
}
.adm-number-keyboard-key.adm-number-keyboard-key-ok {
  background-color: var(--adm-color-primary);
  color: var(--adm-color-white);
  height: 144px;
  font-size: 16px;
  border: none;
}

.adm-popup {
  --z-index: var(--adm-popup-z-index, 1000);
  position: fixed;
  z-index: var(--z-index);
}
.adm-popup-body {
  position: fixed;
  background-color: var(--adm-color-background);
  z-index: calc(var(--z-index) + 10);
}
.adm-popup-body .adm-popup-close-icon {
  position: absolute;
  z-index: 100;
}
.adm-popup-body-position-bottom {
  width: 100%;
  bottom: 0;
  left: 0;
}
.adm-popup-body-position-bottom .adm-popup-close-icon {
  right: 8px;
  top: 8px;
}
.adm-popup-body-position-top {
  width: 100%;
  top: 0;
  left: 0;
}
.adm-popup-body-position-top .adm-popup-close-icon {
  right: 8px;
  bottom: 8px;
}
.adm-popup-body-position-left {
  height: 100%;
  top: 0;
  left: 0;
}
.adm-popup-body-position-left .adm-popup-close-icon {
  right: 8px;
  top: 8px;
}
.adm-popup-body-position-right {
  height: 100%;
  top: 0;
  right: 0;
}
.adm-popup-body-position-right .adm-popup-close-icon {
  left: 8px;
  top: 8px;
}
.adm-popup-close-icon {
  cursor: pointer;
  padding: 4px;
  font-size: 18px;
  line-height: 1;
  color: var(--adm-color-weak);
}

.adm-mask {
  --z-index: var(--adm-mask-z-index, 1000);
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-index);
  display: block;
  width: 100%;
  height: 100%;
}
.adm-mask-aria-button {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.adm-mask-content {
  z-index: 1;
}

.adm-safe-area {
  --multiple: var(--adm-safe-area-multiple, 1);
  display: block;
  width: 100%;
}
.adm-safe-area-position-top {
  padding-top: calc(env(safe-area-inset-top) * var(--multiple));
}
.adm-safe-area-position-bottom {
  padding-bottom: calc(env(safe-area-inset-bottom) * var(--multiple));
}

.adm-passcode-input {
  position: relative;
  display: inline-block;
  --cell-size: 40px;
  --cell-gap: 6px;
  --dot-size: 10px;
  --border-color: var(--adm-color-border);
  --border-radius: 8px;
}
.adm-passcode-input-cell-container {
  display: inline-flex;
  vertical-align: top;
}
.adm-passcode-input-cell {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  font-size: var(--adm-font-size-10);
  width: var(--cell-size);
  height: var(--cell-size);
  background: var(--adm-color-background);
}
.adm-passcode-input:not(.adm-passcode-input-seperated) {
  border-radius: var(--border-radius);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.adm-passcode-input:not(.adm-passcode-input-seperated) .adm-passcode-input-cell:not(:last-child) {
  border-right: 1px solid var(--border-color);
}
.adm-passcode-input:not(.adm-passcode-input-seperated).adm-passcode-input-focused {
  border-color: var(--adm-color-primary);
  box-shadow: 0 0 2px 0 var(--adm-color-primary);
  outline: none;
}
.adm-passcode-input:not(.adm-passcode-input-seperated).adm-passcode-input-error {
  border-color: var(--adm-color-danger);
  box-shadow: 0 0 2px 0 var(--adm-color-danger);
  animation: 100ms ease-in-out 0s 3 normal none running adm-shake-horizontal;
}
.adm-passcode-input.adm-passcode-input-seperated .adm-passcode-input-cell {
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
}
.adm-passcode-input.adm-passcode-input-seperated .adm-passcode-input-cell:not(:last-child) {
  margin-right: var(--cell-gap);
}
.adm-passcode-input.adm-passcode-input-seperated .adm-passcode-input-cell-focused {
  border-color: var(--adm-color-primary);
  box-shadow: 0 0 2px 0 var(--adm-color-primary);
}
.adm-passcode-input-seperated.adm-passcode-input-focused {
  outline: none;
}
.adm-passcode-input.adm-passcode-input-seperated.adm-passcode-input-error {
  animation: 100ms ease-in-out 0s 3 normal none running adm-shake-horizontal;
}
.adm-passcode-input.adm-passcode-input-seperated.adm-passcode-input-error .adm-passcode-input-cell {
  border-color: var(--adm-color-danger);
  box-shadow: 0 0 2px 0 var(--adm-color-danger);
}
.adm-passcode-input-cell-dot::before {
  content: '';
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 100%;
  background: var(--adm-color-text);
}
.adm-passcode-input-cell-caret::after {
  content: '';
  width: 2px;
  height: 1.1em;
  margin-left: 1px;
  background: var(--adm-color-primary);
  animation: 1s linear infinite adm-caret-blink;
}
.adm-passcode-input > .adm-passcode-input-native-input {
  position: absolute;
  left: -200vw;
  top: 0;
  display: block;
  width: 50px;
  height: 20px;
  opacity: 0.5;
}
@keyframes adm-shake-horizontal {
  0% {
    transform: translateX(0);
  }
  10% {
    transform: translateX(-4px);
  }
  20% {
    transform: translateX(5px);
  }
  30% {
    transform: translateX(-1px);
  }
  40% {
    transform: translateX(8px);
  }
  50% {
    transform: translateX(0);
  }
  60% {
    transform: translateX(-8px);
  }
  70% {
    transform: translateX(1px);
  }
  80% {
    transform: translateX(-5px);
  }
  90% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes adm-caret-blink {
  from {
    opacity: 1;
  }
  60% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  to {
    opacity: 0;
  }
}

.adm-spin-loading {
  --color: var(--adm-color-weak);
  --size: 32px;
  width: var(--size);
  height: var(--size);
}
.adm-spin-loading-svg {
  width: 100%;
  height: 100%;
  animation: adm-spin-loading-rotate 0.8s infinite linear;
}
.adm-spin-loading-svg > .adm-spin-loading-fill {
  stroke: var(--color);
}
@keyframes adm-spin-loading-rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loader-container {
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 9999;
    /* position:fixed; */
    position: absolute;
    left: 0;
    top: 0;
}
