: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-capsule-tabs {
  position: relative;
  min-width: 0;
}

.ldkj-capsule-tabs-header {
  position: relative;
  padding: 24px 12px;
  border-bottom: solid 2px var(--ldkj-color-border);
}

.ldkj-capsule-tabs-tab-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  overflow-x: scroll;
  scrollbar-width: none;
}

.ldkj-capsule-tabs-tab-list::-webkit-scrollbar {
  display: none;
}

.ldkj-capsule-tabs-tab-wrapper {
  flex: auto;
  padding: 0 12px;
}

.ldkj-capsule-tabs-tab {
  position: relative;
  padding: 16px 40px;
  margin: 0 auto;
  border-radius: 40px;
  cursor: pointer;
  font-size: var(--ldkj-font-size-7);
  text-align: center;
  white-space: nowrap;
  background-color: var(--ldkj-color-fill-content);
}

.ldkj-capsule-tabs-tab-active {
  color: var(--ldkj-color-text-light-solid);
  background-color: var(--ldkj-color-primary);
}

.ldkj-capsule-tabs-tab-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ldkj-capsule-tabs-content {
  padding: 24px;
}