:root {
  --ldkj-radius-s: 8px;
  --ldkj-radius-m: 16px;
  --ldkj-radius-l: 24px;
  --ldkj-font-size-1: 18px;
  --ldkj-font-size-2: 20px;
  --ldkj-font-size-3: 22px;
  --ldkj-font-size-4: 24px;
  --ldkj-font-size-5: 26px;
  --ldkj-font-size-6: 28px;
  --ldkj-font-size-7: 30px;
  --ldkj-font-size-8: 32px;
  --ldkj-font-size-9: 34px;
  --ldkj-font-size-10: 36px;
  --ldkj-color-primary: #1677ff;
  --ldkj-color-success: #00b578;
  --ldkj-color-warning: #ff8f1f;
  --ldkj-color-danger: #ff3141;
  --ldkj-color-yellow: #ff9f18;
  --ldkj-color-orange: #ff6430;
  --ldkj-color-wathet: #e7f1ff;
  --ldkj-color-text: #333333;
  --ldkj-color-text-secondary: #666666;
  --ldkj-color-weak: #999999;
  --ldkj-color-light: #cccccc;
  --ldkj-color-border: #eeeeee;
  --ldkj-color-background: #ffffff;
  --ldkj-color-highlight: var(--ldkj-color-danger);
  --ldkj-color-white: #ffffff;
  --ldkj-color-box: #f5f5f5;
  --ldkj-color-text-light-solid: var(--ldkj-color-white);
  --ldkj-color-text-dark-solid: #000000;
  --ldkj-color-fill-content: var(--ldkj-color-box);
  --ldkj-font-size-main: var(--ldkj-font-size-5);
  --ldkj-font-family: -apple-system, blinkmacsystemfont, 'Helvetica Neue', helvetica, segoe ui, arial, roboto, 'PingFang SC', 'miui', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
  --ldkj-border-color: var(--ldkj-color-border);
}

:root {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  background-color: var(--ldkj-color-background-body);
}

body {
  color: var(--ldkj-color-text);
  font-size: var(--ldkj-font-size-main);
  font-family: var(--ldkj-font-family);
}

a,
button {
  cursor: pointer;
}

a {
  color: var(--ldkj-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 * 4px);
  width: 0;
  position: fixed;
  left: -100vw;
  top: -100vh;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}

.ldkj-button {
  --color: var(--ldkj-color-text-light-solid);
  --text-color: var(--ldkj-button-text-color, var(--ldkj-color-text));
  --background-color: var(--ldkj-button-background-color, var(--ldkj-color-background));
  --border-radius: var(--ldkj-button-border-radius, 8px);
  --border-width: var(--ldkj-button-border-width, 2px);
  --border-style: var(--ldkj-button-border-style, solid);
  --border-color: var(--ldkj-button-border-color, var(--ldkj-color-border));
  color: var(--text-color);
  background-color: var(--background-color);
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  height: auto;
  padding: 14px 24px;
  margin: 0;
  font-size: var(--ldkj-font-size-9);
  line-height: 1.4;
  text-align: center;
  border: var(--border-width) var(--border-style) var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: opacity ease 0.15s;
  -webkit-user-select: none;
  user-select: none;
}

.ldkj-button:focus {
  outline: none;
}

.ldkj-button::before {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(calc(var(--border-width) * -1), calc(var(--border-width) * -1));
  width: 100%;
  height: 100%;
  background-color: var(--ldkj-color-text-dark-solid);
  border: var(--border-width) var(--border-style) var(--ldkj-color-text-dark-solid);
  border-radius: var(--border-radius);
  opacity: 0;
  content: ' ';
  box-sizing: content-box;
}

.ldkj-button:active::before {
  opacity: 0.08;
}

.ldkj-button-default.ldkj-button-fill-outline {
  --background-color: transparent;
  --border-color: var(--ldkj-color-text);
}

.ldkj-button-default.ldkj-button-fill-none {
  --background-color: transparent;
  --border-width: 0;
}

.ldkj-button:not(.ldkj-button-default) {
  --text-color: var(--ldkj-color-text-light-solid);
  --background-color: var(--color);
  --border-color: var(--color);
}

.ldkj-button:not(.ldkj-button-default).ldkj-button-fill-outline {
  --text-color: var(--color);
  --background-color: transparent;
}

.ldkj-button:not(.ldkj-button-default).ldkj-button-fill-none {
  --text-color: var(--color);
  --background-color: transparent;
  --border-width: 0;
}

.ldkj-button-primary {
  --color: var(--ldkj-color-primary);
}

.ldkj-button-success {
  --color: var(--ldkj-color-success);
}

.ldkj-button-danger {
  --color: var(--ldkj-color-danger);
}

.ldkj-button-warning {
  --color: var(--ldkj-color-warning);
}

.ldkj-button-block {
  display: block;
  width: 100%;
}

.ldkj-button-disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

.ldkj-button-disabled:active::before {
  display: none;
}

.ldkj-button.ldkj-button-mini {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: var(--ldkj-font-size-main);
}

.ldkj-button.ldkj-button-mini.ldkj-button-shape-rounded {
  padding-left: 18px;
  padding-right: 18px;
}

.ldkj-button.ldkj-button-small {
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: var(--ldkj-font-size-7);
}

.ldkj-button.ldkj-button-large {
  padding-top: 22px;
  padding-bottom: 22px;
  font-size: var(--ldkj-font-size-10);
}

.ldkj-button.ldkj-button-shape-rounded {
  --border-radius: 2000px;
}

.ldkj-button.ldkj-button-shape-rectangular {
  --border-radius: 0;
}

.ldkj-button-loading {
  vertical-align: bottom;
}

.ldkj-button-loading-wrapper {
  display: flex;
  height: 1.4em;
  align-items: center;
  justify-content: center;
}

.ldkj-button-loading-wrapper > .adm-loading {
  opacity: 0.6;
}