#theme-toggle {
	position: relative;
	z-index: 1;
	flex: none;
	width: 52px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	-webkit-appearance: none;
}

.theme-track {
	display: block;
	position: relative;
	width: 46px;
	height: 26px;
	margin: 0 auto;
	border: 1px solid #D3DCE6;
	border-radius: 13px;
	background: #E4EAF1;
}

.theme-knob {
	position: absolute;
	top: 2px;
	left: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #F0B429;
	box-shadow: 0 1px 2px rgba(34, 51, 68, 0.16);
	-webkit-transition: left 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
	transition: left 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-actions {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	gap: 12px;
	max-width: 420px;
	margin: 8px auto 0;
	padding: 0 16px;
}

.home-btn {
	flex: 1;
	display: block;
	min-height: 44px;
	padding: 12px 10px;
	border-radius: 22px;
	font-size: 16px;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.home-yes {
	background: #369;
	color: #FFF;
}

.home-no {
	background: #FFF;
	color: #369;
	border: 1px solid #369;
}

a.secret-link,
a.secret-link:link,
a.secret-link:visited {
	color: #FFF;
	text-decoration: none;
}

html.night body {
	--bg-color: #171a21;
	background-color: #171a21;
	color: #E6E8EE;
}

html.night .title1 {
	color: #8EB4DC;
}

html.night a {
	color: #8EB4DC;
}

html.night .white,
html.night .white a,
html.night [style*="color:#FFF"],
html.night [style*="color:#fff"],
html.night [style*="color: #FFF"],
html.night [style*="color: #fff"] {
	color: #171a21 !important;
}

html.night p[style*="position:fixed"] {
	background: #171a21 !important;
	border-top-color: #2A3140 !important;
}

html.night #jump-bar {
	background: #171a21;
	border-bottom-color: #2A3140;
}

html.night .jump-field {
	background: #222733;
	border-color: #3C4454;
	box-shadow: none;
}

html.night .jump-field:focus-within {
	border-color: #8EB4DC;
	box-shadow: 0 0 0 3px rgba(142, 180, 220, 0.2);
}

html.night #jump-input {
	color: #E6E8EE;
}

html.night #jump-input::-webkit-input-placeholder {
	color: #6D7582;
}

html.night .jump-ext {
	color: #8B93A3;
}

html.night #jump-tip {
	background: #222733;
	color: #F0A0A0;
}

html.night #theme-toggle {
	background: transparent;
	border: 0;
	box-shadow: none;
}

html.night .theme-track {
	background: #2A3142;
	border-color: #3D475C;
}

html.night .theme-knob {
	left: 24px;
	background: transparent;
	box-shadow: inset -8px -2px 0 0 #F4F7FB;
}

html.night .home-yes,
html.night .home-yes:link,
html.night .home-yes:visited {
	background: #369;
	color: #FFF !important;
}

html.night .home-no,
html.night .home-no:link,
html.night .home-no:visited {
	background: transparent;
	color: #8EB4DC !important;
	border-color: #8EB4DC;
}

html.night a.secret-link,
html.night a.secret-link:link,
html.night a.secret-link:visited {
	color: #171a21 !important;
	text-decoration: none;
}

a.secret-link::selection {
	background: #369;
	color: #FFF !important;
}

a.secret-link::-moz-selection {
	background: #369;
	color: #FFF !important;
}
