:root {
	--cw-text: #1f2937;
	--cw-bg: #f4f6fb;
	--cw-link: #334155;
	--cw-input-bg: rgba(255, 255, 255, 0.75);
	--cw-input-border: rgba(148, 163, 184, 0.45);
	--cw-button-bg: rgba(255, 255, 255, 0.88);
	--cw-button-fg: #1f2937;
	--cw-theme-switch-fg: #0f172a;
	--cw-theme-switch-bg: rgba(255, 255, 255, 0.92);
	--cw-theme-switch-selected-fg: #ffffff;
	--cw-theme-switch-selected-bg: #111827;
	--cw-theme-switch-selected-border: rgba(15, 23, 42, 0.85);
}

:root[data-theme="dark"] {
	--cw-text: #d6deeb;
	--cw-bg: #0f172a;
	--cw-link: #cbd5e1;
	--cw-input-bg: rgba(30, 41, 59, 0.72);
	--cw-input-border: rgba(148, 163, 184, 0.35);
	--cw-button-bg: rgba(30, 41, 59, 0.92);
	--cw-button-fg: #e5e7eb;
	--cw-theme-switch-fg: #0f172a;
	--cw-theme-switch-bg: rgba(255, 255, 255, 0.92);
	--cw-theme-switch-selected-fg: #ffffff;
	--cw-theme-switch-selected-bg: #111827;
	--cw-theme-switch-selected-border: rgba(15, 23, 42, 0.85);
}

html,
body {
	position: relative;
	width: 100%;
	height: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
    cursor: auto !important;
}

body {
	color: var(--cw-text);
	background-color: var(--cw-bg);
	z-index: 0;
	isolation: isolate;
	margin: 0;
	padding: 8px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
	transition: background-color 180ms ease, color 180ms ease;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 0;
	background: transparent;
	pointer-events: none;
	transition: background-color 180ms ease;
}

body > * {
	position: relative;
	z-index: 1;
}

:root[data-theme="dark"] body::before {
	background: rgba(2, 6, 23, 0.22);
}

a {
	color: var(--cw-link);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	/* color: rgb(0,80,160); */
}

label {
	display: block;
}

input,
button,
select,
textarea {
	/* font-family: inherit;
	font-size: inherit; */
	/* -webkit-padding: 0.4em 0; */
	/* padding: 0.4em; */
	/* margin: 0 0 0.5em 0; */
	box-sizing: border-box;
	border: 1px solid var(--cw-input-border);
	background-color: var(--cw-input-bg);
	color: var(--cw-text);
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

button {
	color: var(--cw-button-fg);
	background-color: var(--cw-button-bg);
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

.lds-roller {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
  }
  .lds-roller div {
	animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	transform-origin: 40px 40px;
  }
  .lds-roller div:after {
	content: " ";
	display: block;
	position: absolute;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	margin: -4px 0 0 -4px;
  }
  .lds-roller div:nth-child(1) {
	animation-delay: -0.036s;
  }
  .lds-roller div:nth-child(1):after {
	top: 63px;
	left: 63px;
  }
  .lds-roller div:nth-child(2) {
	animation-delay: -0.072s;
  }
  .lds-roller div:nth-child(2):after {
	top: 68px;
	left: 56px;
  }
  .lds-roller div:nth-child(3) {
	animation-delay: -0.108s;
  }
  .lds-roller div:nth-child(3):after {
	top: 71px;
	left: 48px;
  }
  .lds-roller div:nth-child(4) {
	animation-delay: -0.144s;
  }
  .lds-roller div:nth-child(4):after {
	top: 72px;
	left: 40px;
  }
  .lds-roller div:nth-child(5) {
	animation-delay: -0.18s;
  }
  .lds-roller div:nth-child(5):after {
	top: 71px;
	left: 32px;
  }
  .lds-roller div:nth-child(6) {
	animation-delay: -0.216s;
  }
  .lds-roller div:nth-child(6):after {
	top: 68px;
	left: 24px;
  }
  .lds-roller div:nth-child(7) {
	animation-delay: -0.252s;
  }
  .lds-roller div:nth-child(7):after {
	top: 63px;
	left: 17px;
  }
  .lds-roller div:nth-child(8) {
	animation-delay: -0.288s;
  }
  .lds-roller div:nth-child(8):after {
	top: 56px;
	left: 12px;
  }
  @keyframes lds-roller {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }